AliPhysics  04715ba (04715ba)
 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 //_____________________________________________________________________________
23 //_____________________________________________________________________________
24 
25 // --- ROOT system ---
26 class TList;
27 class TClonesArray;
28 #include<TObject.h>
29 class TH1F;
30 
31 // --- Analysis system ---
32 #include "AliCaloTrackReader.h"
33 #include "AliCalorimeterUtils.h"
34 
36 
37  public:
38 
39  AliAnaCaloTrackCorrMaker() ; // default ctor
40 
41  virtual ~AliAnaCaloTrackCorrMaker() ; // virtual dtor
42 
43  AliAnaCaloTrackCorrMaker(const AliAnaCaloTrackCorrMaker & maker) ; // cpy ctor
44 
45  // Setters and Getters
46 
47  void AddAnalysis(TObject* ana, Int_t n) ;
48 
49  void FillControlHistograms();
50 
52 
54 
56 
58 
60 
61  Int_t GetAnaDebug() const { return fAnaDebug ; }
62  void SetAnaDebug(Int_t d) { fAnaDebug = d ; }
63 
64  Bool_t IsEventProcessed() const { return fProcessEvent ; }
65  void SwitchOnProcessEvent() { fProcessEvent = kTRUE ; }
66  void SwitchOffProcessEvent() { fProcessEvent = kFALSE; }
67 
68  Bool_t AreHistogramsMade() const { return fMakeHisto ; }
69  void SwitchOnHistogramsMaker() { fMakeHisto = kTRUE ; }
70  void SwitchOffHistogramsMaker() { fMakeHisto = kFALSE ; }
71 
72  Bool_t AreAODsMade() const { return fMakeAOD ; }
73  void SwitchOnAODsMaker() { fMakeAOD = kTRUE ; }
74  void SwitchOffAODsMaker() { fMakeAOD = kFALSE ; }
75 
78 
79  void SwitchOnSumw2Histograms() { fSumw2 = kTRUE ; }
80  void SwitchOffSumw2Histograms() { fSumw2 = kFALSE ; }
81 
83  void SwitchOffPtHardHistogram() { fCheckPtHard = kFALSE ; }
84 
85  void SetScaleFactor(Double_t scale) { fScaleFactor = scale ; }
86 
88  void SetReader(AliCaloTrackReader * re) { fReader = re ; }
89 
91  return fReader ; }
92 
94  return fCaloUtils ; }
95 
96 
97  // Main general methods
98 
99  void Init();
100 
101  void InitParameters();
102 
103  void Print(const Option_t * opt) const;
104 
105  void ProcessEvent(Int_t iEntry, const char * currentFileName) ;
106 
107  void Terminate(TList * outputList);
108 
109  private:
110 
111  // General Data members
112 
114 
116 
118 
120 
122 
124 
126 
128 
130 
132 
134 
136 
138 
139  // Control histograms
140 
141  TH1F * fhNEventsIn;
142  TH1F * fhNEvents;
147 
148  TH1F * fhXVertex;
149  TH1F * fhYVertex;
150  TH1F * fhZVertex;
154 
155  TH1F * fhPtHard;
157 
160 
161  TH1F * fhTrackMult;
162  TH1F * fhCentrality;
164 
169 
170  TH1F * fhNMergedFiles;
171  TH1F * fhScaleFactor;
172 
173  TH1F * fhEMCalBCEvent;
175  TH1F * fhTrackBCEvent;
181 
188 
195 
198 
199 
204 
207 
209  ClassDef(AliAnaCaloTrackCorrMaker,27) ;
211 
212 } ;
213 
214 #endif //ALIANACALOTRACKCORRMAKER_H
215 
216 
217 
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:162
TH1F * fhClusterTriggerBCUnMatchReMatch[3]
! Number of events triggered, depending on BC of the cluster, not matched, open cuts and rematch...
double Double_t
Definition: External.C:58
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.
Definition: External.C:236
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...
Int_t fFillDataControlHisto
Fill histograms only interesting with data. 0 not filled; 1 basic control; 2+ trigger related...
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)
int Int_t
Definition: External.C:63
AliAnaCaloTrackCorrMaker & operator=(const AliAnaCaloTrackCorrMaker &)
Assignment operator not implemented.
void SwitchOnDataControlHistograms(Int_t lev=1)
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.
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.
const char Option_t
Definition: External.C:48
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.
bool Bool_t
Definition: External.C:53
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.
Bool_t fProcessEvent
In case of automatic wagon configuration, do not process analysis, but init stuff expected by manager...
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.