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