AliPhysics  vAN-20150822 (d56cf94)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliRDHFCutsOmegactoeleOmegafromAODtracks.h
Go to the documentation of this file.
1 #ifndef ALIRDHFCUTSOMEGACTOELEOMEGAFROMAODTRACKS_H
2 #define ALIRDHFCUTSOMEGACTOELEOMEGAFROMAODTRACKS_H
3 /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 /* $Id$ */
7 
8 //***********************************************************
11 //***********************************************************
12 
13 #include "AliRDHFCuts.h"
14 
16 {
17  public:
18 
23  };
24 
25  AliRDHFCutsOmegactoeleOmegafromAODtracks(const char* name="CutsOmegactoeleOmega");
29 
31  virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgdaughters);
32 
34  virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel);
36  virtual Int_t IsSelectedPID(AliAODRecoDecayHF* obj);
38  Bool_t IsSelectedeID(AliAODTrack* trk);
39  Bool_t IsSelectedCustomizedeID(AliAODTrack* trk);
40  Bool_t IsSelectedCombinedeID(AliAODTrack* trk);
41 
42  void SetPIDStrategy(EPIDStrategy pidStrategy){fPIDStrategy=pidStrategy;}
46 
47 
48  Bool_t SingleTrkCuts(AliAODTrack *trk, AliAODVertex *primvert);
49  Bool_t SingleCascadeCuts(AliAODcascade *casc, Double_t *vert);
50  Bool_t SelectWithRoughCuts(AliAODcascade *casc, AliAODTrack *trk1);
51 
57  void SetProdMassRejXi(Double_t a){fProdMassRejXi=a;}
58  void SetProdRfidMinV0(Double_t a){fProdRfidMinV0=a;}
59  void SetProdRfidMaxV0(Double_t a){fProdRfidMaxV0=a;}
72  void SetProdCascEtaRange(Double_t a, Double_t b){fProdCascEtaMin=a;fProdCascEtaMax=b;}
73  void SetProdCascRapRange(Double_t a, Double_t b){fProdCascRapMin=a;fProdCascRapMax=b;}
75  void SetProdRoughPtMin(Double_t a){fProdRoughPtMin=a;}
76 
82  Double_t GetProdMassRejXi(){return fProdMassRejXi;}
83  Double_t GetProdRfidMinV0(){return fProdRfidMinV0;}
84  Double_t GetProdRfidMaxV0(){return fProdRfidMaxV0;}
97  Double_t GetProdRoughPtMin(){return fProdRoughPtMin;}
99  void GetProdCascEtaRange(Double_t &a, Double_t &b){a=fProdCascEtaMin;b=fProdCascEtaMax;}
100  void GetProdCascRapRange(Double_t &a, Double_t &b){a=fProdCascRapMin;b=fProdCascRapMax;}
101 
103  void SetUseCascadePID(Bool_t a){fUseCascadePID=a;}
104  void SetPidCascPi(AliAODPidHF* pidPion) {
105  if(fPidObjCascPi) delete fPidObjCascPi;
106  fPidObjCascPi=new AliAODPidHF(*pidPion);
107  }
109  void SetPidCascPr(AliAODPidHF* pidProton) {
110  if(fPidObjCascPr) delete fPidObjCascPr;
111  fPidObjCascPr=new AliAODPidHF(*pidProton);
112  }
114  void SetPidCascKa(AliAODPidHF* pidKaon) {
115  if(fPidObjCascKa) delete fPidObjCascKa;
116  fPidObjCascKa=new AliAODPidHF(*pidKaon);
117  }
119 
128 
129 
130  protected:
131 
132  private:
133 
136  Bool_t fUseCascadePID;
140 // Bool_t fUseOnTheFlyV0; /// Flag to check if we use on-the-fly v0
141 
146  Double_t fProdMassTolOmega;
147  Double_t fProdMassRejXi;
148  Double_t fProdRfidMinV0;
149  Double_t fProdRfidMaxV0;
150  Double_t fProdRfidMinOmega;
151  Double_t fProdRfidMaxOmega;
162  Double_t fProdCascEtaMin;
163  Double_t fProdCascEtaMax;
164  Double_t fProdCascRapMin;
165  Double_t fProdCascRapMax;
166  Double_t fProdRoughMassTol;
167  Double_t fProdRoughPtMin;
168 
179 
183 };
184 
185 #endif
Double_t fProdMassRejXi
Tolerance of Xi mass from PDG value.
virtual Int_t IsSelected(TObject *obj, Int_t selectionLevel)
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)=0
Bool_t fExcludePionTPC
pT cut for Lc used before object creation
Double_t fProdMassTolLambda
Flag for AOD filter Bit used before object creation.
Double_t fSigmaElectronTOFMin
nSigma to exclude for Kaon band
Double_t fExcludenSigmaPionTPC
Flag wheter to exlude proton band.
Bool_t fUseCascadePID
Threshold used in IsSelectedCombinedPID.
Bool_t SingleCascadeCuts(AliAODcascade *casc, Double_t *vert)
Double_t fSigmaElectronTPCMax
nSigma to exclude for Kaon band
Double_t fProdDcaBachToPrimVertexMin
Max Dca between V0 daughters.
AliAODPidHF * fPidObjCascPr
PID object for cascade-pion.
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)
virtual Int_t IsSelectedPID(AliAODRecoDecayHF *)
Definition: AliRDHFCuts.h:280
AliRDHFCutsOmegactoeleOmegafromAODtracks(const char *name="CutsOmegactoeleOmega")
Double_t fProdDcaV0PiToPrimVertexMin
Min Dca between v0-proton and PV.
Bool_t fExcludeKaonTPC
Flag wheter to exlude proton band.
AliAODPidHF * fPidObjCascKa
PID object for cascade-proton.
Double_t fExcludenSigmaProtonTPC
nSigma to exclude for pion band
Double_t fProdV0CosineOfPoiningAngleXiMin
Min Xi cos pointing angle to PV.
Double_t fProdCascNTPCClustersMin
Min V0 cos pointing angle to Xi vertex.
Bool_t SingleTrkCuts(AliAODTrack *trk, AliAODVertex *primvert)
Double_t fSigmaElectronTPCMin
nSigma to exclude for Kaon band
Double_t fSigmaElectronTOFMax
nSigma to exclude for Kaon band
Bool_t IsSelected(TObject *obj)
Definition: AliRDHFCuts.h:273
Bool_t SelectWithRoughCuts(AliAODcascade *casc, AliAODTrack *trk1)
Double_t fProdMassTolOmega
Tolerance of Lambda mass from PDG value.
Double_t fProdTrackTPCNclsRatioMin
Min. Number of TPC PID cluster.
Double_t fProdDcaV0ToPrimVertexMin
Min Dca between Bachelor and PV.
Double_t fProdRoughPtMin
Mass cut for Lc used before object creation.
Double_t fExcludenSigmaKaonTPC
nSigma to exclude for proton band
Double_t fProdRfidMinV0
Rejection range of Omega mass from PDG value.
Double_t fProdXiCosineOfPoiningAngleMin
Min Dca between v0-pion and PV.
AliRDHFCutsOmegactoeleOmegafromAODtracks & operator=(const AliRDHFCutsOmegactoeleOmegafromAODtracks &source)