AliPhysics  a0db429 (a0db429)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
AliRDHFCutsLctoeleLambdafromAODtracks.h
Go to the documentation of this file.
1 #ifndef ALIRDHFCUTSLCTOELELAMBDAFROMAODTRACKS_H
2 #define ALIRDHFCUTSLCTOELELAMBDAFROMAODTRACKS_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 
24  };
25 
26  AliRDHFCutsLctoeleLambdafromAODtracks(const char* name="CutsLctoeleLambda");
30 
32  virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgdaughters);
33 
35  virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel);
37  virtual Int_t IsSelectedPID(AliAODRecoDecayHF* obj);
39  Bool_t IsSelectedeID(AliAODTrack* trk);
40  Bool_t IsSelectedCustomizedeID(AliAODTrack* trk);
41  Bool_t IsSelectedCustomizedPtDepeID(AliAODTrack* trk);
42  Bool_t IsSelectedCombinedeID(AliAODTrack* trk);
43 
44  void SetPIDStrategy(EPIDStrategy pidStrategy){fPIDStrategy=pidStrategy;}
48 
49  void SetUseOnTheFlyV0(Bool_t a) { fUseOnTheFlyV0=a; }
50  Bool_t GetUseOnTheFlyV0() { return fUseOnTheFlyV0; }
51 
52  Bool_t SingleTrkCuts(AliAODTrack *trk, AliAODVertex *vert);
53  Bool_t SingleTrkCutsNoPID(AliAODTrack *trk, AliAODVertex *vert);
54  Bool_t SingleV0Cuts(AliAODv0 *v0, AliAODVertex *vert);
55  Bool_t TagConversions(AliAODTrack *etrk, AliAODEvent *evt, Int_t ntrk, Double_t &minmass);
56  Bool_t TagConversionsSameSign(AliAODTrack *etrk, AliAODEvent *evt, Int_t ntrk, Double_t &minmass);
57  Bool_t SelectWithRoughCuts(AliAODv0 *v0, AliAODTrack *trk1);
58 
64  void SetProdV0PtMin(Double_t a){fProdV0PtMin=a;}
65  void SetProdV0PtMax(Double_t a){fProdV0PtMax=a;}
72  void SetProdRfidMinV0(Double_t a){fProdRfidMinV0=a;}
73  void SetProdRfidMaxV0(Double_t a){fProdRfidMaxV0=a;}
78  void SetProdMassRejK0s(Double_t a){fProdMassRejK0s=a;}
79  void SetProdV0EtaRange(Double_t a, Double_t b){fProdV0EtaMin=a;fProdV0EtaMax=b;}
80  void SetProdV0RapRange(Double_t a, Double_t b){fProdV0RapMin=a;fProdV0RapMax=b;}
81 
83  void SetProdRoughPtMin(Double_t a){fProdRoughPtMin=a;}
84 
90  Double_t GetProdV0PtMin(){return fProdV0PtMin;}
91  Double_t GetProdV0PtMax(){return fProdV0PtMax;}
98  Double_t GetProdRfidMinV0(){return fProdRfidMinV0;}
99  Double_t GetProdRfidMaxV0(){return fProdRfidMaxV0;}
104  Double_t GetProdMassRejK0s(){return fProdMassRejK0s;}
105  void GetProdV0EtaRange(Double_t &a, Double_t &b){a=fProdV0EtaMin;b=fProdV0EtaMax;}
106  void GetProdV0RapRange(Double_t &a, Double_t &b){a=fProdV0RapMin;b=fProdV0RapMax;}
107 
109  Double_t GetProdRoughPtMin(){return fProdRoughPtMin;}
110 
111  void SetUseLambdaPID(Bool_t a){fUseLambdaPID=a;}
112  Bool_t GetUseLambdaPID(){return fUseLambdaPID;}
113  void SetPidProton(AliAODPidHF* pidProton) {
114  if(fPidObjProton) delete fPidObjProton;
115  fPidObjProton=new AliAODPidHF(*pidProton);
116  }
118  void SetPidPion(AliAODPidHF* pidPion) {
119  if(fPidObjPion) delete fPidObjPion;
120  fPidObjPion=new AliAODPidHF(*pidPion);
121  }
122  AliAODPidHF* GetPidPion() const {return fPidObjPion;}
128 
140  Bool_t IsPeakRegion(AliAODv0 *c);
141  Bool_t IsPeakRegion(TLorentzVector *c);
142  Bool_t IsSideBand(AliAODv0 *c);
143  Bool_t IsSideBand(TLorentzVector *c);
144 
145  protected:
146 
147  private:
148 
151  Bool_t fUseLambdaPID;
154  Bool_t fUseOnTheFlyV0;
155 
161  Double_t fProdV0PtMin;
162  Double_t fProdV0PtMax;
169  Double_t fProdRfidMinV0;
170  Double_t fProdRfidMaxV0;
175  Double_t fProdMassRejK0s;
176  Double_t fProdV0EtaMin;
177  Double_t fProdV0EtaMax;
178  Double_t fProdV0RapMin;
179  Double_t fProdV0RapMax;
180  Double_t fProdRoughMassTol;
181  Double_t fProdRoughPtMin;
182 
196 
198 
202 };
203 
204 #endif
Bool_t SingleV0Cuts(AliAODv0 *v0, AliAODVertex *vert)
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)=0
Double_t fProdV0DaughterTPCCrossRatioMin
V0 daughter Minimum TPC cluster pT used before object creation.
Bool_t TagConversions(AliAODTrack *etrk, AliAODEvent *evt, Int_t ntrk, Double_t &minmass)
Double_t fProdV0ProperDecayLengthMax
Min Dca between v0-pion and PV.
Double_t fSigmaElectronTPCMin
nSigma to exclude for Kaon band
AliAODPidHF * fPidObjProton
Use PID for proton from Lc.
Double_t fProdRoughMassTol
Maximum rapidity of cascade.
AliRDHFCutsLctoeleLambdafromAODtracks & operator=(const AliRDHFCutsLctoeleLambdafromAODtracks &source)
Double_t fProdV0CosPointingAngleToPrimVtxMin
Max Lambda pT used before object creation.
Double_t fProdV0PtMin
Lambda mass selection used before object creation.
Double_t fProdV0PtMax
Minimum Lambda pT used before object creation.
Double_t fExcludenSigmaKaonTPC
nSigma to exclude for proton band
Bool_t fExcludePionTPC
pT cut for Lc used before object creation
Double_t fProdTrackTPCNclsRatioMin
Min. Number of TPC PID cluster.
Double_t fSigmaElectronTPCPtDepPar1
nSigma electron lower limit (par0)
Double_t fSigmaElectronTPCPtDepPar0
nSigma to exclude for Kaon band
virtual Int_t IsSelectedPID(AliAODRecoDecayHF *)
Definition: AliRDHFCuts.h:281
Double_t fExcludenSigmaProtonTPC
nSigma to exclude for pion band
Double_t fProdDcaV0PrToPrimVertexMin
Min Dca between v0 and PV.
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)
Double_t fProdV0DaughterEtaRange
Max DCA between V0 daughters used before object creation.
Bool_t fUseLambdaPID
Threshold used in IsSelectedCombinedPID.
Double_t fSigmaElectronTOFMin
nSigma to exclude for Kaon band
Bool_t fExcludeKaonTPC
Flag wheter to exlude proton band.
Double_t fProdRoughPtMin
Mass cut for Lc used before object creation.
Double_t fProdDcaV0PiToPrimVertexMin
Min Dca between v0-proton and PV.
void GetSigmaElectronTPCPtDepPars(Double_t &a, Double_t &b, Double_t &c)
Double_t fSigmaElectronTOFMax
nSigma to exclude for Kaon band
Int_t fProdTrackTPCNclsPIDMin
Flag to check if we use on-the-fly v0.
Bool_t fUseOnTheFlyV0
PID object for proton from Lc.
Double_t fSigmaElectronTPCPtDepPar2
nSigma electron lower limit (par1)
Bool_t SelectWithRoughCuts(AliAODv0 *v0, AliAODTrack *trk1)
Double_t fProdV0MassTolLambda
Flag for AOD filter Bit used before object creation.
Double_t fProdV0EtaMin
Rejection range of Omega mass from PDG value.
Double_t fProdV0DaughterTPCClusterMin
V0 Daughter pT min used before object creation.
Double_t fExcludenSigmaPionTPC
Flag wheter to exlude proton band.
Bool_t fExcludeProtonTPC
Flag wheter to exlude pion band.
Double_t fConversionMassMax
nSigma to exclude for Kaon band
Double_t fProdV0MassTolLambdaRough
Lambda mass selection used before object creation.
Bool_t TagConversionsSameSign(AliAODTrack *etrk, AliAODEvent *evt, Int_t ntrk, Double_t &minmass)
Bool_t fProdUseAODFilterBit
Min. Number of TPC PID cluster.
Bool_t SingleTrkCutsNoPID(AliAODTrack *trk, AliAODVertex *vert)
Bool_t IsSelected(TObject *obj)
Definition: AliRDHFCuts.h:274
Double_t fSigmaElectronTPCMax
nSigma electron lower limit (par2)
virtual Int_t IsSelected(TObject *obj, Int_t selectionLevel)
Double_t fProdRfidMinV0
V0 daughter Minimum TPC cluster pT used before object creation.
Double_t fProdV0DcaDaughtersMax
V0 pointing angle used before object creation.
AliRDHFCutsLctoeleLambdafromAODtracks(const char *name="CutsLctoeleLambda")
void SetSigmaElectronTPCPtDepPars(Double_t a, Double_t b, Double_t c)
AliAODPidHF * fPidObjPion
PID object for proton from Lc.
Double_t fProdV0DaughterPtMin
V0Daughter eta range used before object creation.
Bool_t SingleTrkCuts(AliAODTrack *trk, AliAODVertex *vert)