AliPhysics  vAN-20150924 (e816f45)
 All Classes Namespaces Files Functions Variables 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 SelectWithRoughCuts(AliAODv0 *v0, AliAODTrack *trk1);
56 
62  void SetProdV0PtMin(Double_t a){fProdV0PtMin=a;}
69  void SetProdRfidMinV0(Double_t a){fProdRfidMinV0=a;}
70  void SetProdRfidMaxV0(Double_t a){fProdRfidMaxV0=a;}
75  void SetProdMassRejK0s(Double_t a){fProdMassRejK0s=a;}
76  void SetProdV0EtaRange(Double_t a, Double_t b){fProdV0EtaMin=a;fProdV0EtaMax=b;}
77  void SetProdV0RapRange(Double_t a, Double_t b){fProdV0RapMin=a;fProdV0RapMax=b;}
78 
80  void SetProdRoughPtMin(Double_t a){fProdRoughPtMin=a;}
81 
87  Double_t GetProdV0PtMin(){return fProdV0PtMin;}
94  Double_t GetProdRfidMinV0(){return fProdRfidMinV0;}
95  Double_t GetProdRfidMaxV0(){return fProdRfidMaxV0;}
100  Double_t GetProdMassRejK0s(){return fProdMassRejK0s;}
101  void GetProdV0EtaRange(Double_t &a, Double_t &b){a=fProdV0EtaMin;b=fProdV0EtaMax;}
102  void GetProdV0RapRange(Double_t &a, Double_t &b){a=fProdV0RapMin;b=fProdV0RapMax;}
103 
105  Double_t GetProdRoughPtMin(){return fProdRoughPtMin;}
106 
107  void SetUseLambdaPID(Bool_t a){fUseLambdaPID=a;}
108  Bool_t GetUseLambdaPID(){return fUseLambdaPID;}
109  void SetPidProton(AliAODPidHF* pidProton) {
110  if(fPidObjProton) delete fPidObjProton;
111  fPidObjProton=new AliAODPidHF(*pidProton);
112  }
114  void SetPidPion(AliAODPidHF* pidPion) {
115  if(fPidObjPion) delete fPidObjPion;
116  fPidObjPion=new AliAODPidHF(*pidPion);
117  }
118  AliAODPidHF* GetPidPion() const {return fPidObjPion;}
123 
134  Bool_t IsPeakRegion(AliAODv0 *c);
135  Bool_t IsPeakRegion(TLorentzVector *c);
136  Bool_t IsSideBand(AliAODv0 *c);
137  Bool_t IsSideBand(TLorentzVector *c);
138 
139  protected:
140 
141  private:
142 
145  Bool_t fUseLambdaPID;
148  Bool_t fUseOnTheFlyV0;
149 
155  Double_t fProdV0PtMin;
162  Double_t fProdRfidMinV0;
163  Double_t fProdRfidMaxV0;
168  Double_t fProdMassRejK0s;
169  Double_t fProdV0EtaMin;
170  Double_t fProdV0EtaMax;
171  Double_t fProdV0RapMin;
172  Double_t fProdV0RapMax;
173  Double_t fProdRoughMassTol;
174  Double_t fProdRoughPtMin;
175 
189 
193 };
194 
195 #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.
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
Minimum Lambda pT used before object creation.
Double_t fProdV0PtMin
Lambda mass selection 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:280
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 fProdV0MassTolLambdaRough
Lambda mass selection used before object creation.
Bool_t fProdUseAODFilterBit
Min. Number of TPC PID cluster.
Bool_t SingleTrkCutsNoPID(AliAODTrack *trk, AliAODVertex *vert)
Bool_t IsSelected(TObject *obj)
Definition: AliRDHFCuts.h:273
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)