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