AliPhysics  9fe175b (9fe175b)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnaCaloTrackCorrMaker.h
Go to the documentation of this file.
1 #ifndef ALIANACALOTRACKCORRMAKER_H
2 #define ALIANACALOTRACKCORRMAKER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 //_____________________________________________________________________________
22 //_____________________________________________________________________________
23 
24 // --- ROOT system ---
25 class TList;
26 class TClonesArray;
27 #include<TObject.h>
28 class TH1F;
29 
30 // --- Analysis system ---
31 #include "AliCaloTrackReader.h"
32 #include "AliCalorimeterUtils.h"
33 
34 class AliAnaCaloTrackCorrMaker : public TObject {
35 
36  public:
37 
38  AliAnaCaloTrackCorrMaker() ; // default ctor
39 
40  virtual ~AliAnaCaloTrackCorrMaker() ; // virtual dtor
41 
42  AliAnaCaloTrackCorrMaker(const AliAnaCaloTrackCorrMaker & maker) ; // cpy ctor
43 
44  // Setters and Getters
45 
46  void AddAnalysis(TObject* ana, Int_t n) ;
47 
48  void FillControlHistograms();
49 
51 
53 
54  TList * GetListOfAnalysisCuts();
55 
56  TList * GetOutputContainer() ;
57 
58  TList * FillAndGetAODBranchList();
59 
60  Int_t GetAnaDebug() const { return fAnaDebug ; }
61  void SetAnaDebug(Int_t d) { fAnaDebug = d ; }
62 
63  Bool_t AreHistogramsMade() const { return fMakeHisto ; }
64  void SwitchOnHistogramsMaker() { fMakeHisto = kTRUE ; }
65  void SwitchOffHistogramsMaker() { fMakeHisto = kFALSE ; }
66 
67  Bool_t AreAODsMade() const { return fMakeAOD ; }
68  void SwitchOnAODsMaker() { fMakeAOD = kTRUE ; }
69  void SwitchOffAODsMaker() { fMakeAOD = kFALSE ; }
70 
73 
74  void SwitchOnSumw2Histograms() { fSumw2 = kTRUE ; }
75  void SwitchOffSumw2Histograms() { fSumw2 = kFALSE ; }
76 
78  void SwitchOffPtHardHistogram() { fCheckPtHard = kFALSE ; }
79 
80  void SetScaleFactor(Double_t scale) { fScaleFactor = scale ; }
81 
83  void SetReader(AliCaloTrackReader * re) { fReader = re ; }
84 
85 
87  return fReader ; }
88 
90  return fCaloUtils ; }
91 
92 
93  // Main general methods
94 
95  void Init();
96 
97  void InitParameters();
98 
99  void Print(const Option_t * opt) const;
100 
101  void ProcessEvent(Int_t iEntry, const char * currentFileName) ;
102 
103  void Terminate(TList * outputList);
104 
105  private:
106 
107  // General Data members
108 
110 
112 
113  TList * fOutputContainer ;
114 
116 
117  Bool_t fMakeHisto ;
118 
119  Bool_t fMakeAOD ;
120 
121  Int_t fAnaDebug;
122 
123  TList * fCuts ;
124 
125  Double_t fScaleFactor ;
126 
128 
129  Bool_t fSumw2 ;
130 
131  Bool_t fCheckPtHard ;
132 
133  // Control histograms
134 
135  TH1F * fhNEventsIn;
136  TH1F * fhNEvents;
141 
142  TH1F * fhXVertex;
143  TH1F * fhYVertex;
144  TH1F * fhZVertex;
148 
149  TH1F * fhPtHard;
151 
154 
155  TH1F * fhTrackMult;
156  TH1F * fhCentrality;
158 
163 
164  TH1F * fhNMergedFiles;
165  TH1F * fhScaleFactor;
166 
167  TH1F * fhEMCalBCEvent;
169  TH1F * fhTrackBCEvent;
175 
182 
189 
192 
193 
198 
201 
203  ClassDef(AliAnaCaloTrackCorrMaker,26) ;
205 
206 } ;
207 
208 #endif //ALIANACALOTRACKCORRMAKER_H
209 
210 
211 
TH2F * fhClusterTriggerBCExoticEventBCUnMatch
! Correlate the found BC in the exotic trigger and the event BC, when there was no match with the tri...
TH1F * fhTimeStampFraction
! event fraction depending on Time Stamp, only if activated on reader.
TH1F * fhNEvents
! Number of acepted events counter histogram.
TH2F * fhClusterTriggerBCEventBC
! Correlate the found BC in the trigger and the event BC.
TH1F * fhEMCalBCEventCut
! N events depending on the existence of a cluster above acceptance and E cut in a given bunch crossi...
void ana(Int_t mode=mGRID)
Definition: ana.C:86
TH1F * fhClusterTriggerBCUnMatchReMatch[3]
! Number of events triggered, depending on BC of the cluster, not matched, open cuts and rematch...
TH2F * fhClusterTriggerBCExoticEventBC
! Correlate the found BC in the exotic trigger and the event BC.
TList * fCuts
! List with analysis cuts.
TH1F * fhClusterTriggerBCBadClusterUnMatch
! Number of events triggered, depending on BC of the cluster.
TH1F * fhPtHardWeighted
! pt of parton, only for MC generation (pythia jet-jet/gamma-jet), weighted by cross section ...
TH1F * fhZVertexExotic
! Z Vertex distribution of exotic event.
TH1F * fhNPileUpVertTracks
! Number of pile-up vertices from tracks.
TH1F * fhClusterTriggerBCBadCell
! Number of events triggered, depending on BC of the cluster.
TH1F * fhNEventsIn
! Number of input events counter histogram.
void InitParameters()
Init data members.
TH1F * fhClusterTriggerBCBadCluster
! Number of events triggered, depending on BC of the cluster.
AliCalorimeterUtils * fCaloUtils
Pointer to AliCalorimeterUtils.
TH1F * fhScaleFactor
! Factor to scale histograms.
TH1F * fhTrackBCEventCut
! N events depending on the existence of a track above acceptance and pt cut in a given bunch crossin...
void AddAnalysis(TObject *ana, Int_t n)
Add analysis depending on AliAnaCaloTrackCorrBaseClass to list.
TH1F * fhClusterTriggerBCBadCellExoticUnMatch
! Number of events triggered, depending on BC of the cluster.
TH1F * fhNEventsWeighted
! Number of acepted events counter histogram. After centrality weight.
TH1F * fhEMCalBCEvent
! N events depending on the existence of a cluster in a given bunch crossing.
Double_t fScaleFactor
Scaling factor needed for normalization.
TH1F * fhXVertexExotic
! X Vertex distribution of exotic event.
TH2F * fhClusterTriggerBCEventBCUnMatch
! Correlate the found BC in the trigger and the event BC, when there was no match with the trigger BC...
void FillTriggerControlHistograms()
Fill here EMCal triggered events control histograms.
TH1F * fhTrackBCEvent
! N events depending on the existence of a track in a given bunch crossing.
TH1F * fhNPileUpEventsTriggerBC0
! N events pasing pile up cut.
TH1F * fhNMergedFiles
! Number of files merged.
TH1F * fhXVertex
! X Vertex distribution of accepted event.
TH1F * fhClusterTriggerBC
! Number of events triggered, depending on BC of the cluster.
TH1F * fhClusterTriggerBCBadClusterExoticUnMatch
! Number of events triggered, depending on BC of the cluster.
void SetScaleFactor(Double_t scale)
AliAnaCaloTrackCorrMaker & operator=(const AliAnaCaloTrackCorrMaker &)
Assignment operator not implemented.
TH1F * fhTrackMultWeighted
! Number of tracks per event histogram. After centrality weight.
Bool_t fMakeHisto
If true makes final analysis with histograms as output.
Bool_t fSumw2
Call the histograms method Sumw2() after initialization, off by default, too large memory booking...
TH1F * fhNExoticEvents
! Number of events triggered by exotic, counter histogram.
TH1F * fhClusterTriggerBCExoticUnMatch
! Number of events triggered, depending on BC of the cluster.
Base class for event, clusters and tracks filtering and preparation for the analysis.
Bool_t fFillDataControlHisto
Fill histograms only interesting with data.
TH1F * fhYVertex
! Y Vertex distribution of accepted event.
TH1F * fhPileUpClusterMult
! N clusters with high time.
TH1F * fhTrackMult
! Number of tracks per event histogram.
void ProcessEvent(Int_t iEntry, const char *currentFileName)
TH1F * fhClusterTriggerBCBadCellExotic
! Number of events triggered, depending on BC of the cluster.
TH1F * fhNPileUpEvents
! N events pasing pile up cut.
Bool_t fCheckPtHard
For MC done in pT-Hard bins, plot specific histogram.
void SetReader(AliCaloTrackReader *re)
TH1F * fhClusterTriggerBCBadCellUnMatch
! Number of events triggered, depending on BC of the cluster.
TH1F * fhNEventsNoTriggerFound
! Number of events where whatever was done, no trigger is found.
virtual ~AliAnaCaloTrackCorrMaker()
Destructor. Remove only owned pointers.
TH1F * fhEventPlaneAngle
! Histogram with Event plane angle.
TH1F * fhClusterTriggerBCExotic
! Number of events triggered, depending on BC of the cluster.
TH1F * fhCentrality
! Histogram with centrality bins.
TH1F * fhZVertex
! Z Vertex distribution of accepted event.
TH1F * fhClusterTriggerBCExoticUnMatchReMatch[3]
! Number of events triggered by exotic, depending on BC of the clusterm not matched, open cuts and rematch.
TH1F * fhClusterTriggerBCBadClusterExotic
! Number of events triggered, depending on BC of the cluster.
void FillControlHistograms()
Fill here event control histograms.
void Print(const Option_t *opt) const
Print some relevant parameters set for the analysis.
TH1F * fhYVertexExotic
! Y Vertex distribution of exotic event.
TH1F * fhPtHard
! pt of parton, only for MC generation (pythia jet-jet/gamma-jet)
Class with utils specific to calorimeter clusters/cells.
AliCaloTrackReader * GetReader()
AliCalorimeterUtils * GetCaloUtils()
TH1F * fhCentralityWeighted
! Histogram with centrality bins. After centrality weight.
Bool_t fMakeAOD
If true makes analysis generating AODs.
TH1F * fhPrimaryVertexBC
! Primary vertex BC.
TList * fOutputContainer
! Output histograms container.
TH1F * fhPileUpClusterMultAndSPDPileUp
! N clusters with high time in events tagged as pile-up by SPD.
AliCaloTrackReader * fReader
Pointer to AliCaloTrackReader.
TList * fAnalysisContainer
List with analysis pointers.
TH1F * fhNPileUpVertSPD
! Number of pile-up vertices from SPD.
TH1F * fhClusterTriggerBCUnMatch
! Number of events triggered, depending on BC of the cluster.
void SetCaloUtils(AliCalorimeterUtils *cu)
TH1F * fhEventPlaneAngleWeighted
! Histogram with Event plane angle. After centrality weight.
Steering class of package CaloTrackCorrelartions.