]>
Commit | Line | Data |
---|---|---|
734d2c12 | 1 | #ifndef ALIPROTONANALYSIS_H |
2 | #define ALIPROTONANALYSIS_H | |
3 | ||
4 | /* See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | //------------------------------------------------------------------------- | |
10 | // Class AliProtonAnalysis | |
11 | // This is the class for the baryon (proton) analysis | |
12 | // | |
13 | // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch | |
14 | //------------------------------------------------------------------------- | |
15 | ||
16 | #include <TObject.h> | |
3f6d0c08 | 17 | #include "TH1I.h" |
ef1a8dbd | 18 | #include "TList.h" |
3f6d0c08 | 19 | |
ee4ca40d | 20 | #include "AliPID.h" |
734d2c12 | 21 | |
aafecd8b | 22 | class TF1; |
734d2c12 | 23 | class TH2F; |
24 | class TH1D; | |
3f6d0c08 | 25 | |
ee4ca40d | 26 | class AliAODEvent; |
27 | class AliAODtrack; | |
734d2c12 | 28 | class AliESDEvent; |
29 | class AliESDtrack; | |
2b748670 | 30 | class AliExternalTrackParam; |
e4358d7f | 31 | class AliStack; |
734d2c12 | 32 | |
33 | class AliProtonAnalysis : public TObject { | |
34 | public: | |
35 | AliProtonAnalysis(); | |
36 | AliProtonAnalysis(Int_t nbinsY, Float_t fLowY, Float_t fHighY, | |
37 | Int_t nbinsPt, Float_t fLowPt, Float_t fHighPt); | |
38 | virtual ~AliProtonAnalysis(); | |
2b748670 | 39 | |
40 | void UseTPCOnly() {fUseTPCOnly = kTRUE;} | |
734d2c12 | 41 | |
ef1a8dbd | 42 | void InitAnalysisHistograms(Int_t nbinsY, Float_t fLowY, Float_t fHighY, |
43 | Int_t nbinsPt, Float_t fLowPt, Float_t fHighPt); | |
2b748670 | 44 | Bool_t ReadFromFile(const char* filename); |
ef1a8dbd | 45 | void Analyze(AliESDEvent *fESD); |
46 | void Analyze(AliAODEvent *fAOD); | |
47 | void Analyze(AliStack *stack); | |
734d2c12 | 48 | |
49 | TH2F *GetProtonYPtHistogram() {return fHistYPtProtons;} | |
50 | TH2F *GetAntiProtonYPtHistogram() {return fHistYPtAntiProtons;} | |
51 | TH1D *GetProtonYHistogram(); | |
52 | TH1D *GetAntiProtonYHistogram(); | |
53 | TH1D *GetProtonPtHistogram(); | |
54 | TH1D *GetAntiProtonPtHistogram(); | |
55 | TH1D *GetYRatioHistogram(); | |
56 | TH1D *GetPtRatioHistogram(); | |
57 | TH1D *GetYAsymmetryHistogram(); | |
58 | TH1D *GetPtAsymmetryHistogram(); | |
3f6d0c08 | 59 | |
ef1a8dbd | 60 | TH1I *GetEvenHtistogram() {return fHistEvents;} |
41beb956 | 61 | |
3f6d0c08 | 62 | Int_t GetNumberOfAnalyzedEvents() {return (Int_t)fHistEvents->GetEntries();} |
63 | Bool_t PrintMean(TH1 *hist, Double_t edge); | |
64 | Bool_t PrintYields(TH1 *hist, Double_t edge); | |
65 | ||
734d2c12 | 66 | //Cut functions |
734d2c12 | 67 | void SetMinITSClusters(Int_t minITSClusters) { |
68 | fMinITSClusters = minITSClusters; | |
69 | fMinITSClustersFlag = kTRUE; | |
70 | } | |
734d2c12 | 71 | void SetMaxChi2PerITSCluster(Double_t maxChi2PerITSCluster) { |
72 | fMaxChi2PerITSCluster = maxChi2PerITSCluster; | |
73 | fMaxChi2PerITSClusterFlag = kTRUE; | |
74 | } | |
f24a70b0 | 75 | void SetMinTPCClusters(Int_t minTPCClusters) { |
76 | fMinTPCClusters = minTPCClusters; | |
77 | fMinTPCClustersFlag = kTRUE; | |
78 | } | |
79 | void SetMaxChi2PerTPCCluster(Double_t maxChi2PerTPCCluster) { | |
80 | fMaxChi2PerTPCCluster = maxChi2PerTPCCluster; | |
81 | fMaxChi2PerTPCClusterFlag = kTRUE; | |
82 | } | |
734d2c12 | 83 | void SetMaxCov11(Double_t maxCov11) {fMaxCov11 = maxCov11; fMaxCov11Flag = kTRUE;} |
84 | void SetMaxCov22(Double_t maxCov22) {fMaxCov22 = maxCov22; fMaxCov22Flag = kTRUE;} | |
85 | void SetMaxCov33(Double_t maxCov33) {fMaxCov33 = maxCov33; fMaxCov33Flag = kTRUE;} | |
86 | void SetMaxCov44(Double_t maxCov44) {fMaxCov44 = maxCov44; fMaxCov44Flag = kTRUE;} | |
87 | void SetMaxCov55(Double_t maxCov55) {fMaxCov55 = maxCov55; fMaxCov55Flag = kTRUE;} | |
88 | void SetMaxSigmaToVertex(Double_t maxSigmaToVertex) { | |
89 | fMaxSigmaToVertex = maxSigmaToVertex; | |
90 | fMaxSigmaToVertexFlag = kTRUE; | |
91 | } | |
f24a70b0 | 92 | void SetMaxSigmaToVertexTPC(Double_t maxSigmaToVertex) { |
93 | fMaxSigmaToVertexTPC = maxSigmaToVertex; | |
94 | fMaxSigmaToVertexTPCFlag = kTRUE; | |
95 | } | |
734d2c12 | 96 | void SetITSRefit() {fITSRefitFlag = kTRUE;} |
97 | void SetTPCRefit() {fTPCRefitFlag = kTRUE;} | |
f24a70b0 | 98 | void SetESDpid() {fESDpidFlag = kTRUE;} |
99 | void SetTPCpid() {fTPCpidFlag = kTRUE;} | |
ef1a8dbd | 100 | |
101 | //QA histograms | |
102 | void SetQAOn() { | |
103 | fQAHistograms = kTRUE; | |
104 | fGlobalQAList = new TList(); | |
105 | fQA2DList = new TList(); | |
106 | fQAPrimaryProtonsAcceptedList = new TList(); | |
107 | fQAPrimaryProtonsRejectedList = new TList(); | |
108 | fQASecondaryProtonsAcceptedList = new TList(); | |
109 | fQASecondaryProtonsRejectedList = new TList(); | |
110 | fQAPrimaryAntiProtonsAcceptedList = new TList(); | |
111 | fQAPrimaryAntiProtonsRejectedList = new TList(); | |
112 | fQASecondaryAntiProtonsAcceptedList = new TList(); | |
113 | fQASecondaryAntiProtonsRejectedList = new TList(); | |
114 | } | |
115 | void SetQAYPtBins(Int_t nbinsY, Double_t minY, Double_t maxY, | |
116 | Int_t nbinsPt, Double_t minPt, Double_t maxPt) { | |
117 | fNBinsY = nbinsY; | |
118 | fMinY = minY; fMaxY = maxY; | |
119 | fNBinsPt = nbinsPt; | |
120 | fMinPt = minPt; fMaxPt = maxPt; | |
121 | } | |
122 | void InitQA(); | |
123 | void RunQA(AliStack *stack, AliESDEvent *esd); | |
7b59a00b | 124 | TList *GetGlobalQAList() {return fGlobalQAList;} |
ef1a8dbd | 125 | |
734d2c12 | 126 | //Prior probabilities |
f24a70b0 | 127 | void SetPriorProbabilities(Double_t *partFrac) {for(Int_t i = 0; i < AliPID::kSPECIESN; i++) fPartFrac[i] = partFrac[i];} |
128 | void SetPriorProbabilityFunctions(TF1 *felectron, TF1 *fmuon, TF1 *fpion, TF1 *fkaon, TF1 *fproton) { | |
aafecd8b | 129 | fFunctionProbabilityFlag = kTRUE; |
130 | fElectronFunction = felectron; | |
131 | fMuonFunction = fmuon; | |
132 | fPionFunction = fpion; | |
133 | fKaonFunction = fkaon; | |
134 | fProtonFunction = fproton; | |
135 | } | |
136 | Double_t GetParticleFraction(Int_t i, Double_t p); | |
137 | ||
39f2a708 | 138 | //interface to the correction framework |
139 | Bool_t ReadCorrectionContainer(const char* filename); | |
140 | TList *GetCorrectionList2D() {return fCorrectionList2D;} | |
141 | TList *GetEfficiencyList1D() {return fEfficiencyList1D;} | |
142 | TList *GetCorrectionList1D() {return fCorrectionList1D;} | |
143 | ||
734d2c12 | 144 | private: |
8b8b0b7a | 145 | AliProtonAnalysis(const AliProtonAnalysis&); // Not implemented |
146 | AliProtonAnalysis& operator=(const AliProtonAnalysis&); // Not implemented | |
147 | ||
734d2c12 | 148 | Bool_t IsAccepted(AliESDtrack *track); |
ef1a8dbd | 149 | Bool_t IsAccepted(AliESDtrack *track, AliStack *stack); |
734d2c12 | 150 | Float_t GetSigmaToVertex(AliESDtrack* esdTrack); |
2b748670 | 151 | Double_t Rapidity(Double_t Px, Double_t Py, Double_t Pz); |
734d2c12 | 152 | |
153 | Int_t fNBinsY; //number of bins in y | |
154 | Float_t fMinY, fMaxY; //min & max value of y | |
155 | Int_t fNBinsPt; //number of bins in pT | |
156 | Float_t fMinPt, fMaxPt; //min & max value of pT | |
157 | ||
158 | //cuts | |
159 | Int_t fMinTPCClusters, fMinITSClusters; //min TPC & ITS clusters | |
160 | Double_t fMaxChi2PerTPCCluster, fMaxChi2PerITSCluster; //max chi2 per TPC & ITS cluster | |
161 | Double_t fMaxCov11, fMaxCov22, fMaxCov33, fMaxCov44, fMaxCov55; //max values of cov. matrix | |
162 | Double_t fMaxSigmaToVertex; //max sigma to vertex cut | |
f24a70b0 | 163 | Double_t fMaxSigmaToVertexTPC; //max sigma to vertex cut |
734d2c12 | 164 | Bool_t fMinTPCClustersFlag, fMinITSClustersFlag; //shows if this cut is used or not |
165 | Bool_t fMaxChi2PerTPCClusterFlag, fMaxChi2PerITSClusterFlag; //shows if this cut is used or not | |
166 | Bool_t fMaxCov11Flag, fMaxCov22Flag, fMaxCov33Flag, fMaxCov44Flag, fMaxCov55Flag; //shows if this cut is used or not | |
167 | Bool_t fMaxSigmaToVertexFlag; //shows if this cut is used or not | |
f24a70b0 | 168 | Bool_t fMaxSigmaToVertexTPCFlag; //shows if this cut is used or not |
734d2c12 | 169 | Bool_t fITSRefitFlag, fTPCRefitFlag; //shows if this cut is used or not |
f24a70b0 | 170 | Bool_t fESDpidFlag, fTPCpidFlag; //shows if this cut is used or not |
734d2c12 | 171 | |
ef1a8dbd | 172 | //QA histograms |
173 | Bool_t fQAHistograms; //Boolean to activate the QA histograms | |
174 | TList *fGlobalQAList; //TList storing the directories for the QA histograms | |
175 | TList *fQA2DList; //TList storing the accepted primary/secondary (anti)protons | |
176 | TList *fQAPrimaryProtonsAcceptedList; //list of the QA histos for accepted primary protons | |
177 | TList *fQAPrimaryProtonsRejectedList; //list of the QA histos for rejected primary protons | |
178 | TList *fQASecondaryProtonsAcceptedList; //list of the QA histos for accepted secondary protons | |
179 | TList *fQASecondaryProtonsRejectedList; //list of the QA histos for rejected secondary protons | |
180 | TList *fQAPrimaryAntiProtonsAcceptedList; //list of the QA histos for accepted primary antiprotons | |
181 | TList *fQAPrimaryAntiProtonsRejectedList; //list of the QA histos for rejected primary antiprotons | |
182 | TList *fQASecondaryAntiProtonsAcceptedList; //list of the QA histos for accepted secondary antiprotons | |
183 | TList *fQASecondaryAntiProtonsRejectedList; //list of the QA histos for rejected secondary antiprotons | |
184 | //primary protons | |
185 | /*TH1F *fPrimaryProtonsTPCClustersReject; //QA histogram for the primaries rejected by the TPC cluster cut | |
186 | TH1F *fPrimaryProtonsTPCClustersPass; //QA histogram for the primaries accepted by the TPC cluster cut | |
187 | TH1F *fPrimaryProtonsChi2PerClusterTPCReject; //QA histogram for the primaries rejected by the chi2 per TPC cluster cut | |
188 | TH1F *fPrimaryProtonsChi2PerClusterTPCPass; //QA histogram for the primaries accepted by the chi2 per TPC cluster cut | |
189 | TH1F *fPrimaryProtonsExtCov11Reject; //QA histogram for the primaries rejected by the sigma of the local Y cut | |
190 | TH1F *fPrimaryProtonsExtCov11Pass; //QA histogram for the primaries accepted by the sigma of the local Y cut | |
191 | TH1F *fPrimaryProtonsExtCov22Reject; //QA histogram for the primaries rejected by the sigma of the local Z cut | |
192 | TH1F *fPrimaryProtonsExtCov22Pass; //QA histogram for the primaries accepted by the sigma of the local Z cut | |
193 | TH1F *fPrimaryProtonsExtCov33Reject; //QA histogram for the primaries rejected by the sigma of the sin(phi) cut | |
194 | TH1F *fPrimaryProtonsExtCov33Pass; //QA histogram for the primaries accepted by the sigma of the sin(phi) cut | |
195 | TH1F *fPrimaryProtonsExtCov44Reject; //QA histogram for the primaries rejected by the sigma of the tan(lambda) cut | |
196 | TH1F *fPrimaryProtonsExtCov44Pass; //QA histogram for the primaries accepted by the sigma of the tan(lambda) cut | |
197 | TH1F *fPrimaryProtonsExtCov55Reject; //QA histogram for the primaries rejected by the the sigma of 1/pT cut | |
198 | TH1F *fPrimaryProtonsExtCov55Pass; //QA histogram for the primaries accepted by the sigma of the 1/pT cut | |
199 | TH1F *fPrimaryProtonsSigmaToVertexReject; //QA histogram for the primaries rejected by the sigma to vertex cut | |
200 | TH1F *fPrimaryProtonsSigmaToVertexPass; //QA histogram for the primaries accepted by the sigma to vertex cut | |
201 | TH1F *fPrimaryProtonsSigmaToVertexTPCReject; //QA histogram for the primaries rejected by the sigma to vertex (TPC) cut | |
202 | TH1F *fPrimaryProtonsSigmaToVertexTPCPass; //QA histogram for the primaries accepted by the sigma to vertex (TPC) cut | |
203 | TH1F *fPrimaryProtonsITSRefitReject; //QA histogram for the primaries rejected by the ITS refit cut | |
204 | TH1F *fPrimaryProtonsITSRefitPass; //QA histogram for the primaries accepted by the ITS refit cut | |
205 | TH1F *fPrimaryProtonsTPCRefitReject; //QA histogram for the primaries rejected by the TPC refit cut | |
206 | TH1F *fPrimaryProtonsTPCRefitPass; //QA histogram for the primaries accepted by the TPC refit cut | |
207 | TH1F *fPrimaryProtonsESDpidReject; //QA histogram for the primaries rejected by the ESD pid cut | |
208 | TH1F *fPrimaryProtonsESDpidPass; //QA histogram for the primaries accepted by the ESD pid cut | |
209 | TH1F *fPrimaryProtonsTPCpidReject; //QA histogram for the primaries rejected by the TPC pid cut | |
210 | TH1F *fPrimaryProtonsTPCpidPass; //QA histogram for the primaries accepted by the TPC pid cut | |
211 | //secondary protons | |
212 | TH1F *fSecondaryProtonsTPCClustersReject; //QA histogram for the secondaries rejected by the TPC cluster cut | |
213 | TH1F *fSecondaryProtonsTPCClustersPass; //QA histogram for the secondaries accepted by the TPC cluster cut | |
214 | TH1F *fSecondaryProtonsChi2PerClusterTPCReject; //QA histogram for the secondaries rejected by the chi2 per TPC cluster cut | |
215 | TH1F *fSecondaryProtonsChi2PerClusterTPCPass; //QA histogram for the secondaries accepted by the chi2 per TPC cluster cut | |
216 | TH1F *fSecondaryProtonsExtCov11Reject; //QA histogram for the secondaries rejected by the sigma of the local Y cut | |
217 | TH1F *fSecondaryProtonsExtCov11Pass; //QA histogram for the secondaries accepted by the sigma of the local Y cut | |
218 | TH1F *fSecondaryProtonsExtCov22Reject; //QA histogram for the secondaries rejected by the sigma of the local Z cut | |
219 | TH1F *fSecondaryProtonsExtCov22Pass; //QA histogram for the secondaries accepted by the sigma of the local Z cut | |
220 | TH1F *fSecondaryProtonsExtCov33Reject; //QA histogram for the secondaries rejected by the sigma of the sin(phi) cut | |
221 | TH1F *fSecondaryProtonsExtCov33Pass; //QA histogram for the secondaries accepted by the sigma of the sin(phi) cut | |
222 | TH1F *fSecondaryProtonsExtCov44Reject; //QA histogram for the secondaries rejected by the sigma of the tan(lambda) cut | |
223 | TH1F *fSecondaryProtonsExtCov44Pass; //QA histogram for the secondaries accepted by the sigma of the tan(lambda) cut | |
224 | TH1F *fSecondaryProtonsExtCov55Reject; //QA histogram for the secondaries rejected by the the sigma of 1/pT cut | |
225 | TH1F *fSecondaryProtonsExtCov55Pass; //QA histogram for the secondaries accepted by the sigma of the 1/pT cut | |
226 | TH1F *fSecondaryProtonsSigmaToVertexReject; //QA histogram for the secondaries rejected by the sigma to vertex cut | |
227 | TH1F *fSecondaryProtonsSigmaToVertexPass; //QA histogram for the secondaries accepted by the sigma to vertex cut | |
228 | TH1F *fSecondaryProtonsSigmaToVertexTPCReject; //QA histogram for the secondaries rejected by the sigma to vertex (TPC) cut | |
229 | TH1F *fSecondaryProtonsSigmaToVertexTPCPass; //QA histogram for the secondaries accepted by the sigma to vertex (TPC) cut | |
230 | TH1F *fSecondaryProtonsITSRefitReject; //QA histogram for the secondaries rejected by the ITS refit cut | |
231 | TH1F *fSecondaryProtonsITSRefitPass; //QA histogram for the secondaries accepted by the ITS refit cut | |
232 | TH1F *fSecondaryProtonsTPCRefitReject; //QA histogram for the secondaries rejected by the TPC refit cut | |
233 | TH1F *fSecondaryProtonsTPCRefitPass; //QA histogram for the secondaries accepted by the TPC refit cut | |
234 | TH1F *fSecondaryProtonsESDpidReject; //QA histogram for the secondaries rejected by the ESD pid cut | |
235 | TH1F *fSecondaryProtonsESDpidPass; //QA histogram for the secondaries accepted by the ESD pid cut | |
236 | TH1F *fSecondaryProtonsTPCpidReject; //QA histogram for the secondaries rejected by the TPC pid cut | |
237 | TH1F *fSecondaryProtonsTPCpidPass; //QA histogram for the secondaries accepted by the TPC pid cut | |
238 | //primary antiprotons | |
239 | TH1F *fPrimaryAntiProtonsTPCClustersReject; //QA histogram for the primaries rejected by the TPC cluster cut | |
240 | TH1F *fPrimaryAntiProtonsTPCClustersPass; //QA histogram for the primaries accepted by the TPC cluster cut | |
241 | TH1F *fPrimaryAntiProtonsChi2PerClusterTPCReject; //QA histogram for the primaries rejected by the chi2 per TPC cluster cut | |
242 | TH1F *fPrimaryAntiProtonsChi2PerClusterTPCPass; //QA histogram for the primaries accepted by the chi2 per TPC cluster cut | |
243 | TH1F *fPrimaryAntiProtonsExtCov11Reject; //QA histogram for the primaries rejected by the sigma of the local Y cut | |
244 | TH1F *fPrimaryAntiProtonsExtCov11Pass; //QA histogram for the primaries accepted by the sigma of the local Y cut | |
245 | TH1F *fPrimaryAntiProtonsExtCov22Reject; //QA histogram for the primaries rejected by the sigma of the local Z cut | |
246 | TH1F *fPrimaryAntiProtonsExtCov22Pass; //QA histogram for the primaries accepted by the sigma of the local Z cut | |
247 | TH1F *fPrimaryAntiProtonsExtCov33Reject; //QA histogram for the primaries rejected by the sigma of the sin(phi) cut | |
248 | TH1F *fPrimaryAntiProtonsExtCov33Pass; //QA histogram for the primaries accepted by the sigma of the sin(phi) cut | |
249 | TH1F *fPrimaryAntiProtonsExtCov44Reject; //QA histogram for the primaries rejected by the sigma of the tan(lambda) cut | |
250 | TH1F *fPrimaryAntiProtonsExtCov44Pass; //QA histogram for the primaries accepted by the sigma of the tan(lambda) cut | |
251 | TH1F *fPrimaryAntiProtonsExtCov55Reject; //QA histogram for the primaries rejected by the the sigma of 1/pT cut | |
252 | TH1F *fPrimaryAntiProtonsExtCov55Pass; //QA histogram for the primaries accepted by the sigma of the 1/pT cut | |
253 | TH1F *fPrimaryAntiProtonsSigmaToVertexReject; //QA histogram for the primaries rejected by the sigma to vertex cut | |
254 | TH1F *fPrimaryAntiProtonsSigmaToVertexPass; //QA histogram for the primaries accepted by the sigma to vertex cut | |
255 | TH1F *fPrimaryAntiProtonsSigmaToVertexTPCReject; //QA histogram for the primaries rejected by the sigma to vertex (TPC) cut | |
256 | TH1F *fPrimaryAntiProtonsSigmaToVertexTPCPass; //QA histogram for the primaries accepted by the sigma to vertex (TPC) cut | |
257 | TH1F *fPrimaryAntiProtonsITSRefitReject; //QA histogram for the primaries rejected by the ITS refit cut | |
258 | TH1F *fPrimaryAntiProtonsITSRefitPass; //QA histogram for the primaries accepted by the ITS refit cut | |
259 | TH1F *fPrimaryAntiProtonsTPCRefitReject; //QA histogram for the primaries rejected by the TPC refit cut | |
260 | TH1F *fPrimaryAntiProtonsTPCRefitPass; //QA histogram for the primaries accepted by the TPC refit cut | |
261 | TH1F *fPrimaryAntiProtonsESDpidReject; //QA histogram for the primaries rejected by the ESD pid cut | |
262 | TH1F *fPrimaryAntiProtonsESDpidPass; //QA histogram for the primaries accepted by the ESD pid cut | |
263 | TH1F *fPrimaryAntiProtonsTPCpidReject; //QA histogram for the primaries rejected by the TPC pid cut | |
264 | TH1F *fPrimaryAntiProtonsTPCpidPass; //QA histogram for the primaries accepted by the TPC pid cut | |
265 | //secondary antiprotons | |
266 | TH1F *fSecondaryAntiProtonsTPCClustersReject; //QA histogram for the secondaries rejected by the TPC cluster cut | |
267 | TH1F *fSecondaryAntiProtonsTPCClustersPass; //QA histogram for the secondaries accepted by the TPC cluster cut | |
268 | TH1F *fSecondaryAntiProtonsChi2PerClusterTPCReject; //QA histogram for the secondaries rejected by the chi2 per TPC cluster cut | |
269 | TH1F *fSecondaryAntiProtonsChi2PerClusterTPCPass; //QA histogram for the secondaries accepted by the chi2 per TPC cluster cut | |
270 | TH1F *fSecondaryAntiProtonsExtCov11Reject; //QA histogram for the secondaries rejected by the sigma of the local Y cut | |
271 | TH1F *fSecondaryAntiProtonsExtCov11Pass; //QA histogram for the secondaries accepted by the sigma of the local Y cut | |
272 | TH1F *fSecondaryAntiProtonsExtCov22Reject; //QA histogram for the secondaries rejected by the sigma of the local Z cut | |
273 | TH1F *fSecondaryAntiProtonsExtCov22Pass; //QA histogram for the secondaries accepted by the sigma of the local Z cut | |
274 | TH1F *fSecondaryAntiProtonsExtCov33Reject; //QA histogram for the secondaries rejected by the sigma of the sin(phi) cut | |
275 | TH1F *fSecondaryAntiProtonsExtCov33Pass; //QA histogram for the secondaries accepted by the sigma of the sin(phi) cut | |
276 | TH1F *fSecondaryAntiProtonsExtCov44Reject; //QA histogram for the secondaries rejected by the sigma of the tan(lambda) cut | |
277 | TH1F *fSecondaryAntiProtonsExtCov44Pass; //QA histogram for the secondaries accepted by the sigma of the tan(lambda) cut | |
278 | TH1F *fSecondaryAntiProtonsExtCov55Reject; //QA histogram for the secondaries rejected by the the sigma of 1/pT cut | |
279 | TH1F *fSecondaryAntiProtonsExtCov55Pass; //QA histogram for the secondaries accepted by the sigma of the 1/pT cut | |
280 | TH1F *fSecondaryAntiProtonsSigmaToVertexReject; //QA histogram for the secondaries rejected by the sigma to vertex cut | |
281 | TH1F *fSecondaryAntiProtonsSigmaToVertexPass; //QA histogram for the secondaries accepted by the sigma to vertex cut | |
282 | TH1F *fSecondaryAntiProtonsSigmaToVertexTPCReject; //QA histogram for the secondaries rejected by the sigma to vertex (TPC) cut | |
283 | TH1F *fSecondaryAntiProtonsSigmaToVertexTPCPass; //QA histogram for the secondaries accepted by the sigma to vertex (TPC) cut | |
284 | TH1F *fSecondaryAntiProtonsITSRefitReject; //QA histogram for the secondaries rejected by the ITS refit cut | |
285 | TH1F *fSecondaryAntiProtonsITSRefitPass; //QA histogram for the secondaries accepted by the ITS refit cut | |
286 | TH1F *fSecondaryAntiProtonsTPCRefitReject; //QA histogram for the secondaries rejected by the TPC refit cut | |
287 | TH1F *fSecondaryAntiProtonsTPCRefitPass; //QA histogram for the secondaries accepted by the TPC refit cut | |
288 | TH1F *fSecondaryAntiProtonsESDpidReject; //QA histogram for the secondaries rejected by the ESD pid cut | |
289 | TH1F *fSecondaryAntiProtonsESDpidPass; //QA histogram for the secondaries accepted by the ESD pid cut | |
290 | TH1F *fSecondaryAntiProtonsTPCpidReject; //QA histogram for the secondaries rejected by the TPC pid cut | |
291 | TH1F *fSecondaryAntiProtonsTPCpidPass;*/ //QA histogram for the secondaries accepted by the TPC pid cut | |
292 | ||
734d2c12 | 293 | //pid |
aafecd8b | 294 | Bool_t fFunctionProbabilityFlag; //flag: kTRUE if functions used |
ee4ca40d | 295 | Double_t fPartFrac[10]; //prior probabilities |
aafecd8b | 296 | TF1 *fElectronFunction; //momentum dependence of the prior probs |
297 | TF1 *fMuonFunction; //momentum dependence of the prior probs | |
298 | TF1 *fPionFunction; //momentum dependence of the prior probs | |
299 | TF1 *fKaonFunction; //momentum dependence of the prior probs | |
300 | TF1 *fProtonFunction; //momentum dependence of the prior probs | |
301 | ||
2b748670 | 302 | //Detectors |
303 | Bool_t fUseTPCOnly; //kTRUE if TPC only information is used | |
304 | ||
3f6d0c08 | 305 | TH1I *fHistEvents; //event counter |
aafecd8b | 306 | TH2F *fHistYPtProtons; //Y-Pt of Protons |
307 | TH2F *fHistYPtAntiProtons; // Y-Pt of Antiprotons | |
39f2a708 | 308 | |
309 | //Corrections | |
310 | TList *fCorrectionList2D; //list for the 2d corrections | |
311 | TList *fEfficiencyList1D; //list for the 1d efficiencies | |
312 | TList *fCorrectionList1D; //list for the 1d corrections | |
734d2c12 | 313 | |
314 | ClassDef(AliProtonAnalysis,0); | |
315 | }; | |
316 | ||
317 | #endif |