AliPhysics  a3be53f (a3be53f)
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  // store the cuts
182  //
183  if(nPtBins!=fnPtBins) {
184  printf("Wrong number of pt bins: it has to be %d\n",fnPtBins);
185  AliFatal("exiting");
186  }
188  for(Int_t ib=0; ib<fnPtBins; ib++) fMaxd0MeasMinusExp[ib] = cutval[ib];
189  fUsed0MeasMinusExpCut=kTRUE;
190  return;
191 }
192 
193 //---------------------------------------------------------------------------
195  //
196  // store the cuts
197  //
198  if(nPtBins!=fnPtBins) {
199  printf("Wrong number of pt bins: it has to be %d\n",fnPtBins);
200  AliFatal("exiting");
201  }
202  if(!fMaxd0) fMaxd0 = new Float_t[fnPtBins];
203  for(Int_t ib=0; ib<fnPtBins; ib++) fMaxd0[ib] = cutval[ib];
204  fUsed0Cut=kTRUE;
205  return;
206 }
207 
208 //---------------------------------------------------------------------------
210  //
211  // apply pre selection
212  //
213  if(!fUsePreselect) return 3;
214  Int_t retVal=3;
215 
216  //compute pt
217  Double_t px=0, py=0;
218  AliAODTrack *track[3];
219  for(Int_t iDaught=0; iDaught<3; iDaught++) {
220  track[iDaught] = (AliAODTrack*)aodTracks.At(iDaught);
221  if(!track[iDaught]) return retVal;
222  px += track[iDaught]->Px();
223  py += track[iDaught]->Py();
224  }
225 
226  Double_t ptD=TMath::Sqrt(px*px+py*py);
227 
228  //not enabled for strong PID
229  Int_t pidoptmem = fUseStrongPid;
230  fUseStrongPid=kFALSE;
231  retVal=IsSelectedPID(ptD,aodTracks);
232  fUseStrongPid=pidoptmem;
233 
234  return retVal;
235 }
236 
237 //---------------------------------------------------------------------------
239  //
240  // Fills in vars the values of the variables
241  //
242 
243 
244  if(nvars!=fnVarsForOpt) {
245  printf("AliRDHFCutsDplustoKpipi::GetCutsVarsForOpt: wrong number of variables\n");
246  return;
247  }
248 
250 
251  //recalculate vertex w/o daughters
252  Bool_t cleanvtx=kFALSE;
253  AliAODVertex *origownvtx=0x0;
255  if(dd->GetOwnPrimaryVtx()) origownvtx=new AliAODVertex(*dd->GetOwnPrimaryVtx());
256  cleanvtx=kTRUE;
257  if(!RecalcOwnPrimaryVtx(dd,aod)) {
258  CleanOwnPrimaryVtx(dd,aod,origownvtx);
259  cleanvtx=kFALSE;
260  }
261  }
262 
263  Int_t iter=-1;
264  if(fVarsForOpt[0]){
265  iter++;
266  vars[iter]=dd->InvMassDplus();
267  }
268  if(fVarsForOpt[1]){
269  iter++;
270  for(Int_t iprong=0;iprong<3;iprong++){
271  if(TMath::Abs(pdgdaughters[iprong])==321) {
272  vars[iter]=dd->PtProng(iprong);
273  }
274  }
275  }
276  if(fVarsForOpt[2]){
277  iter++;
278  Float_t minPtDau=1000000.0;
279  for(Int_t iprong=0;iprong<3;iprong++){
280  if(TMath::Abs(pdgdaughters[iprong])==211) {
281  if(dd->PtProng(iprong)<minPtDau){
282  minPtDau=dd->PtProng(iprong);
283  }
284  }
285  }
286  vars[iter]=minPtDau;
287  }
288  if(fVarsForOpt[3]){
289  iter++;
290  for(Int_t iprong=0;iprong<3;iprong++){
291  if(TMath::Abs(pdgdaughters[iprong])==321) {
292  vars[iter]=dd->Getd0Prong(iprong);
293  }
294  }
295  }
296  if(fVarsForOpt[4]){
297  iter++;
298  Float_t minImpParDau=1000000.0;
299  for(Int_t iprong=0;iprong<3;iprong++){
300  if(TMath::Abs(pdgdaughters[iprong])==211) {
301  if(dd->Getd0Prong(iprong)<minImpParDau){
302  minImpParDau=dd->Getd0Prong(iprong);
303  }
304  }
305  }
306  vars[iter]=minImpParDau;
307  }
308  if(fVarsForOpt[5]){
309  iter++;
310  Float_t dist12 = dd->GetDist12toPrim();
311  Float_t dist23 = dd->GetDist23toPrim();
312  if(dist12<dist23)vars[iter]=dist12;
313  else vars[iter]=dist23;
314  }
315  if(fVarsForOpt[6]){
316  iter++;
317  vars[iter]=dd->GetSigmaVert(aod);
318  }
319  if(fVarsForOpt[7]){
320  iter++;
321  vars[iter] = dd->DecayLength();
322  }
323  if(fVarsForOpt[8]){
324  iter++;
325  Float_t ptmax=0;
326  for(Int_t i=0;i<3;i++){
327  if(dd->PtProng(i)>ptmax)ptmax=dd->PtProng(i);
328  }
329  vars[iter]=ptmax;
330  }
331  if(fVarsForOpt[9]){
332  iter++;
333  vars[iter]=dd->CosPointingAngle();
334  }
335  if(fVarsForOpt[10]){
336  iter++;
337  vars[iter]=dd->Getd0Prong(0)*dd->Getd0Prong(0)+dd->Getd0Prong(1)*dd->Getd0Prong(1)+dd->Getd0Prong(2)*dd->Getd0Prong(2);
338  }
339  if(fVarsForOpt[11]){
340  iter++;
341  Float_t maxDCA=0;
342  for(Int_t iprong=0;iprong<3;iprong++){
343  if(dd->GetDCA(iprong)<maxDCA){
344  maxDCA=dd->GetDCA(iprong);
345  }
346  }
347  vars[iter]=maxDCA;
348  }
349  if(fVarsForOpt[12]){
350  iter++;
351  if(fScaleNormDLxyBypOverPt) vars[iter]=dd->NormalizedDecayLengthXY()*dd->P()/dd->Pt();
352  else vars[iter]=dd->NormalizedDecayLengthXY();
353  }
354  if(fVarsForOpt[13]){
355  iter++;
356  vars[iter]=dd->CosPointingAngleXY();
357  }
358 
359  if(cleanvtx)CleanOwnPrimaryVtx(dd,aod,origownvtx);
360 
361  return;
362 }
363 //---------------------------------------------------------------------------
365 {
366  //
367  // Checking if Dplus is in fiducial acceptance region
368  //
369 
370  if(fMaxRapidityCand>-998.){
371  if(TMath::Abs(y) > fMaxRapidityCand) return kFALSE;
372  else return kTRUE;
373  }
374 
375  if(pt > 5.) {
376  // applying cut for pt > 5 GeV
377  AliDebug(2,Form("pt of D+ = %f (> 5), cutting at |y| < 0.8",pt));
378  if (TMath::Abs(y) > 0.8) return kFALSE;
379 
380  } else {
381  // appliying smooth cut for pt < 5 GeV
382  Double_t maxFiducialY = -0.2/15*pt*pt+1.9/15*pt+0.5;
383  Double_t minFiducialY = 0.2/15*pt*pt-1.9/15*pt-0.5;
384  AliDebug(2,Form("pt of D+ = %f (< 5), cutting according to the fiducial zone [%f, %f]\n",pt,minFiducialY,maxFiducialY));
385  if (y < minFiducialY || y > maxFiducialY) return kFALSE;
386  }
387 
388  return kTRUE;
389 }
390 
391 //---------------------------------------------------------------------------
393 {
394  if(!fUsePID || !rd) return -1;
395  //if(fUsePID)printf("i am inside the pid \n");
396  Int_t mask=0;
397  Int_t sign=rd->GetCharge();
398  for(Int_t daught=0;daught<3;daught++){
399  AliAODTrack *track=(AliAODTrack*)rd->GetDaughter(daught);
400 
401  if(sign==track->Charge()){//pions
402  Int_t isPion=fPidHF->MakeRawPid(track,AliPID::kPion);
403  if(isPion==0)mask+=1;
404  else if(isPion>0)mask+=3;
405  mask=mask<<2;
406  }
407  else{//kaons
408  Int_t isKaon=fPidHF->MakeRawPid(track,AliPID::kKaon);
409  if(isKaon==0)mask+=1;
410  else if(isKaon>0)mask+=3;
411  mask=mask<<2;
412  }
413  }
414  mask=mask>>2;
415  return mask;
416 }
417 //---------------------------------------------------------------------------
419 {
420  //
421  // PID selection, returns 3 if accepted, 0 if not accepted
422  //
423  Int_t retCode=3;
424  if(!fUsePID) return retCode;
425  if(rd) {
426  Double_t Pt = rd->Pt();
427  TObjArray aodtracks(3);
428  for(Int_t daught=0; daught<3; daught++) {
429  aodtracks.AddAt(rd->GetDaughter(daught),daught);
430  }
431  retCode = IsSelectedPID(Pt,aodtracks);
432  }
433 
434  return retCode;
435 }
436 
437 //---------------------------------------------------------------------------
439  //
440  // PID selection, returns 3 if accepted, 0 if not accepted
441  //
442  AliAODTrack *track[3];
443  for(Int_t daught=0; daught<3; daught++){
444  track[daught]=(AliAODTrack*)aodtracks.At(daught);
445  }
446 
447  if(!fUsePID || !track[0] || !track[1] || !track[2]) return 3;
448 
449  Int_t sign = track[0]->Charge();
450 
451  //if(fUsePID)printf("i am inside the pid \n");
452  Int_t nkaons=0;
453  Int_t nNotKaons=0;
454  for(Int_t daught=0;daught<3;daught++){
455  Int_t isPion=fPidHF->MakeRawPid(track[daught],AliPID::kPion);
456  Int_t isKaon=fPidHF->MakeRawPid(track[daught],AliPID::kKaon);
457  Int_t isProton=fPidHF->MakeRawPid(track[daught],AliPID::kProton);
458 
459  if(isProton>0 && isKaon<0 && isPion<0) return 0;
460  if(isKaon>0 && isPion<0) nkaons++;
461  if(isKaon<0) nNotKaons++;
462  if(sign==track[daught]->Charge()){//pions
463  if(isPion<0)return 0;
464  if(Pt<fMaxPtStrongPid && isPion<=0 && fUseStrongPid&2 && track[daught]->P()<fMaxPStrongPidpi)return 0;
465  }
466  else{//kaons
467  if(isKaon<0)return 0;
468  if(Pt<fMaxPtStrongPid && isKaon<=0 && fUseStrongPid&1&& track[daught]->P()<fMaxPStrongPidK)return 0;
469  }
470  }
471 
472  if(nkaons>1)return 0;
473  if(nNotKaons==3)return 0;
474 
475  return 3;
476 }
477 
478 //---------------------------------------------------------------------------
480  //
481  // Apply selection, returns 3 if accepted, 0 if not accepted
482  //
483 
484 
485  fIsSelectedCuts=0;
486  fIsSelectedPID=0;
487 
488  if(!fCutsRD){
489  cout<<"Cut matrix not inizialized. Exit..."<<endl;
490  return 0;
491  }
492  //PrintAll();
494 
495 
496  if(!d){
497  cout<<"AliAODRecoDecayHF3Prong null"<<endl;
498  return 0;
499  }
500 
501  if(fKeepSignalMC) if(IsSignalMC(d,aod,411)) return 3;
502 
503  // PID selection
504  Int_t returnvaluePID=3;
505  Int_t returnvalueCuts=3;
506 
507  Double_t pt=d->Pt();
508  if(pt<fMinPtCand) return 0;
509  if(pt>fMaxPtCand) return 0;
510 
512 
513  // selection on candidate
514  if(selectionLevel==AliRDHFCuts::kAll ||
515  selectionLevel==AliRDHFCuts::kCandidate) {
516 
517  //recalculate vertex w/o daughters
518  AliAODVertex *origownvtx=0x0;
520  if(d->GetOwnPrimaryVtx()) origownvtx=new AliAODVertex(*d->GetOwnPrimaryVtx());
521  if(!RecalcOwnPrimaryVtx(d,aod)) {
522  CleanOwnPrimaryVtx(d,aod,origownvtx);
523  return 0;
524  }
525  }
526 
527  if(fUseMCVertex) {
528  if(d->GetOwnPrimaryVtx()) origownvtx=new AliAODVertex(*d->GetOwnPrimaryVtx());
529  if(!SetMCPrimaryVtx(d,aod)) {
530  CleanOwnPrimaryVtx(d,aod,origownvtx);
531  return 0;
532  }
533  }
534 
535  Int_t ptbin=PtBin(pt);
536  if (ptbin==-1) {
537  CleanOwnPrimaryVtx(d,aod,origownvtx);
538  return 0;
539  }
540 
541  Double_t mDplusPDG = TDatabasePDG::Instance()->GetParticle(411)->Mass();
542  Double_t mDplus=d->InvMassDplus();
543  if(TMath::Abs(mDplus-mDplusPDG)>fCutsRD[GetGlobalIndex(0,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
544 
545  //2track cuts
546  if(d->GetDist12toPrim()<fCutsRD[GetGlobalIndex(5,ptbin)]|| d->GetDist23toPrim()<fCutsRD[GetGlobalIndex(5,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
547 
548  Double_t sum2=d->Getd0Prong(0)*d->Getd0Prong(0)+d->Getd0Prong(1)*d->Getd0Prong(1)+d->Getd0Prong(2)*d->Getd0Prong(2);
549  if(sum2<fCutsRD[GetGlobalIndex(10,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
550 
552  if(d->Getd0Prong(0)*d->Getd0Prong(1)<0. && d->Getd0Prong(2)*d->Getd0Prong(1)<0.) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
553  }
554 
555 
556  //DCA
557  for(Int_t i=0;i<3;i++) if(d->GetDCA(i)>fCutsRD[GetGlobalIndex(11,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
558 
559  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
560 
561  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
562 
563  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
564 
565  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;}
566 
567  if(d->DecayLength2()<fCutsRD[GetGlobalIndex(7,ptbin)]*fCutsRD[GetGlobalIndex(7,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
568 
569  if(d->CosPointingAngle()< fCutsRD[GetGlobalIndex(9,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
571  if(d->NormalizedDecayLengthXY()*d->P()/pt<fCutsRD[GetGlobalIndex(12,ptbin)]){CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
572  }else{
573  if(d->NormalizedDecayLengthXY()<fCutsRD[GetGlobalIndex(12,ptbin)]){CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
574  }
575  if(d->CosPointingAngleXY()<fCutsRD[GetGlobalIndex(13,ptbin)]){CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
576 
577  //sec vert
578  Double_t sigmavert=d->GetSigmaVert(aod);
579  if(sigmavert>fCutsRD[GetGlobalIndex(6,ptbin)]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
580 
581  // d0meas-exp
583  Double_t dd0max=0;
584  for(Int_t ipr=0; ipr<3; ipr++) {
585  Double_t diffIP, errdiffIP;
586  d->Getd0MeasMinusExpProng(ipr,aod->GetMagneticField(),diffIP,errdiffIP);
587  Double_t normdd0=0.;
588  if(errdiffIP>0) normdd0=diffIP/errdiffIP;
589  if(ipr==0) dd0max=normdd0;
590  else if(TMath::Abs(normdd0)>TMath::Abs(dd0max)) dd0max=normdd0;
591  }
592  if(TMath::Abs(dd0max)>fMaxd0MeasMinusExp[ptbin]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
593  }
594 
595  // d0
596  if(fUsed0Cut){
597  Double_t d0=d->ImpParXY()*10000.;
598  if(TMath::Abs(d0)>fMaxd0[ptbin]) {CleanOwnPrimaryVtx(d,aod,origownvtx); return 0;}
599  }
600 
601  // unset recalculated primary vertex when not needed any more
602  CleanOwnPrimaryVtx(d,aod,origownvtx);
603 
604  fIsSelectedCuts=returnvalueCuts;
605 
606  //if(!returnvalueCuts) return 0; // returnvalueCuts cannot be 0 here
607  }
608 
609  if(selectionLevel==AliRDHFCuts::kAll ||
610  selectionLevel==AliRDHFCuts::kCandidate ||
611  selectionLevel==AliRDHFCuts::kPID) {
612  returnvaluePID = IsSelectedPID(d);
613  fIsSelectedPID=returnvaluePID;
614  }
615  if(returnvaluePID==0)return 0;
616 
617  // selection on daughter tracks
618  if(selectionLevel==AliRDHFCuts::kAll ||
619  selectionLevel==AliRDHFCuts::kTracks) {
620  if(!AreDaughtersSelected(d,aod)) return 0;
621  }
622 
623 
624 
625 
626  return 3;
627 }
628 
629 
630 
631 
632 //---------------------------------------------------------------------------
633 
634 
636  //
637  //STANDARD CUTS USED FOR 2010 pp analysis
638  //
639 
640  SetName("DplustoKpipiCutsStandard");
641  SetTitle("Standard Cuts for D+ analysis");
642 
643  // PILE UP REJECTION
645 
646  // EVENT CUTS
647  SetMinVtxContr(1);
648 
649  AliESDtrackCuts* esdTrackCuts=new AliESDtrackCuts();
650  esdTrackCuts->SetRequireSigmaToVertex(kFALSE);
651  //default
652  esdTrackCuts->SetRequireTPCRefit(kTRUE);
653  esdTrackCuts->SetRequireITSRefit(kTRUE);
654  //esdTrackCuts->SetMinNClustersITS(4); // default is 5
655  esdTrackCuts->SetMinNClustersTPC(70);
656  esdTrackCuts->SetClusterRequirementITS(AliESDtrackCuts::kSPD,
657  AliESDtrackCuts::kAny);
658  // default is kBoth, otherwise kAny
659  esdTrackCuts->SetMinDCAToVertexXY(0.);
660  esdTrackCuts->SetPtRange(0.3,1.e10);
661 
662  AddTrackCuts(esdTrackCuts);
663 
664 
665  const Int_t nptbins =15;
666  const Int_t nvars=14;
667  Float_t ptbins[nptbins+1];
668  ptbins[0]=0.;
669  ptbins[1]=1;
670  ptbins[2]=2.;
671  ptbins[3]=3.;
672  ptbins[4]=4.;
673  ptbins[5]=5.;
674  ptbins[6]=6.;
675  ptbins[7]=7.;
676  ptbins[8]=8.;
677  ptbins[9]=9.;
678  ptbins[10]=10.;
679  ptbins[11]=12.;
680  ptbins[12]=14.;
681  ptbins[13]=16.;
682  ptbins[14]=24.;
683  ptbins[15]=99999.;
684 
685 
686  Float_t** anacutsval;
687  anacutsval=new Float_t*[nvars];
688 
689  for(Int_t ic=0;ic<nvars;ic++){anacutsval[ic]=new Float_t[nptbins];}
690 
691  //Double_t cutsDplus[12]={0.2,0.4,0.4,0.,0.,0.01,0.06,0.02,0.,0.85,0.,10000000000.};
692  for(Int_t ipt=0;ipt<nptbins;ipt++){
693  anacutsval[0][ipt]=0.2;
694  anacutsval[3][ipt]=0.;
695  anacutsval[4][ipt]=0.;
696  anacutsval[5][ipt]=0.01;
697  anacutsval[11][ipt]=10000000000.;
698  }
699 
700  anacutsval[1][0]=0.3;
701  anacutsval[1][1]=0.4;
702  anacutsval[1][2]=0.4;
703  anacutsval[2][0]=0.3;
704  anacutsval[2][1]=0.3;
705  anacutsval[2][2]=0.4;
706  for(Int_t ipt=3;ipt<nptbins;ipt++){
707  anacutsval[1][ipt]=0.4;
708  anacutsval[2][ipt]=0.4;
709  }
710 
711  anacutsval[6][0]=0.022100;
712  anacutsval[6][1]=0.022100;
713  anacutsval[6][2]=0.034;
714  anacutsval[6][3]=0.020667;
715  anacutsval[6][4]=0.020667;
716  anacutsval[6][5]=0.023333;
717 
718 
719  anacutsval[7][0]=0.08;
720  anacutsval[7][1]=0.08;
721  anacutsval[7][2]=0.09;
722  anacutsval[7][3]=0.095;
723  anacutsval[7][4]=0.095;
724 
725  anacutsval[8][0]=0.5;
726  anacutsval[8][1]=0.5;
727  anacutsval[8][2]=1.0;
728  anacutsval[8][3]=0.5;
729  anacutsval[8][4]=0.5;
730 
731 
732  anacutsval[9][0]=0.97;
733  anacutsval[9][1]=0.936;
734  anacutsval[9][2]=0.95;
735  anacutsval[9][3]=0.95;
736  anacutsval[9][4]= 0.95;
737  anacutsval[9][5]=0.92;
738  anacutsval[9][6]=0.92;
739  anacutsval[9][7]=0.92;
740  anacutsval[9][8]=0.92;
741  anacutsval[9][9]=0.90;
742  for(Int_t ipt=10;ipt<nptbins;ipt++){
743  anacutsval[9][ipt]=0.90;
744  }
745 
746 
747  anacutsval[10][0]=0.0055;
748  anacutsval[10][1]=0.0055;
749  anacutsval[10][2]= 0.0028;
750  anacutsval[10][3]=0.000883;
751  anacutsval[10][4]=0.000883;
752 
753 
754  for(Int_t ipt=5;ipt<nptbins;ipt++){
755  anacutsval[6][ipt]=0.02333;
756  anacutsval[7][ipt]=0.115;
757  anacutsval[8][ipt]=0.5;
758  anacutsval[10][ipt]=0.000883;
759  }
760 
761  anacutsval[12][0]=8;
762  anacutsval[12][1]=8;
763 
764  anacutsval[13][0]=0.98;
765  anacutsval[13][1]=0.98;
766  for(Int_t ipt=2;ipt<nptbins;ipt++){
767  anacutsval[12][ipt]=0.;
768  anacutsval[13][ipt]=0.;
769  }
770 
771 
772 
773  SetGlobalIndex(nvars,nptbins);
774  SetPtBins(nptbins+1,ptbins);
775  SetCuts(nvars,nptbins,anacutsval);
776  SetUsePID(kTRUE);
777  fPidHF->SetOldPid(kTRUE);
779 
780  // PrintAll();
781 
782  for(Int_t iic=0;iic<nvars;iic++){delete [] anacutsval[iic];}
783  delete [] anacutsval;
784  anacutsval=NULL;
785 
786  delete esdTrackCuts;
787  esdTrackCuts=NULL;
788 
789  return;
790 }
791 
792 
794  //
795  //STANDARD CUTS USED FOR 2010 Pb Pb analysis.... not optimized yet
796  //
797 
798  SetName("DplustoKpipiCutsStandard");
799  SetTitle("Standard Cuts for D+ analysis in PbPb2010 run");
800 
801  // PILE UP REJECTION
802  //SetOptPileup(AliRDHFCuts::kRejectPileupEvent);
803 
804  // EVENT CUTS
805  SetMinVtxContr(1);
806 
807 
808  AliESDtrackCuts* esdTrackCuts=new AliESDtrackCuts();
809  esdTrackCuts->SetRequireSigmaToVertex(kFALSE);
810  //default
811  esdTrackCuts->SetRequireTPCRefit(kTRUE);
812  esdTrackCuts->SetRequireITSRefit(kTRUE);
813  //esdTrackCuts->SetMinNClustersITS(4); // default is 5
814  esdTrackCuts->SetMinNClustersTPC(70);
815  esdTrackCuts->SetClusterRequirementITS(AliESDtrackCuts::kSPD,
816  AliESDtrackCuts::kAny);
817  // default is kBoth, otherwise kAny
818  esdTrackCuts->SetMinDCAToVertexXY(0.);
819  esdTrackCuts->SetPtRange(0.8,1.e10);
820 
821  AddTrackCuts(esdTrackCuts);
822 
823  const Int_t nptbins=10;
824  Float_t* ptbins;
825  ptbins=new Float_t[nptbins+1];
826 
827  ptbins[0]=0.;
828  ptbins[1]=1.;
829  ptbins[2]=2.;
830  ptbins[3]=3.;
831  ptbins[4]=4.;
832  ptbins[5]=5.;
833  ptbins[6]=6.;
834  ptbins[7]=8.;
835  ptbins[8]=12.;
836  ptbins[9]=16.;
837  ptbins[10]=24.;
838  const Int_t nvars=14;
839 
840  Float_t** anacutsval;
841  anacutsval=new Float_t*[nvars];
842 
843  for(Int_t ic=0;ic<nvars;ic++){anacutsval[ic]=new Float_t[nptbins];}
844  //Double_t cutsDplus[12]={0.2,0.4,0.4,0.,0.,0.01,0.06,0.02,0.,0.85,0.,10000000000.};
845 
846  for(Int_t ipt=0;ipt<nptbins;ipt++){
847  anacutsval[0][ipt]=0.2;
848  anacutsval[1][ipt]=0.8;
849  anacutsval[2][ipt]=0.8;
850  anacutsval[3][ipt]=0.;
851  anacutsval[4][ipt]=0.;
852  anacutsval[5][ipt]=0.01;
853  anacutsval[11][ipt]=10000000000.;
854  anacutsval[12][ipt]=0.;
855  anacutsval[13][ipt]=0.;
856  }
857  anacutsval[1][5]=0.9;
858 
859  anacutsval[6][0]=0.022100;
860  anacutsval[6][1]=0.022100;
861  anacutsval[6][2]=0.034;
862  anacutsval[6][3]=0.020667;
863  anacutsval[6][4]=0.020667;
864  anacutsval[6][5]=0.023333;
865 
866  anacutsval[7][0]=0.08;
867  anacutsval[7][1]=0.08;
868  anacutsval[7][2]=0.17;
869  anacutsval[7][3]=0.14;
870  anacutsval[7][4]=0.14;
871  anacutsval[7][5]=0.19;
872 
873  anacutsval[8][0]=0.8;
874  anacutsval[8][1]=0.8;
875  anacutsval[8][2]=1.1;
876  anacutsval[8][3]=0.5;
877  anacutsval[8][4]=0.5;
878  anacutsval[8][5]=0.5;
879 
880  anacutsval[9][0]=0.995;
881  anacutsval[9][1]=0.995;
882  anacutsval[9][2]=0.997;
883  anacutsval[9][3]=0.998;
884  anacutsval[9][4]=0.998;
885  anacutsval[9][5]=0.995;
886 
887  anacutsval[10][0]=0.0055;
888  anacutsval[10][1]=0.0055;
889  anacutsval[10][2]= 0.0028;
890  anacutsval[10][3]=0.000883;
891  anacutsval[10][4]=0.000883;
892  anacutsval[10][5]=0.000883;
893 
894  anacutsval[12][5]=12.;
895  anacutsval[13][5]=0.998571;
896  anacutsval[12][6]=10.;
897  anacutsval[13][6]=0.997143;
898 
899  for(Int_t ipt=6;ipt<nptbins;ipt++){
900  anacutsval[6][ipt]=0.02333;
901  anacutsval[7][ipt]=0.19;
902  anacutsval[8][ipt]=2.0;
903  anacutsval[9][ipt]=0.997;
904  anacutsval[10][ipt]=0.000883;
905  }
906  anacutsval[7][6]=0.14;
907  anacutsval[9][6]=0.995;
908 
909  SetPtBins(nptbins+1,ptbins);
910  SetCuts(nvars,nptbins,anacutsval);
911  SetUsePID(kTRUE);
912  fPidHF->SetOldPid(kTRUE);
913  SetMinCentrality(1E-10);
914  SetMaxCentrality(20.);
917 
918  // PrintAll();
919 
920  for(Int_t iic=0;iic<nvars;iic++){delete [] anacutsval[iic];}
921  delete [] anacutsval;
922  anacutsval=NULL;
923 
924  delete [] ptbins;
925  ptbins=NULL;
926 
927  delete esdTrackCuts;
928  esdTrackCuts=NULL;
929 
930  return;
931 }
932 
933 
935 
936  // Default 2010 PbPb cut object
938 
939  // Enable all 2011 PbPb run triggers
940  //
941  SetTriggerClass("");
945 
946  // new PID
947  fPidHF->SetOldPid(kFALSE);
948 
949 }
950 //--------------------------------------------------------------------------
951 
953 
954  UInt_t bitmap=0;
955 
956  Double_t sigmaTPCPionHyp=-999.;
957  Double_t sigmaTPCKaonHyp=-999.;
958  Double_t sigmaTPCProtonHyp=-999.;
959  Double_t sigmaTOFPionHyp=-999.;
960  Double_t sigmaTOFKaonHyp=-999.;
961  Double_t sigmaTOFProtonHyp=-999.;
962 
963  Int_t oksigmaTPCPionHyp=fPidHF->GetnSigmaTPC(track,2,sigmaTPCPionHyp);
964  Int_t oksigmaTPCKaonHyp=fPidHF->GetnSigmaTPC(track,3,sigmaTPCKaonHyp);
965  Int_t oksigmaTPCProtonHyp=fPidHF->GetnSigmaTPC(track,4,sigmaTPCProtonHyp);
966  Int_t oksigmaTOFPionHyp=fPidHF->GetnSigmaTOF(track,2,sigmaTOFPionHyp);
967  Int_t oksigmaTOFKaonHyp=fPidHF->GetnSigmaTOF(track,3,sigmaTOFKaonHyp);
968  Int_t oksigmaTOFProtonHyp=fPidHF->GetnSigmaTOF(track,4,sigmaTOFProtonHyp);
969 
970  sigmaTPCPionHyp=TMath::Abs(sigmaTPCPionHyp);
971  sigmaTPCKaonHyp=TMath::Abs(sigmaTPCKaonHyp);
972  sigmaTPCProtonHyp=TMath::Abs(sigmaTPCProtonHyp);
973  sigmaTOFPionHyp=TMath::Abs(sigmaTOFPionHyp);
974  sigmaTOFKaonHyp=TMath::Abs(sigmaTOFKaonHyp);
975  sigmaTOFProtonHyp=TMath::Abs(sigmaTOFProtonHyp);
976 
977  if (oksigmaTPCPionHyp && sigmaTPCPionHyp>0.){
978  if (sigmaTPCPionHyp<1.) bitmap+=1<<kTPCPionLess1;
979  else{
980  if (sigmaTPCPionHyp<2.) bitmap+=1<<kTPCPionMore1Less2;
981  else {
982  if (sigmaTPCPionHyp<3.) bitmap+=1<<kTPCPionMore2Less3;
983  else bitmap+=1<<kTPCPionMore3;
984  }
985  }
986  }
987 
988  if (oksigmaTPCKaonHyp && sigmaTPCKaonHyp>0.){
989  if (sigmaTPCKaonHyp<1.) bitmap+=1<<kTPCKaonLess1;
990  else{
991  if (sigmaTPCKaonHyp<2.) bitmap+=1<<kTPCKaonMore1Less2;
992  else {
993  if (sigmaTPCKaonHyp<3.) bitmap+=1<<kTPCKaonMore2Less3;
994  else bitmap+=1<<kTPCKaonMore3;
995  }
996  }
997  }
998 
999  if (oksigmaTPCProtonHyp && sigmaTPCProtonHyp>0.){
1000  if (sigmaTPCProtonHyp<1.) bitmap+=1<<kTPCProtonLess1;
1001  else{
1002  if (sigmaTPCProtonHyp<2.) bitmap+=1<<kTPCProtonMore1Less2;
1003  else {
1004  if (sigmaTPCProtonHyp<3.) bitmap+=1<<kTPCProtonMore2Less3;
1005  else bitmap+=1<<kTPCProtonMore3;
1006  }
1007  }
1008  }
1009 
1010  if (oksigmaTOFPionHyp && sigmaTOFPionHyp>0.){
1011  if (sigmaTOFPionHyp<1.) bitmap+=1<<kTOFPionLess1;
1012  else{
1013  if (sigmaTOFPionHyp<2.) bitmap+=1<<kTOFPionMore1Less2;
1014  else {
1015  if (sigmaTOFPionHyp<3.) bitmap+=1<<kTOFPionMore2Less3;
1016  else bitmap+=1<<kTOFPionMore3;
1017  }
1018  }
1019  }
1020 
1021  if (oksigmaTOFKaonHyp && sigmaTOFKaonHyp>0.){
1022  if (sigmaTOFKaonHyp<1.) bitmap+=1<<kTOFKaonLess1;
1023  else{
1024  if (sigmaTOFKaonHyp<2.) bitmap+=1<<kTOFKaonMore1Less2;
1025  else {
1026  if (sigmaTOFKaonHyp<3.) bitmap+=1<<kTOFKaonMore2Less3;
1027  else bitmap+=1<<kTOFKaonMore3;
1028  }
1029  }
1030  }
1031 
1032  if (oksigmaTOFProtonHyp && sigmaTOFProtonHyp>0.){
1033  if (sigmaTOFProtonHyp<1.) bitmap+=1<<kTOFProtonLess1;
1034  else{
1035  if (sigmaTOFProtonHyp<2.) bitmap+=1<<kTOFProtonMore1Less2;
1036  else {
1037  if (sigmaTOFProtonHyp<3.) bitmap+=1<<kTOFProtonMore2Less3;
1038  else bitmap+=1<<kTOFProtonMore3;
1039  }
1040  }
1041  }
1042 
1043 
1044 
1045  return bitmap;
1046 
1047 }
1048 //---------------------------------------------------------------------------
1050  //
1051  // print all cuts values
1052  //
1055  printf("Cuts on d0meas-d0exp:\n");
1056  for(Int_t ib=0;ib<fnPtBins;ib++){
1057  printf("%f ",fMaxd0MeasMinusExp[ib]);
1058  }
1059  printf("\n");
1060  }else{
1061  printf("No cut on d0meas-d0exp:\n");
1062  }
1063  if(fUsed0Cut){
1064  printf("Cuts on d0:\n");
1065  for(Int_t ib=0;ib<fnPtBins;ib++){
1066  printf("%f ",fMaxd0[ib]);
1067  }
1068  printf("\n");
1069  }else{
1070  printf("No cut on d0\n");
1071  }
1073  printf("NormDLxy scaled by p/pt\n");
1074  }else{
1075  printf("NormDLxy NOT scaled by p/pt\n");
1076  }
1078  printf("d0K*d0pi1 vs. d0K*d0pi2 cut enabled\n");
1079  }else{
1080  printf("d0K*d0pi1 vs. d0K*d0pi2 cut disabled\n");
1081  }
1082 }
Double_t NormalizedDecayLengthXY() const
Int_t fIsSelectedCuts
fix the daughter track references
Definition: AliRDHFCuts.h:458
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:443
Bool_t SetMCPrimaryVtx(AliAODRecoDecayHF *d, AliAODEvent *aod) const
Bool_t fRemoveDaughtersFromPrimary
Definition: AliRDHFCuts.h:442
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:407
UInt_t GetPIDTrackTPCTOFBitMap(AliAODTrack *track) const
Double_t CosPointingAngleXY() const
Double_t fMaxRapidityCand
minimum pt of the candidate
Definition: AliRDHFCuts.h:462
void EnableSemiCentralTrigger()
Definition: AliRDHFCuts.h:98
void SetGlobalIndex()
Definition: AliRDHFCuts.h:202
virtual Bool_t IsInFiducialAcceptance(Double_t pt, Double_t y) const
AliRDHFCuts & operator=(const AliRDHFCuts &source)
Bool_t fUsePID
Definition: AliRDHFCuts.h:437
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:60
int Int_t
Definition: External.C:63
Bool_t fUseTrackSelectionWithFilterBits
flag to reject kink daughters
Definition: AliRDHFCuts.h:472
void SetCuts(Int_t nVars, Int_t nPtBins, Float_t **cutsRD)
Int_t fnVarsForOpt
Definition: AliRDHFCuts.h:432
void ResetMaskAndEnableMBTrigger()
Definition: AliRDHFCuts.h:78
void SetMinCentrality(Float_t minCentrality=0.)
Definition: AliRDHFCuts.h:52
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:461
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:463
Double_t GetSigmaVert(const AliAODEvent *aod=0x0)
virtual Int_t PreSelect(TObjArray aodTracks)
Int_t fIsSelectedPID
outcome of cuts selection
Definition: AliRDHFCuts.h:459
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:435
Double_t DecayLength2() const
kinematics & topology
void SetMaxCentrality(Float_t maxCentrality=100.)
Definition: AliRDHFCuts.h:53
Int_t fUsePreselect
Definition: AliRDHFCuts.h:488
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:433
Bool_t AreDaughtersSelected(AliAODRecoDecayHF *rd, const AliAODEvent *aod=0x0) const
void EnableCentralTrigger()
Definition: AliRDHFCuts.h:86
void SetUsePID(Bool_t flag=kTRUE)
Definition: AliRDHFCuts.h:210
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:220
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:208
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:427
void SetCompat(Bool_t comp)
Definition: AliAODPidHF.h:100
void SetTriggerClass(TString trclass0, TString trclass1="")
Definition: AliRDHFCuts.h:198
AliAODPidHF * fPidHF
enable AOD049 centrality cleanup
Definition: AliRDHFCuts.h:439
Bool_t RecalcOwnPrimaryVtx(AliAODRecoDecayHF *d, AliAODEvent *aod) const
Int_t PtBin(Double_t pt) const
void SetOptPileup(Int_t opt=0)
Definition: AliRDHFCuts.h:224
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:460