AliPhysics  vAN-20150924 (e816f45)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliRDHFCutsD0toKpipipi.h
Go to the documentation of this file.
1 #ifndef ALIRDHFCUTSD0TOKPIPIPI_H
2 #define ALIRDHFCUTSD0TOKPIPIPI_H
3 /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 //***********************************************************
11 //***********************************************************
12 
13 #include "AliRDHFCuts.h"
15 
17 {
18  public:
19 
20  AliRDHFCutsD0toKpipipi(const char* name="CutsD0toKpipipi");
21 
23 
26 
28  virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgdaughters){
29  return GetCutVarsForOpt(d,vars,nvars,pdgdaughters,0x0);
30  }
31  virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgdaughters,AliAODEvent* aod);
32 
34  virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel);
35  virtual Int_t IsSelectedFromPID(AliAODRecoDecayHF4Prong *d, Int_t *hyp1, Int_t *hyp2, Int_t *hyp3, Int_t *hyp4);
36  virtual Int_t D01Selected(TObject* obj,Int_t selectionLevel);
37  virtual Int_t D02Selected(TObject* obj,Int_t selectionLevel);
38  virtual Int_t D0bar1Selected(TObject* obj,Int_t selectionLevel);
39  virtual Int_t D0bar2Selected(TObject* obj,Int_t selectionLevel);
40 
41  Float_t GetMassCut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(0,iPtBin)] : 1.e6);}
42  Float_t GetDCACut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(1,iPtBin)] : 1.e6);}
43  Bool_t GetUsePID(Int_t iPtBin=0) const { return (GetCuts() ? (Bool_t)(fCutsRD[GetGlobalIndex(8,iPtBin)]) : kFALSE);}
44 
45  virtual Bool_t IsInFiducialAcceptance(Double_t pt,Double_t y) const;
46 
47  protected:
48 
50  ClassDef(AliRDHFCutsD0toKpipipi,1);
51 };
53 
54 #endif
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)=0
virtual Int_t D01Selected(TObject *obj, Int_t selectionLevel)
virtual Int_t IsSelected(TObject *obj, Int_t selectionLevel)
virtual Int_t IsSelectedFromPID(AliAODRecoDecayHF4Prong *d, Int_t *hyp1, Int_t *hyp2, Int_t *hyp3, Int_t *hyp4)
const Float_t * GetCuts() const
Definition: AliRDHFCuts.h:238
virtual Int_t D0bar1Selected(TObject *obj, Int_t selectionLevel)
AliRDHFCutsD0toKpipipi & operator=(const AliRDHFCutsD0toKpipipi &source)
virtual Int_t D02Selected(TObject *obj, Int_t selectionLevel)
Float_t GetMassCut(Int_t iPtBin=0) const
Float_t * fCutsRD
fnVars*fnPtBins
Definition: AliRDHFCuts.h:386
virtual Int_t D0bar2Selected(TObject *obj, Int_t selectionLevel)
Float_t GetDCACut(Int_t iPtBin=0) const
AliRDHFCutsD0toKpipipi(const char *name="CutsD0toKpipipi")
Bool_t IsSelected(TObject *obj)
Definition: AliRDHFCuts.h:273
virtual Bool_t IsInFiducialAcceptance(Double_t pt, Double_t y) const
Int_t GetGlobalIndex(Int_t iVar, Int_t iPtBin) const
Bool_t GetUsePID(Int_t iPtBin=0) const
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)