AliPhysics  9b6b435 (9b6b435)
ConfigVertexingHF_Pb_AllCent_NoLS_PIDLc_PtDepSel_LcMinpt1_DsMinPt15_2018opt.C
Go to the documentation of this file.
2 
3  printf("Call to AliAnalysisVertexingHF parameters setting (2018 PbPb file):\n");
5  //Set Reduce Size dAOD
6  vHF->SetMakeReducedRHF(kTRUE);
7 
8  //--- switch-off candidates finding (default: all on)
9  //vHF->SetD0toKpiOff();
10  vHF->SetJPSItoEleOff();
11  // vHF->Set3ProngOff();
12  vHF->SetLikeSignOff(); // like-sign pairs and triplets
13  vHF->SetLikeSign3prongOff();
14  vHF->Set4ProngOff();
15  // vHF->SetDstarOff();
16  vHF->SetFindVertexForDstar(kFALSE);
17  //--- secondary vertex with KF?
18  //vHF->SetSecVtxWithKF();
19  //vHF->SetCascadesOff();
20  vHF->SetFindVertexForCascades(kFALSE);
21  vHF->SetMassCutBeforeVertexing(kTRUE); // PbPb
23 
24  //set PID
25  vHF->SetUseKaonPIDfor3Prong(kFALSE);
28  // vHF->SetnSigmaTOFforKaonSel(5., 5.);
29  // vHF->SetnSigmaTPCforKaonSel(5., 5.);
30  vHF->SetnSigmaTOFforProtonSel(40.,40.);
31  vHF->SetnSigmaTPCforProtonSel(5., 5.);
32  vHF->SetnSigmaTPCforPionSel(40., 40.);
33  vHF->SetnSigmaTOFforPionSel(40.,40.);
34  vHF->SetMaxMomForTPCPid(9999999999.);
35  vHF->SetUseTPCPID(kTRUE);
36  vHF->SetUseTOFPID(kFALSE);
37  // vHF->SetUseTPCPIDOnlyIfNoTOF(kTRUE);
38 
39 
40  //--- set cuts for single-track selection
41  // displaced tracks
42  AliESDtrackCuts *esdTrackCuts = new AliESDtrackCuts("AliESDtrackCuts","default");
43  esdTrackCuts->SetRequireTPCRefit(kTRUE);
44  esdTrackCuts->SetMinNClustersTPC(50);
45  esdTrackCuts->SetRequireITSRefit(kTRUE);
46  //esdTrackCuts->SetMinNClustersITS(4);
47  esdTrackCuts->SetClusterRequirementITS(AliESDtrackCuts::kSPD,
48  AliESDtrackCuts::kAny);
49  // |d0|>25 micron for pt<2GeV, no cut above 2
50  esdTrackCuts->SetMinDCAToVertexXYPtDep("0.0025*TMath::Max(0.,(1-TMath::Floor(TMath::Abs(pt)/2.)))");
51  esdTrackCuts->SetMaxDCAToVertexXY(1.);
52  esdTrackCuts->SetMaxDCAToVertexZ(1.);
53  esdTrackCuts->SetPtRange(0.4,1.e10);
54  esdTrackCuts->SetEtaRange(-0.8,+0.8);
55  AliAnalysisFilter *trkFilter = new AliAnalysisFilter("trackFilter");
56  trkFilter->AddCuts(esdTrackCuts);
57  vHF->SetTrackFilter(trkFilter);
58 
59  // displaced tracks for 20% most central events 2 prongs
60  AliESDtrackCuts *esdTrackCuts1 = new AliESDtrackCuts("AliESDtrackCuts","default");
61  esdTrackCuts1->SetRequireTPCRefit(kTRUE);
62  esdTrackCuts1->SetMinNClustersTPC(50);
63  esdTrackCuts1->SetRequireITSRefit(kTRUE);
64  //esdTrackCuts->SetMinNClustersITS(4);
65  esdTrackCuts1->SetClusterRequirementITS(AliESDtrackCuts::kSPD,
66  AliESDtrackCuts::kAny);
67  // |d0|>25 micron for pt<2GeV, no cut above 2
68  esdTrackCuts1->SetMinDCAToVertexXYPtDep("0.0025*TMath::Max(0.,(1-TMath::Floor(TMath::Abs(pt)/2.)))");
69  esdTrackCuts1->SetMaxDCAToVertexXY(1.);
70  esdTrackCuts1->SetMaxDCAToVertexZ(1.);
71  esdTrackCuts1->SetPtRange(0.5,1.e10);
72  esdTrackCuts1->SetEtaRange(-0.8,+0.8);
73  AliAnalysisFilter *trkFilter1 = new AliAnalysisFilter("trackFilter");
74  trkFilter1->AddCuts(esdTrackCuts1);
75  vHF->SetTrackFilter2prongPbCentral(20.,trkFilter1); // for centrality 0-20%
76 
77  // displaced tracks for 20% most central events 3 prongs
78  AliESDtrackCuts *esdTrackCuts2 = new AliESDtrackCuts("AliESDtrackCuts","default");
79  esdTrackCuts2->SetRequireTPCRefit(kTRUE);
80  esdTrackCuts2->SetMinNClustersTPC(50);
81  esdTrackCuts2->SetRequireITSRefit(kTRUE);
82  //esdTrackCuts->SetMinNClustersITS(4);
83  esdTrackCuts2->SetClusterRequirementITS(AliESDtrackCuts::kSPD,
84  AliESDtrackCuts::kAny);
85  // |d0|>60 micron for pt<2GeV, no cut above 2
86  esdTrackCuts2->SetMinDCAToVertexXYPtDep("0.0060*TMath::Max(0.,(1-TMath::Floor(TMath::Abs(pt)/2.)))");
87  esdTrackCuts2->SetMaxDCAToVertexXY(1.);
88  esdTrackCuts2->SetMaxDCAToVertexZ(1.);
89  esdTrackCuts2->SetPtRange(0.6,1.e10);
90  esdTrackCuts2->SetEtaRange(-0.8,+0.8);
91  AliAnalysisFilter *trkFilter2 = new AliAnalysisFilter("trackFilter");
92  trkFilter2->AddCuts(esdTrackCuts2);
93  vHF->SetTrackFilter3prongPbCentral(20.,trkFilter2); // for centrality 0-20%
94 
95  // D* soft pion tracks
96  AliESDtrackCuts *esdTrackCutsSoftPi = new AliESDtrackCuts("AliESDtrackCuts","default");
97  esdTrackCutsSoftPi->SetRequireITSRefit(kTRUE);
98  esdTrackCutsSoftPi->SetMinNClustersITS(2);
99  esdTrackCutsSoftPi->SetMaxDCAToVertexXY(1.);
100  esdTrackCutsSoftPi->SetMaxDCAToVertexZ(1.);
101  esdTrackCutsSoftPi->SetPtRange(0.1,1.e10);
102  esdTrackCutsSoftPi->SetEtaRange(-0.8,+0.8);
103  AliAnalysisFilter *trkFilterSoftPi = new AliAnalysisFilter("trackFilterSoftPi");
104  trkFilterSoftPi->AddCuts(esdTrackCutsSoftPi);
105  vHF->SetTrackFilterSoftPi(trkFilterSoftPi);
106 
107  // bachelor track cuts
108  AliESDtrackCuts *esdTrackCutsBach = new AliESDtrackCuts("AliESDtrackCuts","default");
109  esdTrackCutsBach->SetRequireTPCRefit(kTRUE);
110  esdTrackCutsBach->SetMinNClustersTPC(50);
111  esdTrackCutsBach->SetRequireITSRefit(kTRUE);
112  esdTrackCutsBach->SetClusterRequirementITS(AliESDtrackCuts::kSPD,
113  AliESDtrackCuts::kAny);
114  esdTrackCutsBach->SetMaxDCAToVertexXY(1.);
115  esdTrackCutsBach->SetMaxDCAToVertexZ(1.);
116  esdTrackCutsBach->SetPtRange(0.5,1.e10);
117  esdTrackCutsBach->SetEtaRange(-0.8,+0.8);
118  AliAnalysisFilter *trkFilterBach = new AliAnalysisFilter("trackFilterBachelor");
119  trkFilterBach->AddCuts(esdTrackCutsBach);
120  vHF->SetTrackFilterBachelor(trkFilterBach);
121 
122 
123  //--- set cuts for candidates selection
124  Int_t nptbins=2; Float_t ptlimits[2]={0.,1000000.};
125 
126  const Int_t nptbinsD0=2;
127  Float_t ptlimitsD0[nptbinsD0+1]={0.,5.,1000000.};
128  Float_t** cutsArrayD0toKpi;
129  cutsArrayD0toKpi=new Float_t*[11];
130  for(Int_t iv=0;iv<11;iv++){
131  cutsArrayD0toKpi[iv]=new Float_t[nptbinsD0];
132  }
133  //0-5
134  cutsArrayD0toKpi[0][0]=0.25; //D0 inv mass window
135  cutsArrayD0toKpi[1][0]=999999.;
136  cutsArrayD0toKpi[2][0]=1.1;
137  cutsArrayD0toKpi[3][0]=0.;
138  cutsArrayD0toKpi[4][0]=0.;
139  cutsArrayD0toKpi[5][0]=999999.;
140  cutsArrayD0toKpi[6][0]=999999.;
141  cutsArrayD0toKpi[7][0]=0.; // d0xd0
142  cutsArrayD0toKpi[8][0]=0.5;
143  cutsArrayD0toKpi[9][0]=-1.;
144  cutsArrayD0toKpi[10][0]=0.;
145  //5-inf
146  cutsArrayD0toKpi[0][1]=0.4; //D0 inv mass window
147  cutsArrayD0toKpi[1][1]=999999.;
148  cutsArrayD0toKpi[2][1]=1.1;
149  cutsArrayD0toKpi[3][1]=0.;
150  cutsArrayD0toKpi[4][1]=0.;
151  cutsArrayD0toKpi[5][1]=999999.;
152  cutsArrayD0toKpi[6][1]=999999.;
153  cutsArrayD0toKpi[7][1]=0.0001; // d0xd0
154  cutsArrayD0toKpi[8][1]=0.5;
155  cutsArrayD0toKpi[9][1]=-1.;
156  cutsArrayD0toKpi[10][1]=0.;
157 
158 
159  AliRDHFCutsD0toKpi *cutsD0toKpi = new AliRDHFCutsD0toKpi("CutsD0toKpi");
160  cutsD0toKpi->SetStandardCutsPbPb2010();
161  cutsD0toKpi->SetMinPtCandidate(0.);
162  cutsD0toKpi->SetUsePID(kFALSE);
163  cutsD0toKpi->SetUseTrackSelectionWithFilterBits(kFALSE);
164  cutsD0toKpi->SetUseSpecialCuts(kFALSE);
165  cutsD0toKpi->SetUsePhysicsSelection(kFALSE);
166  cutsD0toKpi->SetMaxCentrality(90.);
167  cutsD0toKpi->SetMaxVtxZ(1.e6);
168  cutsD0toKpi->SetTriggerClass("");
169  cutsD0toKpi->SetPtBins(nptbinsD0+1,ptlimitsD0);
170  cutsD0toKpi->SetCuts(11,nptbinsD0,cutsArrayD0toKpi);
171  cutsD0toKpi->AddTrackCuts(esdTrackCuts);
172  vHF->SetCutsD0toKpi(cutsD0toKpi);
173  AliRDHFCutsJpsitoee *cutsJpsitoee = new AliRDHFCutsJpsitoee("CutsJpsitoee");
174  Float_t cutsArrayJpsitoee[9]={0.350,100000.,1.1,0.,0.,100000.,100000.,100000000.,-1.1};
175  cutsJpsitoee->SetCuts(9,cutsArrayJpsitoee);
176  cutsJpsitoee->AddTrackCuts(esdTrackCuts);
177  vHF->SetCutsJpsitoee(cutsJpsitoee);
178 
179 
180  const Int_t nptbinsDp=2;
181  Float_t ptlimitsDp[nptbinsDp+1]={0.,4.,1000000.};
182  Float_t** cutsArrayDplustoKpipi;
183  cutsArrayDplustoKpipi=new Float_t*[14];
184  for(Int_t iv=0;iv<14;iv++){
185  cutsArrayDplustoKpipi[iv]=new Float_t[nptbinsDp];
186  }
187  //0-4
188  cutsArrayDplustoKpipi[0][0]=0.2;
189  cutsArrayDplustoKpipi[1][0]=0.3;
190  cutsArrayDplustoKpipi[2][0]=0.3;
191  cutsArrayDplustoKpipi[3][0]=0.;
192  cutsArrayDplustoKpipi[4][0]=0.;
193  cutsArrayDplustoKpipi[5][0]=0.01;
194  cutsArrayDplustoKpipi[6][0]=0.05;
195  cutsArrayDplustoKpipi[7][0]=0.05;
196  cutsArrayDplustoKpipi[8][0]=0.;
197  cutsArrayDplustoKpipi[9][0]=0.95;
198  cutsArrayDplustoKpipi[10][0]=0.;
199  cutsArrayDplustoKpipi[11][0]=10000000000.;
200  cutsArrayDplustoKpipi[12][0]=3.;
201  cutsArrayDplustoKpipi[13][0]=0.;
202  //4-inf
203  cutsArrayDplustoKpipi[0][1]=0.25;
204  cutsArrayDplustoKpipi[1][1]=0.3;
205  cutsArrayDplustoKpipi[2][1]=0.3;
206  cutsArrayDplustoKpipi[3][1]=0.;
207  cutsArrayDplustoKpipi[4][1]=0.;
208  cutsArrayDplustoKpipi[5][1]=0.01;
209  cutsArrayDplustoKpipi[6][1]=0.05;
210  cutsArrayDplustoKpipi[7][1]=0.05;
211  cutsArrayDplustoKpipi[8][1]=0.;
212  cutsArrayDplustoKpipi[9][1]=0.95;
213  cutsArrayDplustoKpipi[10][1]=0.;
214  cutsArrayDplustoKpipi[11][1]=10000000000.;
215  cutsArrayDplustoKpipi[12][1]=3.;
216  cutsArrayDplustoKpipi[13][1]=0.;
217 
218  AliRDHFCutsDplustoKpipi *cutsDplustoKpipi = new AliRDHFCutsDplustoKpipi("CutsDplustoKpipi");
219  cutsDplustoKpipi->SetStandardCutsPbPb2010();
220  cutsDplustoKpipi->SetUseTrackSelectionWithFilterBits(kFALSE);
221  cutsDplustoKpipi->SetUsePID(kFALSE);
222  // Float_t cutsArrayDplustoKpipi[14]={0.2,0.3,0.3,0.,0.,0.01,0.05,0.05,0.,0.95,0.,10000000000.,3.,0.};
223  cutsDplustoKpipi->SetPtBins(nptbinsDp+1,ptlimitsDp);
224  cutsDplustoKpipi->SetCuts(14,nptbinsDp,cutsArrayDplustoKpipi);
225  cutsDplustoKpipi->AddTrackCuts(esdTrackCuts);
226  cutsDplustoKpipi->SetMinPtCandidate(2.);
227  vHF->SetCutsDplustoKpipi(cutsDplustoKpipi);
228 
229  const Int_t nptbinsDs=2;
230  Float_t ptlimitsDs[nptbinsDs+1]={0.,4.,1000000.};
231  Float_t** cutsArrayDstoKKpi;
232  cutsArrayDstoKKpi=new Float_t*[20];
233  for(Int_t iv=0;iv<20;iv++){
234  cutsArrayDstoKKpi[iv]=new Float_t[nptbinsDp];
235  }
236  //0-4
237  cutsArrayDstoKKpi[0][0]=0.25;
238  cutsArrayDstoKKpi[1][0]=0.3;
239  cutsArrayDstoKKpi[2][0]=0.3;
240  cutsArrayDstoKKpi[3][0]=0.;
241  cutsArrayDstoKKpi[4][0]=0.;
242  cutsArrayDstoKKpi[5][0]=0. ;
243  cutsArrayDstoKKpi[6][0]=0.06;
244  cutsArrayDstoKKpi[7][0]=0.02;
245  cutsArrayDstoKKpi[8][0]=0.;
246  cutsArrayDstoKKpi[9][0]=0.92;
247  cutsArrayDstoKKpi[10][0]=0.;
248  cutsArrayDstoKKpi[11][0]=100000.;
249  cutsArrayDstoKKpi[12][0]=0.02;
250  cutsArrayDstoKKpi[13][0]=0.0001;
251  cutsArrayDstoKKpi[14][0]=-1.;
252  cutsArrayDstoKKpi[15][0]=1.;
253  cutsArrayDstoKKpi[16][0]=0.;
254  cutsArrayDstoKKpi[17][0]=0.;
255  cutsArrayDstoKKpi[18][0]=0.;
256  cutsArrayDstoKKpi[19][0]=-1.;
257  //4-inf
258  cutsArrayDstoKKpi[0][1]=0.3;
259  cutsArrayDstoKKpi[1][1]=0.3;
260  cutsArrayDstoKKpi[2][1]=0.3;
261  cutsArrayDstoKKpi[3][1]=0.;
262  cutsArrayDstoKKpi[4][1]=0.;
263  cutsArrayDstoKKpi[5][1]=0. ;
264  cutsArrayDstoKKpi[6][1]=0.06;
265  cutsArrayDstoKKpi[7][1]=0.02;
266  cutsArrayDstoKKpi[8][1]=0.;
267  cutsArrayDstoKKpi[9][1]=0.92;
268  cutsArrayDstoKKpi[10][1]=0.;
269  cutsArrayDstoKKpi[11][1]=100000.;
270  cutsArrayDstoKKpi[12][1]=0.02;
271  cutsArrayDstoKKpi[13][1]=0.0001;
272  cutsArrayDstoKKpi[14][1]=-1.;
273  cutsArrayDstoKKpi[15][1]=1.;
274  cutsArrayDstoKKpi[16][1]=0.;
275  cutsArrayDstoKKpi[17][1]=0.;
276  cutsArrayDstoKKpi[18][1]=0.;
277  cutsArrayDstoKKpi[19][1]=-1.;
278 
279  AliRDHFCutsDstoKKpi *cutsDstoKKpi = new AliRDHFCutsDstoKKpi("CutsDstoKKpi");
280  cutsDstoKKpi->SetStandardCutsPbPb2010();
281  cutsDstoKKpi->SetUseTrackSelectionWithFilterBits(kFALSE);
282  cutsDstoKKpi->SetUsePID(kFALSE);
283  cutsDstoKKpi->DisableK0starChannel();
284  // Float_t cutsArrayDstoKKpi[20]={0.2,0.3,0.3,0.,0.,0.,0.06,0.02,0.,0.92,0.,100000.,0.02,0.0001,-1.,1.,0.,0.,0.,-1.};
285  cutsDstoKKpi->SetPtBins(nptbinsDs+1,ptlimitsDs);
286  cutsDstoKKpi->SetCuts(20,nptbinsDs,cutsArrayDstoKKpi);
287  cutsDstoKKpi->AddTrackCuts(esdTrackCuts);
288  cutsDstoKKpi->SetMinPtCandidate(1.5);
289  vHF->SetCutsDstoKKpi(cutsDstoKKpi);
290  AliRDHFCutsLctopKpi *cutsLctopKpi = new AliRDHFCutsLctopKpi("CutsLctopKpi");
291  cutsLctopKpi->SetStandardCutsPbPb2010();
292  cutsLctopKpi->SetUseTrackSelectionWithFilterBits(kFALSE);
293  cutsLctopKpi->SetUsePID(kFALSE);
294  Float_t cutsArrayLctopKpi[13]={0.13,0.5,0.5,0.,0.,0.,0.06,0.,0.,0.,0.,0.05,0.5};
295  cutsLctopKpi->SetPtBins(nptbins,ptlimits);
296  cutsLctopKpi->SetCuts(13,cutsArrayLctopKpi);
297  cutsLctopKpi->AddTrackCuts(esdTrackCuts);
298  cutsLctopKpi->SetMinPtCandidate(4.);
299  vHF->SetCutsLctopKpi(cutsLctopKpi);
300  AliRDHFCutsD0toKpipipi *cutsD0toKpipipi = new AliRDHFCutsD0toKpipipi("CutsD0toKpipipi");
301  Float_t cutsArrayD0toKpipipi[9]={0.2,0.04,0.00,0.01,0.02,0.8,0.,0.1,0.};
302  cutsD0toKpipipi->SetCuts(9,cutsArrayD0toKpipipi);
303  cutsD0toKpipipi->AddTrackCuts(esdTrackCuts);
304  vHF->SetCutsD0toKpipipi(cutsD0toKpipipi);
305 
306 
307  // D* pt dependent cuts ------------------------------------------
308 
309  AliRDHFCutsDStartoKpipi *cutsDStartoKpipi = new AliRDHFCutsDStartoKpipi("CutsDStartoKpipi");
310  cutsDStartoKpipi->SetUseTrackSelectionWithFilterBits(kFALSE);
311  cutsDStartoKpipi->SetUsePID(kFALSE);
312  const Int_t nvars=16;
313  const Int_t nptbinsDst=2;
314 
315  Float_t* ptbins;
316  ptbins=new Float_t[nptbinsDst+1];
317  ptbins[0]=0.;
318  ptbins[1]=5.;
319  ptbins[2]=999.;
320 
321  cutsDStartoKpipi->SetPtBins(nptbinsDst+1,ptbins);
322 
323  Float_t** rdcutsvalmine;
324  rdcutsvalmine=new Float_t*[nvars];
325  for(Int_t iv=0;iv<nvars;iv++){
326  rdcutsvalmine[iv]=new Float_t[nptbinsDst];
327  }
328 
329  //0-5
330  rdcutsvalmine[0][0]=0.095; //D0 inv mass window
331  rdcutsvalmine[1][0]=0.05; // dca
332  rdcutsvalmine[2][0]=0.9; // thetastar
333  rdcutsvalmine[3][0]=0.5; // pt Pion
334  rdcutsvalmine[4][0]=0.5; // Pt Kaon
335  rdcutsvalmine[5][0]=0.1; // d0K
336  rdcutsvalmine[6][0]=0.1; // d0Pi
337  rdcutsvalmine[7][0]=-0.00001; // d0xd0
338  rdcutsvalmine[8][0]=0.9; // costhetapoint
339  rdcutsvalmine[9][0]=0.07; // Dstar inv mass window
340  rdcutsvalmine[10][0]=0.02; // half width of (M_Kpipi-M_D0)
341  rdcutsvalmine[11][0]=0.1; // Pt min of Pi soft
342  rdcutsvalmine[12][0]=100.; // Pt max of pi soft
343  rdcutsvalmine[13][0]=9999.; // theta
344  rdcutsvalmine[14][0]=0.96; // |cosThetaPointXY|
345  rdcutsvalmine[15][0]=2.5; // NormDecayLenghtXY
346  //5-999
347  rdcutsvalmine[0][1]=0.12; //D0 inv mass window
348  rdcutsvalmine[1][1]=0.06; // dca
349  rdcutsvalmine[2][1]=0.9; // thetastar
350  rdcutsvalmine[3][1]=0.5; // pt Pion
351  rdcutsvalmine[4][1]=0.5; // Pt Kaon
352  rdcutsvalmine[5][1]=0.1; // d0K
353  rdcutsvalmine[6][1]=0.1; // d0Pi
354  rdcutsvalmine[7][1]=0.0001; // d0xd0
355  rdcutsvalmine[8][1]=0.7; // costhetapoint
356  rdcutsvalmine[9][1]=0.2; // Dstar inv mass window
357  rdcutsvalmine[10][1]=0.02; // half width of (M_Kpipi-M_D0)
358  rdcutsvalmine[11][1]=0.1; // Pt min of Pi soft
359  rdcutsvalmine[12][1]=100.; // Pt max of pi soft
360  rdcutsvalmine[13][1]=9999.; // theta
361  rdcutsvalmine[14][1]=0.8; // |cosThetaPointXY|
362  rdcutsvalmine[15][1]=0.; // NormDecayLenghtXY
363 
364  cutsDStartoKpipi->SetCuts(nvars,nptbinsDst,rdcutsvalmine);
365 
366  cutsDStartoKpipi->AddTrackCuts(esdTrackCuts);
367  cutsDStartoKpipi->AddTrackCutsSoftPi(esdTrackCutsSoftPi);
368  cutsDStartoKpipi->SetMinPtCandidate(1.);
369  vHF->SetCutsDStartoKpipi(cutsDStartoKpipi);
370 
371  //--------------------------------------------------------
372 
373  AliRDHFCutsLctoV0 *cutsLctoV0 = new AliRDHFCutsLctoV0("CutsLctoV0");
374  Float_t cutsArrayLctoV0[21]={0.2,0.,0.05,0.05,0.5,0.0,0.0,1000.,1000.,0.99,3.,1000.,0.,0.,0.,0.5,9999.,-9999.,-9999.,-9999.,1};
375  cutsLctoV0->SetUseTrackSelectionWithFilterBits(kFALSE);
376  cutsLctoV0->SetMinPtCandidate(1.);
377  cutsLctoV0->SetCuts(21,cutsArrayLctoV0);
378  cutsLctoV0->AddTrackCuts(esdTrackCuts);
379 
380  AliESDtrackCuts *esdV0daughterTrackCuts = new AliESDtrackCuts("AliESDtrackCutsForV0D","default cuts for V0 daughters");
381  esdV0daughterTrackCuts->SetRequireTPCRefit(kTRUE);
382  esdV0daughterTrackCuts->SetMinNClustersTPC(30);
383  esdV0daughterTrackCuts->SetRequireITSRefit(kFALSE);
384  esdV0daughterTrackCuts->SetMinDCAToVertexXY(0.);
385  esdV0daughterTrackCuts->SetPtRange(0.05,1.e10);
386  esdV0daughterTrackCuts->SetEtaRange(-1.1,+1.1);
387  esdV0daughterTrackCuts->SetAcceptKinkDaughters(kTRUE);
388  esdV0daughterTrackCuts->SetRequireSigmaToVertex(kFALSE);
389  cutsLctoV0->AddTrackCutsV0daughters(esdV0daughterTrackCuts);
390  vHF->SetCutsLctoV0(cutsLctoV0);
391  //
392  //--- set this if you want to reconstruct primary vertex candidate by
393  // candidate using other tracks in the event (for pp, broad
394  // interaction region)
395  //vHF->SetRecoPrimVtxSkippingTrks();
396  //--- OR set this if you want to remove the candidate daughters from
397  // the primary vertex, without recostructing it from scratch
398  //vHF->SetRmTrksFromPrimVtx();
399 
400  //--- check the settings
401  vHF->PrintStatus();
402  //--- verbose
403  // AliLog::SetClassDebugLevel("AliAnalysisVertexingHF",2);
404 
405 
406  return vHF;
407 }
408 
409 
void SetCutsJpsitoee(AliRDHFCutsJpsitoee *cuts)
virtual void SetStandardCutsPbPb2010()
Definition: AliRDHFCuts.h:48
void SetMaxVtxZ(Float_t z=1e6)
Definition: AliRDHFCuts.h:62
void SetTrackFilterSoftPi(AliAnalysisFilter *trackF)
void SetTrackFilter(AliAnalysisFilter *trackF)
void SetCutsDstoKKpi(AliRDHFCutsDstoKKpi *cuts)
void SetCutsLctopKpi(AliRDHFCutsLctopKpi *cuts)
void SetMassCutBeforeVertexing(Bool_t flag)
void SetnSigmaTOFforProtonSel(Double_t nsl, Double_t nsh)
void SetFindVertexForCascades(Bool_t vtx=kTRUE)
void SetV0TypeForCascadeVertex(Int_t type)
void SetTrackFilterBachelor(AliAnalysisFilter *trackF)
void SetUsePhysicsSelection(Bool_t use=kTRUE)
Definition: AliRDHFCuts.h:364
void SetnSigmaTOFforPionSel(Double_t nsl, Double_t nsh)
void SetCutsD0toKpi(AliRDHFCutsD0toKpi *cuts)
Class for cuts on AOD reconstructed D+->Kpipi.
int Int_t
Definition: External.C:63
void SetCuts(Int_t nVars, Int_t nPtBins, Float_t **cutsRD)
float Float_t
Definition: External.C:68
void SetMakeReducedRHF(Bool_t makeredAOD=kFALSE)
void AddTrackCutsV0daughters(AliESDtrackCuts *v0daug)
void AddTrackCutsSoftPi(const AliESDtrackCuts *cuts)
void SetUseTOFPID(Bool_t opt=kTRUE)
virtual void SetStandardCutsPbPb2010()
void SetUseTrackSelectionWithFilterBits(Bool_t flag=kTRUE)
Definition: AliRDHFCuts.h:213
void SetMaxCentrality(Float_t maxCentrality=100.)
Definition: AliRDHFCuts.h:53
void SetMaxMomForTPCPid(Double_t mom)
void SetUsePID(Bool_t flag=kTRUE)
Definition: AliRDHFCuts.h:210
void SetUseTPCPID(Bool_t opt=kTRUE)
void SetUseSpecialCuts(Bool_t useSpecialCuts)
void SetnSigmaTPCforPionSel(Double_t nsl, Double_t nsh)
void SetPtBins(Int_t nPtBinLimits, Float_t *ptBinLimits)
void SetnSigmaTPCforProtonSel(Double_t nsl, Double_t nsh)
void SetCutsLctoV0(AliRDHFCutsLctoV0 *cuts)
void AddTrackCuts(const AliESDtrackCuts *cuts)
Definition: AliRDHFCuts.h:208
void SetMinPtCandidate(Double_t ptCand=-1.)
Definition: AliRDHFCuts.h:221
void SetTrackFilter2prongPbCentral(Float_t maxPercentile, AliAnalysisFilter *trackF)
void SetTriggerClass(TString trclass0, TString trclass1="")
Definition: AliRDHFCuts.h:198
virtual void SetStandardCutsPbPb2010()
void SetFindVertexForDstar(Bool_t vtx=kTRUE)
Int_t nptbins
void SetTrackFilter3prongPbCentral(Float_t maxPercentile, AliAnalysisFilter *trackF)
void SetCutsDStartoKpipi(AliRDHFCutsDStartoKpipi *cuts)
void SetCutsDplustoKpipi(AliRDHFCutsDplustoKpipi *cuts)
void SetCutsD0toKpipipi(AliRDHFCutsD0toKpipipi *cuts)
void SetUseKaonPIDfor3Prong(Bool_t opt=kTRUE)