AliPhysics  608b256 (608b256)
AliRDHFCutsDplustoKpipi.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 
16 /* $Id$ */
17 
19 //
20 // Class for cuts on AOD reconstructed D+->Kpipi
21 //
22 // Author: R. Bala, bala@to.infn.it
23 // G. Ortona, ortona@to.infn.it
25 
26 #include <TDatabasePDG.h>
27 #include <Riostream.h>
28 
29 #include "AliAODPidHF.h"
32 #include "AliAODTrack.h"
33 #include "AliESDtrack.h"
34 
35 
36 using std::cout;
37 using std::endl;
38 
40 ClassImp(AliRDHFCutsDplustoKpipi);
42 
43 
44 //--------------------------------------------------------------------------
46  AliRDHFCuts(name),
47  fUseStrongPid(0),
48  fMaxPtStrongPid(0.),
49  fMaxPStrongPidK(0.),
50  fMaxPStrongPidpi(0.),
51  fUseImpParProdCorrCut(kFALSE),
52  fUsed0MeasMinusExpCut(kFALSE),
53  fMaxd0MeasMinusExp(0x0),
54  fUsed0Cut(kFALSE),
55  fMaxd0(0x0),
56  fScaleNormDLxyBypOverPt(kTRUE)
57 {
58  //
59  // Default Constructor
60  //
61  Int_t nvars=14;
62  SetNVars(nvars);
63  TString varNames[14]={"inv. mass [GeV]",
64  "pTK [GeV/c]",
65  "pTPi [GeV/c]",
66  "d0K [cm] lower limit!",
67  "d0Pi [cm] lower limit!",
68  "dist12 (cm)",
69  "sigmavert (cm)",
70  "dist prim-sec (cm)",
71  "pM=Max{pT1,pT2,pT3} (GeV/c)",
72  "cosThetaPoint",
73  "Sum d0^2 (cm^2)",
74  "dca cut (cm)",
75  "dec len XY (cm)",
76  "cosThetaPointXY"};
77  Bool_t isUpperCut[14]={kTRUE,
78  kFALSE,
79  kFALSE,
80  kFALSE,
81  kFALSE,
82  kFALSE,
83  kTRUE,
84  kFALSE,
85  kFALSE,
86  kFALSE,
87  kFALSE,
88  kTRUE,
89  kFALSE,
90  kFALSE};
91  SetVarNames(nvars,varNames,isUpperCut);
92  Bool_t forOpt[14]={kFALSE,
93  kFALSE,
94  kFALSE,
95  kFALSE,
96  kFALSE,
97  kFALSE,
98  kTRUE,
99  kTRUE,
100  kTRUE,
101  kTRUE,
102  kTRUE,
103  kFALSE,
104  kTRUE,
105  kTRUE};
106  SetVarsForOpt(7,forOpt);
107  Float_t limits[2]={0,999999999.};
108  SetPtBins(2,limits);
109  if(fPidHF)delete fPidHF;
110  fPidHF=new AliAODPidHF();
111  Double_t plim[2]={0.6,0.8};
112  Double_t nsigma[5]={2.,1.,2.,3.,0.};
113 
114  fPidHF->SetPLimit(plim,2);
115  fPidHF->SetAsym(kTRUE);
116  fPidHF->SetSigma(nsigma);
117  fPidHF->SetMatch(1);
118  fPidHF->SetTPC(1);
119  fPidHF->SetTOF(1);
120  fPidHF->SetITS(0);
121  fPidHF->SetTRD(0);
122  fPidHF->SetCompat(kTRUE);
123 
124 
125 }
126 
127 
128 
129 
130 
131 
132 
133 
134 //--------------------------------------------------------------------------
136  AliRDHFCuts(source),
143  fMaxd0MeasMinusExp(0x0),
144  fUsed0Cut(source.fUsed0Cut),
145  fMaxd0(0x0),
147 {
148  //
149  // Copy constructor
150  //
152  if(source.fMaxd0) Setd0Cut(source.fnPtBins,source.fMaxd0);
153 }
154 //--------------------------------------------------------------------------
156 {
157  //
158  // assignment operator
159  //
160  if(&source == this) return *this;
161 
162  AliRDHFCuts::operator=(source);
163 
170  fUsed0Cut=source.fUsed0Cut;
172  if(source.fMaxd0) Setd0Cut(source.fnPtBins,source.fMaxd0);
174 
175  return *this;
176 }
177 
178 //---------------------------------------------------------------------------
180  //
181  // Destructor
182  //
184  if(fMaxd0) delete [] fMaxd0;
185 }
186 //---------------------------------------------------------------------------
188  //
189  // store the cuts
190  //
191  if(nPtBins!=fnPtBins) {
192  printf("Wrong number of pt bins: it has to be %d\n",fnPtBins);
193  AliFatal("exiting");
194  }
196  for(Int_t ib=0; ib<fnPtBins; ib++) fMaxd0MeasMinusExp[ib] = cutval[ib];
197  fUsed0MeasMinusExpCut=kTRUE;
198  return;
199 }
200 
201 //---------------------------------------------------------------------------
203  //
204  // store the cuts
205  //
206  if(nPtBins!=fnPtBins) {
207  printf("Wrong number of pt bins: it has to be %d\n",fnPtBins);
208  AliFatal("exiting");
209  }
210  if(!fMaxd0) fMaxd0 = new Float_t[fnPtBins];
211  for(Int_t ib=0; ib<fnPtBins; ib++) fMaxd0[ib] = cutval[ib];
212  fUsed0Cut=kTRUE;
213  return;
214 }
215 
216 //---------------------------------------------------------------------------
218  //
219  // apply pre selection
220  //
221  if(!fUsePreselect) return 3;
222  Int_t retVal=3;
223 
224  //compute pt
225  Double_t px=0, py=0;
226  AliAODTrack *track[3];
227  for(Int_t iDaught=0; iDaught<3; iDaught++) {
228  track[iDaught] = (AliAODTrack*)aodTracks.At(iDaught);
229  if(!track[iDaught]) return retVal;
230  px += track[iDaught]->Px();
231  py += track[iDaught]->Py();
232  }
233 
234  Double_t ptD=TMath::Sqrt(px*px+py*py);
235 
236  //not enabled for strong PID
237  Int_t pidoptmem = fUseStrongPid;
238  fUseStrongPid=kFALSE;
239  retVal=IsSelectedPID(ptD,aodTracks);
240  fUseStrongPid=pidoptmem;
241 
242  return retVal;
243 }
244 
245 //---------------------------------------------------------------------------
247  //
248  // Fills in vars the values of the variables
249  //
250 
251 
252  if(nvars!=fnVarsForOpt) {
253  printf("AliRDHFCutsDplustoKpipi::GetCutsVarsForOpt: wrong number of variables\n");
254  return;
255  }
256 
258 
259  //recalculate vertex w/o daughters
260  Bool_t cleanvtx=kFALSE;
261  AliAODVertex *origownvtx=0x0;
263  if(dd->GetOwnPrimaryVtx()) origownvtx=new AliAODVertex(*dd->GetOwnPrimaryVtx());
264  cleanvtx=kTRUE;
265  if(!RecalcOwnPrimaryVtx(dd,aod)) {
266  CleanOwnPrimaryVtx(dd,aod,origownvtx);
267  cleanvtx=kFALSE;
268  }
269  }
270 
271  Int_t iter=-1;
272  if(fVarsForOpt[0]){
273  iter++;
274  vars[iter]=dd->InvMassDplus();
275  }
276  if(fVarsForOpt[1]){
277  iter++;
278  for(Int_t iprong=0;iprong<3;iprong++){
279  if(TMath::Abs(pdgdaughters[iprong])==321) {
280  vars[iter]=dd->PtProng(iprong);
281  }
282  }
283  }
284  if(fVarsForOpt[2]){
285  iter++;
286  Float_t minPtDau=1000000.0;
287  for(Int_t iprong=0;iprong<3;iprong++){
288  if(TMath::Abs(pdgdaughters[iprong])==211) {
289  if(dd->PtProng(iprong)<minPtDau){
290  minPtDau=dd->PtProng(iprong);
291  }
292  }
293  }
294  vars[iter]=minPtDau;
295  }
296  if(fVarsForOpt[3]){
297  iter++;
298  for(Int_t iprong=0;iprong<3;iprong++){
299  if(TMath::Abs(pdgdaughters[iprong])==321) {
300  vars[iter]=dd->Getd0Prong(iprong);
301  }
302  }
303  }
304  if(fVarsForOpt[4]){
305  iter++;
306  Float_t minImpParDau=1000000.0;
307  for(Int_t iprong=0;iprong<3;iprong++){
308  if(TMath::Abs(pdgdaughters[iprong])==211) {
309  if(dd->Getd0Prong(iprong)<minImpParDau){
310  minImpParDau=dd->Getd0Prong(iprong);
311  }
312  }
313  }
314  vars[iter]=minImpParDau;
315  }
316  if(fVarsForOpt[5]){
317  iter++;
318  Float_t dist12 = dd->GetDist12toPrim();
319  Float_t dist23 = dd->GetDist23toPrim();
320  if(dist12<dist23)vars[iter]=dist12;
321  else vars[iter]=dist23;
322  }
323  if(fVarsForOpt[6]){
324  iter++;
325  vars[iter]=dd->GetSigmaVert(aod);
326  }
327  if(fVarsForOpt[7]){
328  iter++;
329  vars[iter] = dd->DecayLength();
330  }
331  if(fVarsForOpt[8]){
332  iter++;
333  Float_t ptmax=0;
334  for(Int_t i=0;i<3;i++){
335  if(dd->PtProng(i)>ptmax)ptmax=dd->PtProng(i);
336  }
337  vars[iter]=ptmax;
338  }
339  if(fVarsForOpt[9]){
340  iter++;
341  vars[iter]=dd->CosPointingAngle();
342  }
343  if(fVarsForOpt[10]){
344  iter++;
345  vars[iter]=dd->Getd0Prong(0)*dd->Getd0Prong(0)+dd->Getd0Prong(1)*dd->Getd0Prong(1)+dd->Getd0Prong(2)*dd->Getd0Prong(2);
346  }
347  if(fVarsForOpt[11]){
348  iter++;
349  Float_t maxDCA=0;
350  for(Int_t iprong=0;iprong<3;iprong++){
351  if(dd->GetDCA(iprong)<maxDCA){
352  maxDCA=dd->GetDCA(iprong);
353  }
354  }
355  vars[iter]=maxDCA;
356  }
357  if(fVarsForOpt[12]){
358  iter++;
359  if(fScaleNormDLxyBypOverPt) vars[iter]=dd->NormalizedDecayLengthXY()*dd->P()/dd->Pt();
360  else vars[iter]=dd->NormalizedDecayLengthXY();
361  }
362  if(fVarsForOpt[13]){
363  iter++;
364  vars[iter]=dd->CosPointingAngleXY();
365  }
366 
367  if(cleanvtx)CleanOwnPrimaryVtx(dd,aod,origownvtx);
368 
369  return;
370 }
371 //---------------------------------------------------------------------------
373 {
374  //
375  // Checking if Dplus is in fiducial acceptance region
376  //
377 
378  if(fMaxRapidityCand>-998.){
379  if(TMath::Abs(y) > fMaxRapidityCand) return kFALSE;
380  else return kTRUE;
381  }
382 
383  if(pt > 5.) {
384  // applying cut for pt > 5 GeV
385  AliDebug(2,Form("pt of D+ = %f (> 5), cutting at |y| < 0.8",pt));
386  if (TMath::Abs(y) > 0.8) return kFALSE;
387 
388  } else {
389  // appliying smooth cut for pt < 5 GeV
390  Double_t maxFiducialY = -0.2/15*pt*pt+1.9/15*pt+0.5;
391  Double_t minFiducialY = 0.2/15*pt*pt-1.9/15*pt-0.5;
392  AliDebug(2,Form("pt of D+ = %f (< 5), cutting according to the fiducial zone [%f, %f]\n",pt,minFiducialY,maxFiducialY));
393  if (y < minFiducialY || y > maxFiducialY) return kFALSE;
394  }
395 
396  return kTRUE;
397 }
398 
399 //---------------------------------------------------------------------------
401 {
402  if(!fUsePID || !rd) return -1;
403  //if(fUsePID)printf("i am inside the pid \n");
404  Int_t mask=0;
405  Int_t sign=rd->GetCharge();
406  for(Int_t daught=0;daught<3;daught++){
407  AliAODTrack *track=(AliAODTrack*)rd->GetDaughter(daught);
408 
409  if(sign==track->Charge()){//pions
410  Int_t isPion=fPidHF->MakeRawPid(track,AliPID::kPion);
411  if(isPion==0)mask+=1;
412  else if(isPion>0)mask+=3;
413  mask=mask<<2;
414  }
415  else{//kaons
416  Int_t isKaon=fPidHF->MakeRawPid(track,AliPID::kKaon);
417  if(isKaon==0)mask+=1;
418  else if(isKaon>0)mask+=3;
419  mask=mask<<2;
420  }
421  }
422  mask=mask>>2;
423  return mask;
424 }
425 //---------------------------------------------------------------------------
427 {
428  //
429  // PID selection, returns 3 if accepted, 0 if not accepted
430  //
431  Int_t retCode=3;
432  if(!fUsePID) return retCode;
433  if(rd) {
434  Double_t Pt = rd->Pt();
435  TObjArray aodtracks(3);
436  for(Int_t daught=0; daught<3; daught++) {
437  aodtracks.AddAt(rd->GetDaughter(daught),daught);
438  }
439  retCode = IsSelectedPID(Pt,aodtracks);
440  }
441 
442  return retCode;
443 }
444 
445 //---------------------------------------------------------------------------
447  //
448  // PID selection, returns 3 if accepted, 0 if not accepted
449  //
450  AliAODTrack *track[3];
451  for(Int_t daught=0; daught<3; daught++){
452  track[daught]=(AliAODTrack*)aodtracks.At(daught);
453  }
454 
455  if(!fUsePID || !track[0] || !track[1] || !track[2]) return 3;
456 
457  Int_t sign = track[0]->Charge();
458 
459  //if(fUsePID)printf("i am inside the pid \n");
460  Int_t nkaons=0;
461  Int_t nNotKaons=0;
462  for(Int_t daught=0;daught<3;daught++){
463  Int_t isPion=fPidHF->MakeRawPid(track[daught],AliPID::kPion);
464  Int_t isKaon=fPidHF->MakeRawPid(track[daught],AliPID::kKaon);
465  Int_t isProton=fPidHF->MakeRawPid(track[daught],AliPID::kProton);
466 
467  if(isProton>0 && isKaon<0 && isPion<0) return 0;
468  if(isKaon>0 && isPion<0) nkaons++;
469  if(isKaon<0) nNotKaons++;
470  if(sign==track[daught]->Charge()){//pions
471  if(isPion<0)return 0;
472  if(Pt<fMaxPtStrongPid && isPion<=0 && fUseStrongPid&2 && track[daught]->P()<fMaxPStrongPidpi)return 0;
473  }
474  else{//kaons
475  if(isKaon<0)return 0;
476  if(Pt<fMaxPtStrongPid && isKaon<=0 && fUseStrongPid&1&& track[daught]->P()<fMaxPStrongPidK)return 0;
477  }
478  }
479 
480  if(nkaons>1)return 0;
481  if(nNotKaons==3)return 0;
482 
483  return 3;
484 }
485 
486 //---------------------------------------------------------------------------
488  //
489  // Apply selection, returns 3 if accepted, 0 if not accepted
490  //
491 
492 
493  fIsSelectedCuts=0;
494  fIsSelectedPID=0;
495 
496  if(!fCutsRD){
497  cout<<"Cut matrix not inizialized. Exit..."<<endl;
498  return 0;
499  }
500  //PrintAll();
502 
503 
504  if(!d){
505  cout<<"AliAODRecoDecayHF3Prong null"<<endl;
506  return 0;
507  }
508 
509  if(fKeepSignalMC) if(IsSignalMC(d,aod,411)) return 3;
510 
511  // PID selection
512  Int_t returnvaluePID=3;
513  Int_t returnvalueCuts=3;
514 
515  Double_t pt=d->Pt();
516  if(pt<fMinPtCand) return 0;
517  if(pt>fMaxPtCand) return 0;
518 
520 
521  // selection on candidate
522  if(selectionLevel==AliRDHFCuts::kAll ||
523  selectionLevel==AliRDHFCuts::kCandidate) {
524 
525  //recalculate vertex w/o daughters
526  AliAODVertex *origownvtx=0x0;
528  if(d->GetOwnPrimaryVtx()) origownvtx=new AliAODVertex(*d->GetOwnPrimaryVtx());
529  if(!RecalcOwnPrimaryVtx(d,aod)) {
530  CleanOwnPrimaryVtx(d,aod,origownvtx);
531  return 0;
532  }
533  }
534 
535  if(fUseMCVertex) {
536  if(d->GetOwnPrimaryVtx()) origownvtx=new AliAODVertex(*d->GetOwnPrimaryVtx());
537  if(!SetMCPrimaryVtx(d,aod)) {
538  CleanOwnPrimaryVtx(d,aod,origownvtx);
539  return 0;
540  }
541  }
542 
543  Int_t ptbin=PtBin(pt);
544  if (ptbin==-1) {
545  CleanOwnPrimaryVtx(d,aod,origownvtx);
546  return 0;
547  }
548 
549  Double_t mDplusPDG = TDatabasePDG::Instance()->GetParticle(411)->Mass();
550  Double_t mDplus=d->InvMassDplus();
551  if(TMath::Abs(mDplus-mDplusPDG)>fCutsRD[GetGlobalIndex(0,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
552 
553  //2track cuts
554  if(d->GetDist12toPrim()<fCutsRD[GetGlobalIndex(5,ptbin)]|| d->GetDist23toPrim()<fCutsRD[GetGlobalIndex(5,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
555 
556  Double_t sum2=d->Getd0Prong(0)*d->Getd0Prong(0)+d->Getd0Prong(1)*d->Getd0Prong(1)+d->Getd0Prong(2)*d->Getd0Prong(2);
557  if(sum2<fCutsRD[GetGlobalIndex(10,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
558 
560  if(d->Getd0Prong(0)*d->Getd0Prong(1)<0. && d->Getd0Prong(2)*d->Getd0Prong(1)<0.) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
561  }
562 
563 
564  //DCA
565  for(Int_t i=0;i<3;i++) if(d->GetDCA(i)>fCutsRD[GetGlobalIndex(11,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
566 
567  if(d->Pt2Prong(1) < fCutsRD[GetGlobalIndex(1,ptbin)]*fCutsRD[GetGlobalIndex(1,ptbin)] || TMath::Abs(d->Getd0Prong(1))<fCutsRD[GetGlobalIndex(3,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}//Kaon
568 
569  if(d->Pt2Prong(0) < fCutsRD[GetGlobalIndex(2,ptbin)]*fCutsRD[GetGlobalIndex(2,ptbin)] || TMath::Abs(d->Getd0Prong(0))<fCutsRD[GetGlobalIndex(4,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}//Pion1
570 
571  if(d->Pt2Prong(2) < fCutsRD[GetGlobalIndex(2,ptbin)]*fCutsRD[GetGlobalIndex(2,ptbin)] || TMath::Abs(d->Getd0Prong(2))<fCutsRD[GetGlobalIndex(4,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}//Pion2
572 
573  if(d->Pt2Prong(0)<fCutsRD[GetGlobalIndex(8,ptbin)]*fCutsRD[GetGlobalIndex(8,ptbin)] && d->Pt2Prong(1)<fCutsRD[GetGlobalIndex(8,ptbin)]*fCutsRD[GetGlobalIndex(8,ptbin)] && d->Pt2Prong(2)<fCutsRD[GetGlobalIndex(8,ptbin)]*fCutsRD[GetGlobalIndex(8,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
574 
575  if(d->DecayLength2()<fCutsRD[GetGlobalIndex(7,ptbin)]*fCutsRD[GetGlobalIndex(7,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
576 
577  if(d->CosPointingAngle()< fCutsRD[GetGlobalIndex(9,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
579  if(d->NormalizedDecayLengthXY()*d->P()/pt<fCutsRD[GetGlobalIndex(12,ptbin)]){CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
580  }else{
581  if(d->NormalizedDecayLengthXY()<fCutsRD[GetGlobalIndex(12,ptbin)]){CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
582  }
583  if(d->CosPointingAngleXY()<fCutsRD[GetGlobalIndex(13,ptbin)]){CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
584 
585  //sec vert
586  Double_t sigmavert=d->GetSigmaVert(aod);
587  if(sigmavert>fCutsRD[GetGlobalIndex(6,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
588 
589  // d0meas-exp
591  Double_t dd0max=0;
592  for(Int_t ipr=0; ipr<3; ipr++) {
593  Double_t diffIP, errdiffIP;
594  d->Getd0MeasMinusExpProng(ipr,aod->GetMagneticField(),diffIP,errdiffIP);
595  Double_t normdd0=0.;
596  if(errdiffIP>0) normdd0=diffIP/errdiffIP;
597  if(ipr==0) dd0max=normdd0;
598  else if(TMath::Abs(normdd0)>TMath::Abs(dd0max)) dd0max=normdd0;
599  }
600  if(TMath::Abs(dd0max)>fMaxd0MeasMinusExp[ptbin]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
601  }
602 
603  // d0
604  if(fUsed0Cut){
605  Double_t d0=d->ImpParXY()*10000.;
606  if(TMath::Abs(d0)>fMaxd0[ptbin]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
607  }
608 
609  // unset recalculated primary vertex when not needed any more
610  CleanOwnPrimaryVtx(d,aod,origownvtx);
611 
612  fIsSelectedCuts=returnvalueCuts;
613 
614  //if(!returnvalueCuts) return 0; // returnvalueCuts cannot be 0 here
615  }
616 
617  if(selectionLevel==AliRDHFCuts::kAll ||
618  selectionLevel==AliRDHFCuts::kCandidate ||
619  selectionLevel==AliRDHFCuts::kPID) {
620  returnvaluePID = IsSelectedPID(d);
621  fIsSelectedPID=returnvaluePID;
622  }
623  if(returnvaluePID==0)return 0;
624 
625  // selection on daughter tracks
626  if(selectionLevel==AliRDHFCuts::kAll ||
627  selectionLevel==AliRDHFCuts::kTracks) {
628  if(!AreDaughtersSelected(d,aod)) return 0;
629  }
630 
631 
632 
633 
634  return 3;
635 }
636 
637 
638 
639 
640 //---------------------------------------------------------------------------
641 
642 
644  //
645  //STANDARD CUTS USED FOR 2010 pp analysis
646  //
647 
648  SetName("DplustoKpipiCutsStandard");
649  SetTitle("Standard Cuts for D+ analysis");
650 
651  // PILE UP REJECTION
653 
654  // EVENT CUTS
655  SetMinVtxContr(1);
656 
657  AliESDtrackCuts* esdTrackCuts=new AliESDtrackCuts();
658  esdTrackCuts->SetRequireSigmaToVertex(kFALSE);
659  //default
660  esdTrackCuts->SetRequireTPCRefit(kTRUE);
661  esdTrackCuts->SetRequireITSRefit(kTRUE);
662  //esdTrackCuts->SetMinNClustersITS(4); // default is 5
663  esdTrackCuts->SetMinNClustersTPC(70);
664  esdTrackCuts->SetClusterRequirementITS(AliESDtrackCuts::kSPD,
665  AliESDtrackCuts::kAny);
666  // default is kBoth, otherwise kAny
667  esdTrackCuts->SetMinDCAToVertexXY(0.);
668  esdTrackCuts->SetPtRange(0.3,1.e10);
669 
670  AddTrackCuts(esdTrackCuts);
671 
672 
673  const Int_t nptbins =15;
674  const Int_t nvars=14;
675  Float_t ptbins[nptbins+1];
676  ptbins[0]=0.;
677  ptbins[1]=1;
678  ptbins[2]=2.;
679  ptbins[3]=3.;
680  ptbins[4]=4.;
681  ptbins[5]=5.;
682  ptbins[6]=6.;
683  ptbins[7]=7.;
684  ptbins[8]=8.;
685  ptbins[9]=9.;
686  ptbins[10]=10.;
687  ptbins[11]=12.;
688  ptbins[12]=14.;
689  ptbins[13]=16.;
690  ptbins[14]=24.;
691  ptbins[15]=99999.;
692 
693 
694  Float_t** anacutsval;
695  anacutsval=new Float_t*[nvars];
696 
697  for(Int_t ic=0;ic<nvars;ic++){anacutsval[ic]=new Float_t[nptbins];}
698 
699  //Double_t cutsDplus[12]={0.2,0.4,0.4,0.,0.,0.01,0.06,0.02,0.,0.85,0.,10000000000.};
700  for(Int_t ipt=0;ipt<nptbins;ipt++){
701  anacutsval[0][ipt]=0.2;
702  anacutsval[3][ipt]=0.;
703  anacutsval[4][ipt]=0.;
704  anacutsval[5][ipt]=0.01;
705  anacutsval[11][ipt]=10000000000.;
706  }
707 
708  anacutsval[1][0]=0.3;
709  anacutsval[1][1]=0.4;
710  anacutsval[1][2]=0.4;
711  anacutsval[2][0]=0.3;
712  anacutsval[2][1]=0.3;
713  anacutsval[2][2]=0.4;
714  for(Int_t ipt=3;ipt<nptbins;ipt++){
715  anacutsval[1][ipt]=0.4;
716  anacutsval[2][ipt]=0.4;
717  }
718 
719  anacutsval[6][0]=0.022100;
720  anacutsval[6][1]=0.022100;
721  anacutsval[6][2]=0.034;
722  anacutsval[6][3]=0.020667;
723  anacutsval[6][4]=0.020667;
724  anacutsval[6][5]=0.023333;
725 
726 
727  anacutsval[7][0]=0.08;
728  anacutsval[7][1]=0.08;
729  anacutsval[7][2]=0.09;
730  anacutsval[7][3]=0.095;
731  anacutsval[7][4]=0.095;
732 
733  anacutsval[8][0]=0.5;
734  anacutsval[8][1]=0.5;
735  anacutsval[8][2]=1.0;
736  anacutsval[8][3]=0.5;
737  anacutsval[8][4]=0.5;
738 
739 
740  anacutsval[9][0]=0.97;
741  anacutsval[9][1]=0.936;
742  anacutsval[9][2]=0.95;
743  anacutsval[9][3]=0.95;
744  anacutsval[9][4]= 0.95;
745  anacutsval[9][5]=0.92;
746  anacutsval[9][6]=0.92;
747  anacutsval[9][7]=0.92;
748  anacutsval[9][8]=0.92;
749  anacutsval[9][9]=0.90;
750  for(Int_t ipt=10;ipt<nptbins;ipt++){
751  anacutsval[9][ipt]=0.90;
752  }
753 
754 
755  anacutsval[10][0]=0.0055;
756  anacutsval[10][1]=0.0055;
757  anacutsval[10][2]= 0.0028;
758  anacutsval[10][3]=0.000883;
759  anacutsval[10][4]=0.000883;
760 
761 
762  for(Int_t ipt=5;ipt<nptbins;ipt++){
763  anacutsval[6][ipt]=0.02333;
764  anacutsval[7][ipt]=0.115;
765  anacutsval[8][ipt]=0.5;
766  anacutsval[10][ipt]=0.000883;
767  }
768 
769  anacutsval[12][0]=8;
770  anacutsval[12][1]=8;
771 
772  anacutsval[13][0]=0.98;
773  anacutsval[13][1]=0.98;
774  for(Int_t ipt=2;ipt<nptbins;ipt++){
775  anacutsval[12][ipt]=0.;
776  anacutsval[13][ipt]=0.;
777  }
778 
779 
780 
781  SetGlobalIndex(nvars,nptbins);
782  SetPtBins(nptbins+1,ptbins);
783  SetCuts(nvars,nptbins,anacutsval);
784  SetUsePID(kTRUE);
785  fPidHF->SetOldPid(kTRUE);
787 
788  // PrintAll();
789 
790  for(Int_t iic=0;iic<nvars;iic++){delete [] anacutsval[iic];}
791  delete [] anacutsval;
792  anacutsval=NULL;
793 
794  delete esdTrackCuts;
795  esdTrackCuts=NULL;
796 
797  return;
798 }
799 
800 
802  //
803  //STANDARD CUTS USED FOR 2010 Pb Pb analysis.... not optimized yet
804  //
805 
806  SetName("DplustoKpipiCutsStandard");
807  SetTitle("Standard Cuts for D+ analysis in PbPb2010 run");
808 
809  // PILE UP REJECTION
810  //SetOptPileup(AliRDHFCuts::kRejectPileupEvent);
811 
812  // EVENT CUTS
813  SetMinVtxContr(1);
814 
815 
816  AliESDtrackCuts* esdTrackCuts=new AliESDtrackCuts();
817  esdTrackCuts->SetRequireSigmaToVertex(kFALSE);
818  //default
819  esdTrackCuts->SetRequireTPCRefit(kTRUE);
820  esdTrackCuts->SetRequireITSRefit(kTRUE);
821  //esdTrackCuts->SetMinNClustersITS(4); // default is 5
822  esdTrackCuts->SetMinNClustersTPC(70);
823  esdTrackCuts->SetClusterRequirementITS(AliESDtrackCuts::kSPD,
824  AliESDtrackCuts::kAny);
825  // default is kBoth, otherwise kAny
826  esdTrackCuts->SetMinDCAToVertexXY(0.);
827  esdTrackCuts->SetPtRange(0.8,1.e10);
828 
829  AddTrackCuts(esdTrackCuts);
830 
831  const Int_t nptbins=10;
832  Float_t* ptbins;
833  ptbins=new Float_t[nptbins+1];
834 
835  ptbins[0]=0.;
836  ptbins[1]=1.;
837  ptbins[2]=2.;
838  ptbins[3]=3.;
839  ptbins[4]=4.;
840  ptbins[5]=5.;
841  ptbins[6]=6.;
842  ptbins[7]=8.;
843  ptbins[8]=12.;
844  ptbins[9]=16.;
845  ptbins[10]=24.;
846  const Int_t nvars=14;
847 
848  Float_t** anacutsval;
849  anacutsval=new Float_t*[nvars];
850 
851  for(Int_t ic=0;ic<nvars;ic++){anacutsval[ic]=new Float_t[nptbins];}
852  //Double_t cutsDplus[12]={0.2,0.4,0.4,0.,0.,0.01,0.06,0.02,0.,0.85,0.,10000000000.};
853 
854  for(Int_t ipt=0;ipt<nptbins;ipt++){
855  anacutsval[0][ipt]=0.2;
856  anacutsval[1][ipt]=0.8;
857  anacutsval[2][ipt]=0.8;
858  anacutsval[3][ipt]=0.;
859  anacutsval[4][ipt]=0.;
860  anacutsval[5][ipt]=0.01;
861  anacutsval[11][ipt]=10000000000.;
862  anacutsval[12][ipt]=0.;
863  anacutsval[13][ipt]=0.;
864  }
865  anacutsval[1][5]=0.9;
866 
867  anacutsval[6][0]=0.022100;
868  anacutsval[6][1]=0.022100;
869  anacutsval[6][2]=0.034;
870  anacutsval[6][3]=0.020667;
871  anacutsval[6][4]=0.020667;
872  anacutsval[6][5]=0.023333;
873 
874  anacutsval[7][0]=0.08;
875  anacutsval[7][1]=0.08;
876  anacutsval[7][2]=0.17;
877  anacutsval[7][3]=0.14;
878  anacutsval[7][4]=0.14;
879  anacutsval[7][5]=0.19;
880 
881  anacutsval[8][0]=0.8;
882  anacutsval[8][1]=0.8;
883  anacutsval[8][2]=1.1;
884  anacutsval[8][3]=0.5;
885  anacutsval[8][4]=0.5;
886  anacutsval[8][5]=0.5;
887 
888  anacutsval[9][0]=0.995;
889  anacutsval[9][1]=0.995;
890  anacutsval[9][2]=0.997;
891  anacutsval[9][3]=0.998;
892  anacutsval[9][4]=0.998;
893  anacutsval[9][5]=0.995;
894 
895  anacutsval[10][0]=0.0055;
896  anacutsval[10][1]=0.0055;
897  anacutsval[10][2]= 0.0028;
898  anacutsval[10][3]=0.000883;
899  anacutsval[10][4]=0.000883;
900  anacutsval[10][5]=0.000883;
901 
902  anacutsval[12][5]=12.;
903  anacutsval[13][5]=0.998571;
904  anacutsval[12][6]=10.;
905  anacutsval[13][6]=0.997143;
906 
907  for(Int_t ipt=6;ipt<nptbins;ipt++){
908  anacutsval[6][ipt]=0.02333;
909  anacutsval[7][ipt]=0.19;
910  anacutsval[8][ipt]=2.0;
911  anacutsval[9][ipt]=0.997;
912  anacutsval[10][ipt]=0.000883;
913  }
914  anacutsval[7][6]=0.14;
915  anacutsval[9][6]=0.995;
916 
917  SetPtBins(nptbins+1,ptbins);
918  SetCuts(nvars,nptbins,anacutsval);
919  SetUsePID(kTRUE);
920  fPidHF->SetOldPid(kTRUE);
921  SetMinCentrality(1E-10);
922  SetMaxCentrality(20.);
925 
926  // PrintAll();
927 
928  for(Int_t iic=0;iic<nvars;iic++){delete [] anacutsval[iic];}
929  delete [] anacutsval;
930  anacutsval=NULL;
931 
932  delete [] ptbins;
933  ptbins=NULL;
934 
935  delete esdTrackCuts;
936  esdTrackCuts=NULL;
937 
938  return;
939 }
940 
941 
943 
944  // Default 2010 PbPb cut object
946 
947  // Enable all 2011 PbPb run triggers
948  //
949  SetTriggerClass("");
953 
954  // new PID
955  fPidHF->SetOldPid(kFALSE);
956 
957 }
958 //--------------------------------------------------------------------------
959 
961 
962  UInt_t bitmap=0;
963 
964  Double_t sigmaTPCPionHyp=-999.;
965  Double_t sigmaTPCKaonHyp=-999.;
966  Double_t sigmaTPCProtonHyp=-999.;
967  Double_t sigmaTOFPionHyp=-999.;
968  Double_t sigmaTOFKaonHyp=-999.;
969  Double_t sigmaTOFProtonHyp=-999.;
970 
971  Int_t oksigmaTPCPionHyp=fPidHF->GetnSigmaTPC(track,2,sigmaTPCPionHyp);
972  Int_t oksigmaTPCKaonHyp=fPidHF->GetnSigmaTPC(track,3,sigmaTPCKaonHyp);
973  Int_t oksigmaTPCProtonHyp=fPidHF->GetnSigmaTPC(track,4,sigmaTPCProtonHyp);
974  Int_t oksigmaTOFPionHyp=fPidHF->GetnSigmaTOF(track,2,sigmaTOFPionHyp);
975  Int_t oksigmaTOFKaonHyp=fPidHF->GetnSigmaTOF(track,3,sigmaTOFKaonHyp);
976  Int_t oksigmaTOFProtonHyp=fPidHF->GetnSigmaTOF(track,4,sigmaTOFProtonHyp);
977 
978  sigmaTPCPionHyp=TMath::Abs(sigmaTPCPionHyp);
979  sigmaTPCKaonHyp=TMath::Abs(sigmaTPCKaonHyp);
980  sigmaTPCProtonHyp=TMath::Abs(sigmaTPCProtonHyp);
981  sigmaTOFPionHyp=TMath::Abs(sigmaTOFPionHyp);
982  sigmaTOFKaonHyp=TMath::Abs(sigmaTOFKaonHyp);
983  sigmaTOFProtonHyp=TMath::Abs(sigmaTOFProtonHyp);
984 
985  if (oksigmaTPCPionHyp && sigmaTPCPionHyp>0.){
986  if (sigmaTPCPionHyp<1.) bitmap+=1<<kTPCPionLess1;
987  else{
988  if (sigmaTPCPionHyp<2.) bitmap+=1<<kTPCPionMore1Less2;
989  else {
990  if (sigmaTPCPionHyp<3.) bitmap+=1<<kTPCPionMore2Less3;
991  else bitmap+=1<<kTPCPionMore3;
992  }
993  }
994  }
995 
996  if (oksigmaTPCKaonHyp && sigmaTPCKaonHyp>0.){
997  if (sigmaTPCKaonHyp<1.) bitmap+=1<<kTPCKaonLess1;
998  else{
999  if (sigmaTPCKaonHyp<2.) bitmap+=1<<kTPCKaonMore1Less2;
1000  else {
1001  if (sigmaTPCKaonHyp<3.) bitmap+=1<<kTPCKaonMore2Less3;
1002  else bitmap+=1<<kTPCKaonMore3;
1003  }
1004  }
1005  }
1006 
1007  if (oksigmaTPCProtonHyp && sigmaTPCProtonHyp>0.){
1008  if (sigmaTPCProtonHyp<1.) bitmap+=1<<kTPCProtonLess1;
1009  else{
1010  if (sigmaTPCProtonHyp<2.) bitmap+=1<<kTPCProtonMore1Less2;
1011  else {
1012  if (sigmaTPCProtonHyp<3.) bitmap+=1<<kTPCProtonMore2Less3;
1013  else bitmap+=1<<kTPCProtonMore3;
1014  }
1015  }
1016  }
1017 
1018  if (oksigmaTOFPionHyp && sigmaTOFPionHyp>0.){
1019  if (sigmaTOFPionHyp<1.) bitmap+=1<<kTOFPionLess1;
1020  else{
1021  if (sigmaTOFPionHyp<2.) bitmap+=1<<kTOFPionMore1Less2;
1022  else {
1023  if (sigmaTOFPionHyp<3.) bitmap+=1<<kTOFPionMore2Less3;
1024  else bitmap+=1<<kTOFPionMore3;
1025  }
1026  }
1027  }
1028 
1029  if (oksigmaTOFKaonHyp && sigmaTOFKaonHyp>0.){
1030  if (sigmaTOFKaonHyp<1.) bitmap+=1<<kTOFKaonLess1;
1031  else{
1032  if (sigmaTOFKaonHyp<2.) bitmap+=1<<kTOFKaonMore1Less2;
1033  else {
1034  if (sigmaTOFKaonHyp<3.) bitmap+=1<<kTOFKaonMore2Less3;
1035  else bitmap+=1<<kTOFKaonMore3;
1036  }
1037  }
1038  }
1039 
1040  if (oksigmaTOFProtonHyp && sigmaTOFProtonHyp>0.){
1041  if (sigmaTOFProtonHyp<1.) bitmap+=1<<kTOFProtonLess1;
1042  else{
1043  if (sigmaTOFProtonHyp<2.) bitmap+=1<<kTOFProtonMore1Less2;
1044  else {
1045  if (sigmaTOFProtonHyp<3.) bitmap+=1<<kTOFProtonMore2Less3;
1046  else bitmap+=1<<kTOFProtonMore3;
1047  }
1048  }
1049  }
1050 
1051 
1052 
1053  return bitmap;
1054 
1055 }
1056 //---------------------------------------------------------------------------
1058  //
1059  // print all cuts values
1060  //
1063  printf("Cuts on d0meas-d0exp:\n");
1064  for(Int_t ib=0;ib<fnPtBins;ib++){
1065  printf("%f ",fMaxd0MeasMinusExp[ib]);
1066  }
1067  printf("\n");
1068  }else{
1069  printf("No cut on d0meas-d0exp:\n");
1070  }
1071  if(fUsed0Cut){
1072  printf("Cuts on d0:\n");
1073  for(Int_t ib=0;ib<fnPtBins;ib++){
1074  printf("%f ",fMaxd0[ib]);
1075  }
1076  printf("\n");
1077  }else{
1078  printf("No cut on d0\n");
1079  }
1081  printf("NormDLxy scaled by p/pt\n");
1082  }else{
1083  printf("NormDLxy NOT scaled by p/pt\n");
1084  }
1086  printf("d0K*d0pi1 vs. d0K*d0pi2 cut enabled\n");
1087  }else{
1088  printf("d0K*d0pi1 vs. d0K*d0pi2 cut disabled\n");
1089  }
1090 }
Double_t NormalizedDecayLengthXY() const
Int_t fIsSelectedCuts
fix the daughter track references
Definition: AliRDHFCuts.h:476
Bool_t fUsed0MeasMinusExpCut
switch for d0K*d0pi1 vs. d0K*d0pi2 cut
void SetAsym(Bool_t asym)
Definition: AliAODPidHF.h:88
#define P(T, U, S)
double Double_t
Definition: External.C:58
Bool_t IsSignalMC(AliAODRecoDecay *d, AliAODEvent *aod, Int_t pdg) const
void Setd0MeasMinusExpCut(Int_t nPtBins, Float_t *cutval)
void Getd0MeasMinusExpProng(Int_t ip, Double_t magf, Double_t &d0diff, Double_t &errd0diff) const
AliRDHFCutsDplustoKpipi & operator=(const AliRDHFCutsDplustoKpipi &source)
Int_t GetnSigmaTOF(AliAODTrack *track, Int_t species, Double_t &sigma) const
void SetTRD(Bool_t trd)
Definition: AliAODPidHF.h:97
Bool_t fUseMCVertex
flag to switch on the removal of duaghters from the primary vertex computation
Definition: AliRDHFCuts.h:461
Bool_t SetMCPrimaryVtx(AliAODRecoDecayHF *d, AliAODEvent *aod) const
Bool_t fRemoveDaughtersFromPrimary
Definition: AliRDHFCuts.h:460
Int_t GetnSigmaTPC(AliAODTrack *track, Int_t species, Double_t &sigma) const
void SetUseCentrality(Int_t flag=1)
Int_t GetPIDBitMask(AliAODRecoDecayHF *rd)
Double_t ImpParXY() const
Float_t fMaxPStrongPidpi
Maximum P of track to apply strong Pid on K.
void Setd0Cut(Int_t nPtBins, Float_t *cutval)
void SetNVars(Int_t nVars)
Definition: AliRDHFCuts.h:424
UInt_t GetPIDTrackTPCTOFBitMap(AliAODTrack *track) const
Double_t CosPointingAngleXY() const
Double_t fMaxRapidityCand
minimum pt of the candidate
Definition: AliRDHFCuts.h:480
void EnableSemiCentralTrigger()
Definition: AliRDHFCuts.h:100
void SetGlobalIndex()
Definition: AliRDHFCuts.h:211
virtual Bool_t IsInFiducialAcceptance(Double_t pt, Double_t y) const
AliRDHFCuts & operator=(const AliRDHFCuts &source)
Bool_t fUsePID
Definition: AliRDHFCuts.h:455
AliRDHFCutsDplustoKpipi(const char *name="CutsDplustoKpipi")
Float_t * fMaxd0
switch for cut on d0
void SetTOF(Bool_t tof)
Definition: AliAODPidHF.h:95
Bool_t HasBadDaughters() const
const Int_t nPtBins
Float_t * fMaxd0MeasMinusExp
switch for cut on d0meas-d0exp
Class for cuts on AOD reconstructed D+->Kpipi.
void SetMinVtxContr(Int_t contr=1)
Definition: AliRDHFCuts.h:61
int Int_t
Definition: External.C:63
Bool_t fUseTrackSelectionWithFilterBits
flag to reject kink daughters
Definition: AliRDHFCuts.h:490
void SetCuts(Int_t nVars, Int_t nPtBins, Float_t **cutsRD)
Int_t fnVarsForOpt
Definition: AliRDHFCuts.h:450
void ResetMaskAndEnableMBTrigger()
Definition: AliRDHFCuts.h:80
void SetMinCentrality(Float_t minCentrality=0.)
Definition: AliRDHFCuts.h:53
virtual Int_t IsSelected(TObject *obj, Int_t selectionLevel)
unsigned int UInt_t
Definition: External.C:33
Bool_t fUseImpParProdCorrCut
Maximum P of track to apply strong Pid on pi.
float Float_t
Definition: External.C:68
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)
const Double_t ptmax
Double_t fMaxPtCand
minimum pt of the candidate
Definition: AliRDHFCuts.h:479
Float_t fMaxPStrongPidK
Maximum pt of candidate to apply strong Pid.
AliAODVertex * GetOwnPrimaryVtx() const
Bool_t fKeepSignalMC
max rapidity of candidate (if !=-999 overrides IsInFiducialAcceptance)
Definition: AliRDHFCuts.h:481
Double_t GetSigmaVert(const AliAODEvent *aod=0x0)
virtual Int_t PreSelect(TObjArray aodTracks)
Int_t fIsSelectedPID
outcome of cuts selection
Definition: AliRDHFCuts.h:477
Double_t nsigma
Int_t MakeRawPid(AliAODTrack *track, Int_t specie)
void SetSigma(Double_t *sigma)
Definition: AliAODPidHF.h:39
Float_t * fCutsRD
fnVars*fnPtBins
Definition: AliRDHFCuts.h:453
Double_t DecayLength2() const
kinematics & topology
void SetMaxCentrality(Float_t maxCentrality=100.)
Definition: AliRDHFCuts.h:54
Int_t fUsePreselect
Definition: AliRDHFCuts.h:506
void SetVarsForOpt(Int_t nVars, Bool_t *forOpt)
void SetVarNames(Int_t nVars, TString *varNames, Bool_t *isUpperCut)
Bool_t * fVarsForOpt
number of cut vars to be optimized for candidates
Definition: AliRDHFCuts.h:451
Bool_t AreDaughtersSelected(AliAODRecoDecayHF *rd, const AliAODEvent *aod=0x0) const
void EnableCentralTrigger()
Definition: AliRDHFCuts.h:88
void SetUsePID(Bool_t flag=kTRUE)
Definition: AliRDHFCuts.h:219
virtual void PrintAll() const
virtual Int_t IsSelectedPID(AliAODRecoDecayHF *rd)
void CleanOwnPrimaryVtx(AliAODRecoDecayHF *d, AliAODEvent *aod, AliAODVertex *origownvtx) const
void SetRemoveDaughtersFromPrim(Bool_t removeDaughtersPrim)
Definition: AliRDHFCuts.h:229
void SetOldPid(Bool_t oldPid)
Definition: AliAODPidHF.h:108
void SetPtBins(Int_t nPtBinLimits, Float_t *ptBinLimits)
void SetITS(Bool_t its)
Definition: AliAODPidHF.h:96
void SetMatch(Int_t match)
Definition: AliAODPidHF.h:98
void AddTrackCuts(const AliESDtrackCuts *cuts)
Definition: AliRDHFCuts.h:217
void SetPLimit(Double_t *plim, Int_t npLim)
void SetTPC(Bool_t tpc)
Definition: AliAODPidHF.h:94
bool Bool_t
Definition: External.C:53
Double_t CosPointingAngle() const
Int_t fnPtBins
cuts on the candidate
Definition: AliRDHFCuts.h:445
void SetCompat(Bool_t comp)
Definition: AliAODPidHF.h:100
void SetTriggerClass(TString trclass0, TString trclass1="")
Definition: AliRDHFCuts.h:207
AliAODPidHF * fPidHF
enable AOD049 centrality cleanup
Definition: AliRDHFCuts.h:457
Bool_t RecalcOwnPrimaryVtx(AliAODRecoDecayHF *d, AliAODEvent *aod) const
Int_t PtBin(Double_t pt) const
void SetOptPileup(Int_t opt=0)
Definition: AliRDHFCuts.h:233
Int_t GetGlobalIndex(Int_t iVar, Int_t iPtBin) const
Double_t DecayLength() const
Float_t fMaxPtStrongPid
use strong pid 0 no,1 only for K,2 pi 3 both
Int_t nptbins
Double_t fMinPtCand
outcome of PID selection
Definition: AliRDHFCuts.h:478