1 #ifndef ALIANALYSISET_H
2 #define ALIANALYSISET_H
5 #include "TDatabasePDG.h"
18 virtual ~AliAnalysisEt();
21 //Declare it private to avoid compilation warning
22 AliAnalysisEt & operator = (const AliAnalysisEt & g) ;//cpy assignment
23 AliAnalysisEt(const AliAnalysisEt & g) ; // cpy ctor
27 /** Analyse the event! */
28 virtual Int_t AnalyseEvent(AliVEvent *event);
30 /** Fill the objects you want to output, classes which add new histograms should overload this. */
31 virtual void FillOutputList(TList* list);
33 /** Initialise the analysis, must be overloaded. */
37 * Creates the histograms, must be overloaded if you want to add your own.
38 * Uses the fHistogramNameSuffix to create proper histogram names
40 virtual void CreateHistograms();
42 /** Fills the histograms, must be overloaded if you want to add your own */
43 virtual void FillHistograms();
45 /** Reset event specific values (Et etc.) */
46 virtual void ResetEventValues();
48 /** Set Particle codes/mass */
49 virtual void SetParticleCodes();
51 /** Sum of the total Et for all events */
52 Double_t GetSumEt() { return fSumEt; }
54 /** Sum of the total Et within our acceptance for all events */
55 Double_t GetSumEtAcc() { return fSumEtAcc; }
57 /** Total Et in the event (without acceptance cuts) */
58 Double_t GetTotEt() { return fTotEt; }
60 /** Total Et in the event within the acceptance cuts */
61 Double_t GetTotEtAcc() { return fTotEtAcc; }
63 /** Total neutral Et in the event (without acceptance cuts) */
64 Double_t GetTotNeutralEt() { return fTotNeutralEt; }
66 /** Total neutral Et in the event within the acceptance cuts */
67 Double_t GetTotNeutralEtAcc() { return fTotNeutralEtAcc; }
69 /** Total charged Et in the event (without acceptance cuts) */
70 Double_t GetTotChargedEt() { return fTotChargedEt; }
72 /** Total charged Et in the event within the acceptance cuts */
73 Double_t GetTotChargedEtAcc() { return fTotChargedEtAcc; }
78 /** The suffix for the histogram names */
79 TString fHistogramNameSuffix;
89 Int_t fAntiProtonCode;
91 Int_t fAntiLambdaCode;
100 Int_t fAntiSigmaCode;
103 Int_t fAntiNeutronCode;
108 /** Sum of the total Et for all events */
111 /** Sum of the total Et within our acceptance for all events */
114 /** Total Et in the event (without acceptance cuts) */
117 /** Total Et in the event within the acceptance cuts */
120 /** Total neutral Et in the event */
121 Double_t fTotNeutralEt;
123 /** Total neutral Et in the event within the acceptance cuts */
124 Double_t fTotNeutralEtAcc;
126 /** Total charged Et in the event */
127 Double_t fTotChargedEt;
129 /** Total charged Et in the event within the acceptance cuts */
130 Double_t fTotChargedEtAcc;
132 /** Multiplicity of particles in the event */
135 /** Multiplicity of charged particles in the event */
136 Int_t fChargedMultiplicity;
138 /** Multiplicity of neutral particles in the event */
139 Int_t fNeutralMultiplicity;
141 /** Cut in eta ( normally |eta| < 0.5 */
144 /** Eta cut for our acceptance */
147 /** Min phi cut for our acceptance in radians */
148 Double_t fPhiCutAccMin;
150 /** Max phi cut for our acceptance in radians */
151 Double_t fPhiCutAccMax;
153 /** Detector radius */
154 Double_t fDetectorRadius;
157 Double_t fVertexXCut;
158 Double_t fVertexYCut;
159 Double_t fVertexZCut;
161 /** Impact parameter cuts */
165 /** Cut on the cluster energy */
166 Double_t fClusterEnergyCut;
168 /** Cut on track pt */
169 Double_t fTrackPtCut;
171 /** Minimum energy to cut on single cell cluster */
172 Double_t fSingleCellEnergyCut;
174 // Declare the histograms
176 /** The full Et spectrum measured */
177 TH1F *fHistEt; //Et spectrum
179 /** The full charged Et spectrum measured */
180 TH1F *fHistChargedEt; //Charged Et spectrum
182 /** The full neutral Et spectrum measured */
183 TH1F *fHistNeutralEt; //Neutral Et spectrum
185 /** The Et spectrum within the calorimeter acceptance */
186 TH1F *fHistEtAcc; //Et in acceptance
188 /** The charged Et spectrum within the calorimeter acceptance */
189 TH1F *fHistChargedEtAcc; //Charged Et in acceptance
191 /** The neutral Et spectrum within the calorimeter acceptance */
192 TH1F *fHistNeutralEtAcc; //Et in acceptance
194 /** Multiplicity of particles in the events */
195 TH1F *fHistMult; //Multiplicity
197 /** Charged multiplicity of particles in the events */
198 TH1F *fHistChargedMult; //Charged multiplicity
200 /** Neutral multiplicity of particles in the events */
201 TH1F *fHistNeutralMult; //Neutral multiplicity
203 /* Acceptance plots */
204 TH2F *fHistPhivsPtPos; //phi vs pT plot for positive tracks
205 TH2F *fHistPhivsPtNeg; //phi vs pT plot for negative tracks
209 TH1F *fHistAntiBaryonEt;
212 TH1F *fHistBaryonEtAcc;
213 TH1F *fHistAntiBaryonEtAcc;
214 TH1F *fHistMesonEtAcc;
216 /* Correction plots */
217 TH2F *fHistEtRecvsEtMC; //Reconstructed Et versus MC Et
219 /* Track matching plots */
222 ClassDef(AliAnalysisEt, 0);
225 #endif // ALIANALYSISET_H