]>
Commit | Line | Data |
---|---|---|
6451491d | 1 | /********************************************************************* |
2 | * * | |
3 | * Configfemtoanalysis.C - configuration macro for the femtoscopic * | |
4 | * analysis, meant as a QA process for two-particle effects * | |
5 | * * | |
6 | * Author: Adam Kisiel (Adam.Kisiel@cern.ch) * | |
7 | * * | |
8 | *********************************************************************/ | |
9 | ||
10 | #if !defined(__CINT__) || defined(__MAKECINT_) | |
11 | #include "AliFemtoManager.h" | |
12 | #include "AliFemtoEventReaderESDChain.h" | |
13 | #include "AliFemtoEventReaderESDChainKine.h" | |
14 | #include "AliFemtoEventReaderAODChain.h" | |
15 | #include "AliFemtoSimpleAnalysis.h" | |
16 | #include "AliFemtoBasicEventCut.h" | |
17 | #include "AliFemtoESDTrackCut.h" | |
18 | #include "AliFemtoCorrFctn.h" | |
19 | #include "AliFemtoCutMonitorParticleYPt.h" | |
20 | #include "AliFemtoCutMonitorParticleVertPos.h" | |
21 | #include "AliFemtoCutMonitorParticleMomRes.h" | |
22 | #include "AliFemtoCutMonitorParticlePID.h" | |
23 | #include "AliFemtoCutMonitorEventMult.h" | |
24 | #include "AliFemtoCutMonitorEventVertex.h" | |
25 | #include "AliFemtoShareQualityTPCEntranceSepPairCut.h" | |
26 | #include "AliFemtoPairCutAntiGamma.h" | |
27 | #include "AliFemtoPairCutRadialDistance.h" | |
28 | #include "AliFemtoQinvCorrFctn.h" | |
29 | #include "AliFemtoCorrFctnNonIdDR.h" | |
30 | #include "AliFemtoShareQualityCorrFctn.h" | |
31 | #include "AliFemtoTPCInnerCorrFctn.h" | |
32 | #include "AliFemtoVertexMultAnalysis.h" | |
33 | #include "AliFemtoCorrFctn3DSpherical.h" | |
34 | #include "AliFemtoChi2CorrFctn.h" | |
35 | #include "AliFemtoCorrFctnTPCNcls.h" | |
36 | #include "AliFemtoBPLCMS3DCorrFctn.h" | |
37 | #include "AliFemtoCorrFctn3DLCMSSym.h" | |
38 | #include "AliFemtoModelBPLCMSCorrFctn.h" | |
39 | #include "AliFemtoModelCorrFctn3DSpherical.h" | |
40 | #include "AliFemtoModelGausLCMSFreezeOutGenerator.h" | |
41 | #include "AliFemtoModelGausRinvFreezeOutGenerator.h" | |
42 | #include "AliFemtoModelManager.h" | |
43 | #include "AliFemtoModelWeightGeneratorBasic.h" | |
44 | #include "AliFemtoModelWeightGeneratorLednicky.h" | |
45 | #include "AliFemtoCorrFctnDirectYlm.h" | |
46 | #include "AliFemtoModelCorrFctnDirectYlm.h" | |
47 | #include "AliFemtoModelCorrFctnSource.h" | |
48 | #include "AliFemtoCutMonitorParticlePtPDG.h" | |
49 | #include "AliFemtoKTPairCut.h" | |
50 | #endif | |
51 | ||
52 | //________________________________________________________________________ | |
53 | AliFemtoManager* ConfigFemtoAnalysis() { | |
54 | ||
55 | double PionMass = 0.13956995; | |
56 | double KaonMass = 0.493677; | |
57 | double ProtonMass = 0.938272013; | |
58 | ||
59 | double psi = TMath::Pi()/2.; | |
60 | double psid = TMath::Pi()/6.; | |
61 | ||
62 | int runepvzero[7] = {1, 1, 1, 1, 1, 1, 1}; | |
63 | double epvzerobins[7] = {-psi, -psi+psid, -psi+2*psid, -psi+3*psid, -psi+4*psid, -psi+5*psid, -psi+6*psid}; | |
64 | ||
65 | int runmults[10] = {1, 1, 0, 0, 0, 0, 0, 0, 0, 0}; | |
66 | int multbins[11] = {0.001, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900}; | |
67 | ||
68 | int runch[3] = {1, 1, 1}; | |
69 | const char *chrgs[3] = { "PP", "APAP", "PAP" }; | |
70 | ||
71 | int runktdep = 1; | |
72 | double ktrng[3] = {0.01, 1.0, 100.0}; | |
73 | ||
74 | int numOfMultBins = 10; | |
75 | int numOfChTypes = 3; | |
76 | int numOfkTbins = 2; | |
77 | int numOfEPvzero = 7; | |
78 | ||
79 | int runqinv = 1; | |
80 | int runshlcms = 0;// 0:PRF(PAP), 1:LCMS(PP,APAP) | |
81 | ||
82 | int runtype = 2; // Types 0 - global, 1 - ITS only, 2 - TPC Inner | |
83 | int isrealdata = 1; | |
84 | ||
85 | // int gammacut = 1; | |
86 | ||
87 | double shqmax = 2.0; | |
88 | int nbinssh = 200; | |
89 | ||
90 | AliFemtoEventReaderAODChain *Reader = new AliFemtoEventReaderAODChain(); | |
91 | Reader->SetFilterBit(7); | |
92 | Reader->SetCentralityPreSelection(0.001, 510); | |
93 | Reader->SetEPVZERO(kTRUE); | |
94 | ||
95 | AliFemtoManager* Manager = new AliFemtoManager(); | |
96 | Manager->SetEventReader(Reader); | |
97 | ||
98 | AliFemtoVertexMultAnalysis *anetaphitpc[10*3*2]; | |
99 | AliFemtoBasicEventCut *mecetaphitpc[10*3*2]; | |
100 | AliFemtoCutMonitorEventMult *cutPassEvMetaphitpc[50]; | |
101 | AliFemtoCutMonitorEventMult *cutFailEvMetaphitpc[50]; | |
102 | // AliFemtoCutMonitorEventVertex *cutPassEvVetaphitpc[50]; | |
103 | // AliFemtoCutMonitorEventVertex *cutFailEvVetaphitpc[50]; | |
104 | AliFemtoESDTrackCut *dtc1etaphitpc[50]; | |
105 | AliFemtoESDTrackCut *dtc2etaphitpc[50]; | |
106 | AliFemtoCutMonitorParticleYPt *cutPass1YPtetaphitpc[50]; | |
107 | AliFemtoCutMonitorParticleYPt *cutFail1YPtetaphitpc[50]; | |
108 | AliFemtoCutMonitorParticlePID *cutPass1PIDetaphitpc[50]; | |
109 | AliFemtoCutMonitorParticlePID *cutFail1PIDetaphitpc[50]; | |
110 | AliFemtoCutMonitorParticleYPt *cutPass2YPtetaphitpc[50]; | |
111 | AliFemtoCutMonitorParticleYPt *cutFail2YPtetaphitpc[50]; | |
112 | AliFemtoCutMonitorParticlePID *cutPass2PIDetaphitpc[50]; | |
113 | AliFemtoCutMonitorParticlePID *cutFail2PIDetaphitpc[50]; | |
114 | // AliFemtoPairCutAntiGamma *sqpcetaphitpcdiff[10*3]; | |
115 | // AliFemtoShareQualityTPCEntranceSepPairCut *sqpcetaphitpcsame[10*3]; | |
116 | //AliFemtoPairCutAntiGamma *sqpcetaphitpc[10*3]; | |
117 | AliFemtoPairCutRadialDistance *sqpcetaphitpc[50]; | |
118 | // AliFemtoChi2CorrFctn *cchiqinvetaphitpc[20*2]; | |
119 | AliFemtoKTPairCut *ktpcuts[50*2]; | |
120 | AliFemtoCorrFctnDirectYlm *cylmtpc[50]; | |
121 | AliFemtoCorrFctnDirectYlm *cylmkttpc[50*2]; | |
122 | AliFemtoCorrFctnDirectYlm *cylmetaphitpc[10*3]; | |
123 | AliFemtoQinvCorrFctn *cqinvkttpc[50*2]; | |
124 | AliFemtoQinvCorrFctn *cqinvtpc[50]; | |
125 | AliFemtoCorrFctnNonIdDR *ckstartpc[50]; | |
126 | AliFemtoCorrFctnNonIdDR *ckstarkttpc[50*2]; | |
127 | // AliFemtoCorrFctnDEtaDPhi *cdedpetaphi[50]; | |
128 | ||
129 | // AliFemtoCorrFctn3DLCMSSym *cq3dlcmskttpc[20*2]; | |
130 | // AliFemtoCorrFctnTPCNcls *cqinvnclstpc[20]; | |
131 | // AliFemtoShareQualityCorrFctn *cqinvsqtpc[20*10]; | |
132 | // AliFemtoChi2CorrFctn *cqinvchi2tpc[20]; | |
133 | // AliFemtoTPCInnerCorrFctn *cqinvinnertpc[20*10]; | |
134 | ||
135 | // *** Third QA task - HBT analysis with all pair cuts off, TPC only *** | |
136 | // *** Begin pion-pion (positive) analysis *** | |
137 | int aniter = 0; | |
138 | ||
139 | for (int imult = 0; imult < numOfMultBins; imult++) { | |
140 | if (runmults[imult]) { | |
141 | ||
142 | for (int ichg = 0; ichg < numOfChTypes; ichg++) { | |
143 | if (runch[ichg]) { | |
144 | ||
145 | for (int iepvzero = 0; iepvzero < numOfEPvzero; iepvzero++) { | |
146 | if (runepvzero[iepvzero]) { | |
147 | ||
148 | aniter = imult * numOfChTypes + ichg * numOfEPvzero + iepvzero; | |
149 | // aniter = ichg * numOfMultBins + imult * numOfEPvzero + iepvzero; | |
150 | ||
151 | // cout << "aniter = " << aniter << endl; | |
152 | // aniter = ichg * numOfMultBins + imult; | |
153 | ||
154 | // if (ichg == 2) | |
155 | // runshlcms = 0; | |
156 | // else | |
157 | // runshlcms = 1; | |
158 | ||
159 | ||
160 | //________________________ | |
161 | ||
162 | anetaphitpc[aniter] = new AliFemtoVertexMultAnalysis(8, -8.0, 8.0, 4, multbins[imult], multbins[imult+1]); | |
163 | anetaphitpc[aniter]->SetNumEventsToMix(10); | |
164 | anetaphitpc[aniter]->SetMinSizePartCollection(1); | |
165 | anetaphitpc[aniter]->SetVerboseMode(kFALSE); | |
166 | ||
167 | mecetaphitpc[aniter] = new AliFemtoBasicEventCut(); | |
168 | mecetaphitpc[aniter]->SetEventMult(0.001,100000); | |
169 | mecetaphitpc[aniter]->SetVertZPos(-8,8); | |
170 | ||
171 | if (iepvzero == 6) | |
172 | mecetaphitpc[aniter]->SetEPVZERO(epvzerobins[0],epvzerobins[6]); | |
173 | else | |
174 | mecetaphitpc[aniter]->SetEPVZERO(epvzerobins[iepvzero],epvzerobins[iepvzero+1]); | |
175 | ||
176 | // if (isrealdata) | |
177 | // mecetaphitpc[aniter]->SetAcceptOnlyPhysics(kTRUE); | |
178 | ||
179 | cutPassEvMetaphitpc[aniter] = new AliFemtoCutMonitorEventMult(Form("cutPass%stpcM%iPsi%i", chrgs[ichg], imult, iepvzero)); | |
180 | cutFailEvMetaphitpc[aniter] = new AliFemtoCutMonitorEventMult(Form("cutFail%stpcM%iPsi%i", chrgs[ichg], imult, iepvzero)); | |
181 | mecetaphitpc[aniter]->AddCutMonitor(cutPassEvMetaphitpc[aniter], cutFailEvMetaphitpc[aniter]); | |
182 | ||
183 | // cutPassEvVetaphitpc[aniter] = new AliFemtoCutMonitorEventVertex(Form("cutPass%stpcM%i", chrgs[ichg], imult)); | |
184 | // cutFailEvVetaphitpc[aniter] = new AliFemtoCutMonitorEventVertex(Form("cutFail%stpcM%i", chrgs[ichg], imult)); | |
185 | // mecetaphitpc[aniter]->AddCutMonitor(cutPassEvVetaphitpc[aniter], cutFailEvVetaphitpc[aniter]); | |
186 | ||
187 | dtc1etaphitpc[aniter] = new AliFemtoESDTrackCut(); | |
188 | dtc2etaphitpc[aniter] = new AliFemtoESDTrackCut(); | |
189 | ||
190 | if (ichg == 0) { | |
191 | dtc1etaphitpc[aniter]->SetCharge(1.0); | |
192 | dtc1etaphitpc[aniter]->SetPt(0.5,5.0); | |
193 | } | |
194 | else if (ichg == 1) { | |
195 | dtc1etaphitpc[aniter]->SetCharge(-1.0); | |
196 | dtc1etaphitpc[aniter]->SetPt(0.3,5.0); | |
197 | } | |
198 | else if (ichg == 2) { | |
199 | dtc1etaphitpc[aniter]->SetCharge(-1.0); | |
200 | dtc2etaphitpc[aniter]->SetCharge(1.0); | |
201 | dtc1etaphitpc[aniter]->SetPt(0.3,5.0); | |
202 | dtc2etaphitpc[aniter]->SetPt(0.5,5.0); | |
203 | ||
204 | } | |
205 | ||
206 | dtc1etaphitpc[aniter]->SetEta(-0.8,0.8); | |
207 | dtc1etaphitpc[aniter]->SetMass(ProtonMass); | |
208 | dtc1etaphitpc[aniter]->SetMostProbableProton(); | |
209 | ||
210 | if (ichg == 2) { | |
211 | dtc2etaphitpc[aniter]->SetEta(-0.8,0.8); | |
212 | dtc2etaphitpc[aniter]->SetMass(ProtonMass); | |
213 | dtc2etaphitpc[aniter]->SetMostProbableProton(); | |
214 | } | |
215 | ||
216 | // Track quality cuts | |
217 | ||
218 | if (runtype == 0) { | |
219 | dtc1etaphitpc[aniter]->SetStatus(AliESDtrack::kTPCrefit|AliESDtrack::kITSrefit); | |
220 | // dtc1etaphitpc[aniter]->SetStatus(AliESDtrack::kTPCrefit); | |
221 | // dtc1etaphitpc[aniter]->SetStatus(AliESDtrack::kITSrefit); | |
222 | dtc1etaphitpc[aniter]->SetminTPCncls(80); | |
223 | dtc1etaphitpc[aniter]->SetRemoveKinks(kTRUE); | |
224 | dtc1etaphitpc[aniter]->SetLabel(kFALSE); | |
225 | // dtc1etaphitpc[aniter]->SetMaxITSChiNdof(6.0); | |
226 | dtc1etaphitpc[aniter]->SetMaxTPCChiNdof(4.0); | |
227 | dtc1etaphitpc[aniter]->SetMaxImpactXY(0.2); | |
228 | // dtc1etaphitpc[aniter]->SetMaxImpactXYPtDep(0.0182, 0.0350, -1.01); | |
229 | dtc1etaphitpc[aniter]->SetMaxImpactZ(0.15); | |
230 | // dtc1etaphitpc[aniter]->SetMaxSigmaToVertex(6.0); | |
231 | } | |
232 | else if (runtype == 1) { | |
233 | // dtc1etaphitpc[aniter]->SetStatus(AliESDtrack::kTPCrefit|AliESDtrack::kITSrefit); | |
234 | // dtc1etaphitpc[aniter]->SetStatus(AliESDtrack::kTPCrefit); | |
235 | // dtc1etaphitpc[aniter]->SetStatus(AliESDtrack::kITSrefit|AliESDtrack::kITSpureSA); | |
236 | // dtc1etaphitpc[aniter]->SetminTPCncls(70); | |
237 | dtc1etaphitpc[aniter]->SetStatus(AliESDtrack::kITSrefit); | |
238 | dtc1etaphitpc[aniter]->SetRemoveKinks(kTRUE); | |
239 | dtc1etaphitpc[aniter]->SetLabel(kFALSE); | |
240 | // dtc1etaphitpc[aniter]->SetMaxITSChiNdof(6.0); | |
241 | // dtc1etaphitpc[aniter]->SetMaxTPCChiNdof(6.0); | |
242 | dtc1etaphitpc[aniter]->SetMaxImpactXY(0.2); | |
243 | dtc1etaphitpc[aniter]->SetMaxImpactZ(0.25); | |
244 | // dtc1etaphitpc[aniter]->SetMaxSigmaToVertex(6.0); | |
245 | } | |
246 | else if (runtype == 2) { | |
247 | //dtc1etaphitpc[aniter]->SetStatus(AliESDtrack::kTPCrefit|AliESDtrack::kITSrefit); | |
248 | dtc1etaphitpc[aniter]->SetStatus(AliESDtrack::kTPCin); | |
249 | dtc1etaphitpc[aniter]->SetminTPCncls(80); | |
250 | dtc1etaphitpc[aniter]->SetRemoveKinks(kTRUE); | |
251 | dtc1etaphitpc[aniter]->SetLabel(kFALSE); | |
252 | dtc1etaphitpc[aniter]->SetMaxTPCChiNdof(4.0); | |
253 | dtc1etaphitpc[aniter]->SetMaxImpactXY(0.1); // 2.4 0.1 | |
254 | //dtc1etaphitpc[aniter]->SetMaxImpactXYPtDep(0.018, 0.035, -1.01); // DCA xy | |
255 | dtc1etaphitpc[aniter]->SetMaxImpactZ(2.0); // 2.0 0.1 | |
256 | ||
257 | if (ichg == 2) { | |
258 | //dtc1etaphitpc[aniter]->SetStatus(AliESDtrack::kTPCrefit|AliESDtrack::kITSrefit); | |
259 | dtc2etaphitpc[aniter]->SetStatus(AliESDtrack::kTPCin); | |
260 | dtc2etaphitpc[aniter]->SetminTPCncls(80); | |
261 | dtc2etaphitpc[aniter]->SetRemoveKinks(kTRUE); | |
262 | dtc2etaphitpc[aniter]->SetLabel(kFALSE); | |
263 | dtc2etaphitpc[aniter]->SetMaxTPCChiNdof(4.0); | |
264 | dtc2etaphitpc[aniter]->SetMaxImpactXY(0.1); // 2.4 0.1 | |
265 | //dtc2etaphitpc[aniter]->SetMaxImpactXYPtDep(0.018, 0.035, -1.01); // DCA xy | |
266 | dtc2etaphitpc[aniter]->SetMaxImpactZ(2.0); // 2.0 0.1 | |
267 | } | |
268 | ||
269 | } | |
270 | ||
271 | cutPass1YPtetaphitpc[aniter] = new AliFemtoCutMonitorParticleYPt(Form("cutPass1%stpcM%iPsi%i", chrgs[ichg], imult, iepvzero),ProtonMass); | |
272 | cutFail1YPtetaphitpc[aniter] = new AliFemtoCutMonitorParticleYPt(Form("cutFail1%stpcM%iPsi%i", chrgs[ichg], imult, iepvzero),ProtonMass); | |
273 | dtc1etaphitpc[aniter]->AddCutMonitor(cutPass1YPtetaphitpc[aniter], cutFail1YPtetaphitpc[aniter]); | |
274 | ||
275 | cutPass1PIDetaphitpc[aniter] = new AliFemtoCutMonitorParticlePID(Form("cutPass1%stpcM%iPsi%i", chrgs[ichg], imult, iepvzero),2);//0-pion,1-kaon,2-proton | |
276 | cutFail1PIDetaphitpc[aniter] = new AliFemtoCutMonitorParticlePID(Form("cutFail1%stpcM%iPsi%i", chrgs[ichg], imult , iepvzero),2); | |
277 | dtc1etaphitpc[aniter]->AddCutMonitor(cutPass1PIDetaphitpc[aniter], cutFail1PIDetaphitpc[aniter]); | |
278 | ||
279 | // if (ichg == 2){ | |
280 | // cutPass2PIDetaphitpc[aniter] = new AliFemtoCutMonitorParticlePID(Form("cutPass2%stpcM%i", chrgs[ichg], imult),2);//0-pion,1-kaon,2-proton | |
281 | // cutFail2PIDetaphitpc[aniter] = new AliFemtoCutMonitorParticlePID(Form("cutFail2%stpcM%i", chrgs[ichg], imult),2); | |
282 | // dtc2etaphitpc[aniter]->AddCutMonitor(cutPass2PIDetaphitpc[aniter], cutFail2PIDetaphitpc[aniter]); | |
283 | // } | |
284 | ||
285 | // sqpcetaphitpc[aniter] = new AliFemtoPairCutAntiGamma(); | |
286 | sqpcetaphitpc[aniter] = new AliFemtoPairCutRadialDistance(); | |
287 | ||
288 | if (runtype == 0) { | |
289 | sqpcetaphitpc[aniter]->SetShareQualityMax(1.0); | |
290 | sqpcetaphitpc[aniter]->SetShareFractionMax(0.05); | |
291 | sqpcetaphitpc[aniter]->SetRemoveSameLabel(kFALSE); | |
292 | // sqpcetaphitpc[aniter]->SetMaxEEMinv(0.0); | |
293 | // sqpcetaphitpc[aniter]->SetMaxThetaDiff(0.0); | |
294 | // sqpcetaphitpc[aniter]->SetTPCEntranceSepMinimum(1.5); | |
295 | //sqpcetaphitpc[aniter]->SetRadialDistanceMinimum(0.12, 0.03); | |
296 | // sqpcetaphitpc[aniter]->SetEtaDifferenceMinimum(0.02); | |
297 | } | |
298 | else if (runtype == 1) { | |
299 | sqpcetaphitpc[aniter]->SetShareQualityMax(1.0); | |
300 | sqpcetaphitpc[aniter]->SetShareFractionMax(1.05); | |
301 | sqpcetaphitpc[aniter]->SetRemoveSameLabel(kFALSE); | |
302 | // sqpcetaphitpc[aniter]->SetMaxEEMinv(0.002); | |
303 | // sqpcetaphitpc[aniter]->SetMaxThetaDiff(0.008); | |
304 | // sqpcetaphitpc[aniter]->SetTPCEntranceSepMinimum(5.0); | |
305 | //sqpcetaphitpc[aniter]->SetRadialDistanceMinimum(1.2, 0.03); | |
306 | // sqpcetaphitpc[aniter]->SetEtaDifferenceMinimum(0.02); | |
307 | } | |
308 | else if (runtype == 2) { | |
309 | //sqpcetaphitpc[aniter]->SetUseAOD(kTRUE); | |
310 | ||
311 | sqpcetaphitpc[aniter]->SetShareQualityMax(1.0); | |
312 | sqpcetaphitpc[aniter]->SetShareFractionMax(0.05); | |
313 | sqpcetaphitpc[aniter]->SetRemoveSameLabel(kFALSE); | |
314 | ||
315 | // if (gammacut == 0) { | |
316 | //sqpcetaphitpc[aniter]->SetMaxEEMinv(0.0); | |
317 | //sqpcetaphitpc[aniter]->SetMaxThetaDiff(0.0); | |
318 | //} | |
319 | //else if (gammacut == 1) { | |
320 | //sqpcetaphitpc[aniter]->SetMaxEEMinv(0.002); | |
321 | //sqpcetaphitpc[aniter]->SetMaxThetaDiff(0.008); | |
322 | //} | |
323 | ||
324 | // sqpcetaphitpc[aniter]->SetMagneticFieldSign(-1); // field1 -1, field3 +1 | |
325 | // sqpcetaphitpc[aniter]->SetMinimumRadius(0.8); // biggest inefficiency for R=1.1 m (checked on small sample) | |
326 | sqpcetaphitpc[aniter]->SetPhiStarDifferenceMinimum(0.012); // 0.012 - pions, 0.017 - kaons, 0.018 | |
327 | sqpcetaphitpc[aniter]->SetEtaDifferenceMinimum(0.015); // 0.017 - pions, 0.015 - kaons | |
328 | ||
329 | } | |
330 | ||
331 | anetaphitpc[aniter]->SetEventCut(mecetaphitpc[aniter]); | |
332 | ||
333 | if (ichg == 2) { | |
334 | anetaphitpc[aniter]->SetFirstParticleCut(dtc1etaphitpc[aniter]); | |
335 | anetaphitpc[aniter]->SetSecondParticleCut(dtc2etaphitpc[aniter]); | |
336 | } | |
337 | else { | |
338 | anetaphitpc[aniter]->SetFirstParticleCut(dtc1etaphitpc[aniter]); | |
339 | anetaphitpc[aniter]->SetSecondParticleCut(dtc1etaphitpc[aniter]); | |
340 | } | |
341 | ||
342 | anetaphitpc[aniter]->SetPairCut(sqpcetaphitpc[aniter]); | |
343 | ||
344 | ||
345 | if (ichg == 2) { | |
346 | ckstartpc[aniter] = new AliFemtoCorrFctnNonIdDR(Form("ckstar%stpcM%iPsi%i", chrgs[ichg], imult, iepvzero),nbinssh,0.0,shqmax); | |
347 | anetaphitpc[aniter]->AddCorrFctn(ckstartpc[aniter]); | |
348 | } | |
349 | else { | |
350 | ||
351 | cqinvtpc[aniter] = new AliFemtoQinvCorrFctn(Form("cqinv%stpcM%iPsi%i", chrgs[ichg], imult, iepvzero),2*nbinssh,0.0,2*shqmax); | |
352 | anetaphitpc[aniter]->AddCorrFctn(cqinvtpc[aniter]); | |
353 | ||
354 | } | |
355 | ||
356 | // cylmtpc[aniter] = new AliFemtoCorrFctnDirectYlm(Form("cylm%stpcM%i", chrgs[ichg], imult),2,nbinssh, 0.0,shqmax,runshlcms); | |
357 | // anetaphitpc[aniter]->AddCorrFctn(cylmtpc[aniter]); | |
358 | ||
359 | ||
360 | // cqinvinnertpc[aniter] = new AliFemtoTPCInnerCorrFctn(Form("cqinvinner%stpcM", chrgs[ichg], imult),nbinssh,0.0,shqmax); | |
361 | // anetaphitpc[aniter]->AddCorrFctn(cqinvinnertpc[aniter]); | |
362 | ||
363 | ||
364 | if (runktdep) { | |
365 | int ktm; | |
366 | for (int ikt=0; ikt<numOfkTbins; ikt++) { | |
367 | ||
368 | ktm = aniter * numOfkTbins + ikt; | |
369 | ktpcuts[ktm] = new AliFemtoKTPairCut(ktrng[ikt], ktrng[ikt+1]); | |
370 | ||
371 | ||
372 | // cylmkttpc[ktm] = new AliFemtoCorrFctnDirectYlm(Form("cylm%stpcM%ikT%i", chrgs[ichg], imult, ikt),2,nbinssh,0.0,shqmax,runshlcms); | |
373 | // cylmkttpc[ktm]->SetPairSelectionCut(ktpcuts[ktm]); | |
374 | // anetaphitpc[aniter]->AddCorrFctn(cylmkttpc[ktm]); | |
375 | ||
376 | ||
377 | ||
378 | if (ichg == 2) { | |
379 | ckstarkttpc[ktm] = new AliFemtoCorrFctnNonIdDR(Form("ckstar%stpcM%iPsi%ikT%i", chrgs[ichg], imult, iepvzero, ikt),nbinssh,0.0,shqmax); | |
380 | ckstarkttpc[ktm]->SetPairSelectionCut(ktpcuts[ktm]); | |
381 | anetaphitpc[aniter]->AddCorrFctn(ckstarkttpc[ktm]); | |
382 | ||
383 | ||
384 | } | |
385 | else { | |
386 | cqinvkttpc[ktm] = new AliFemtoQinvCorrFctn(Form("cqinv%stpcM%iPsi%ikT%i", chrgs[ichg], imult, iepvzero, ikt),2*nbinssh,0.0,2*shqmax); | |
387 | cqinvkttpc[ktm]->SetPairSelectionCut(ktpcuts[ktm]); | |
388 | anetaphitpc[aniter]->AddCorrFctn(cqinvkttpc[ktm]); | |
389 | } | |
390 | ||
391 | // cqinvsqtpc[ktm] = new AliFemtoShareQualityCorrFctn(Form("cqinvsq%stpcM%ikT%i", chrgs[ichg], imult, ikt),nbinssh,0.0,shqmax); | |
392 | // cqinvsqtpc[ktm]->SetPairSelectionCut(ktpcuts[ktm]); | |
393 | // anetaphitpc[aniter]->AddCorrFctn(cqinvsqtpc[ktm]); | |
394 | ||
395 | // cqinvinnertpc[ktm] = new AliFemtoTPCInnerCorrFctn(Form("cqinvinner%stpcM%ikT%i", chrgs[ichg], imult, ikt),nbinssh,0.0,shqmax); | |
396 | // cqinvinnertpc[ktm]->SetPairSelectionCut(ktpcuts[ktm]); | |
397 | // cqinvinnertpc[ktm]->SetRadius(1.2); | |
398 | // anetaphitpc[aniter]->AddCorrFctn(cqinvinnertpc[ktm]); | |
399 | ||
400 | // if (run3d) { | |
401 | // cq3dlcmskttpc[ktm] = new AliFemtoCorrFctn3DLCMSSym(Form("cq3d%stpcM%ikT%i", chrgs[ichg], imult, ikt),60,(imult>3)?((imult>6)?((imult>7)?0.6:0.4):0.25):0.15); | |
402 | // cq3dlcmskttpc[ktm]->SetPairSelectionCut(ktpcuts[ktm]); | |
403 | // anetaphitpc[aniter]->AddCorrFctn(cq3dlcmskttpc[ktm]); | |
404 | // } | |
405 | } | |
406 | } | |
407 | ||
408 | // cdedpetaphi[aniter] = new AliFemtoCorrFctnDEtaDPhi(Form("cdedp%stpcM%i", chrgs[ichg], imult),24, 24); | |
409 | // anetaphitpc[aniter]->AddCorrFctn(cdedpetaphi[aniter]); | |
410 | ||
411 | Manager->AddAnalysis(anetaphitpc[aniter]); | |
412 | } | |
413 | } | |
414 | } | |
415 | } | |
416 | } | |
417 | } | |
418 | ||
419 | ||
420 | // *** End pion-pion (positive) analysis | |
421 | ||
422 | ||
423 | return Manager; | |
424 | } |