AliPhysics  vAN-20150822 (d56cf94)
 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 
61  void SetProdV0PtMin(Double_t a){fProdV0PtMin=a;}
68  void SetProdRfidMinV0(Double_t a){fProdRfidMinV0=a;}
69  void SetProdRfidMaxV0(Double_t a){fProdRfidMaxV0=a;}
74  void SetProdMassRejK0s(Double_t a){fProdMassRejK0s=a;}
75  void SetProdV0EtaRange(Double_t a, Double_t b){fProdV0EtaMin=a;fProdV0EtaMax=b;}
76  void SetProdV0RapRange(Double_t a, Double_t b){fProdV0RapMin=a;fProdV0RapMax=b;}
77 
79  void SetProdRoughPtMin(Double_t a){fProdRoughPtMin=a;}
80 
85  Double_t GetProdV0PtMin(){return fProdV0PtMin;}
92  Double_t GetProdRfidMinV0(){return fProdRfidMinV0;}
93  Double_t GetProdRfidMaxV0(){return fProdRfidMaxV0;}
98  Double_t GetProdMassRejK0s(){return fProdMassRejK0s;}
99  void GetProdV0EtaRange(Double_t &a, Double_t &b){a=fProdV0EtaMin;b=fProdV0EtaMax;}
100  void GetProdV0RapRange(Double_t &a, Double_t &b){a=fProdV0RapMin;b=fProdV0RapMax;}
101 
103  Double_t GetProdRoughPtMin(){return fProdRoughPtMin;}
104 
105  void SetUseLambdaPID(Bool_t a){fUseLambdaPID=a;}
106  Bool_t GetUseLambdaPID(){return fUseLambdaPID;}
107  void SetPidProton(AliAODPidHF* pidProton) {
108  if(fPidObjProton) delete fPidObjProton;
109  fPidObjProton=new AliAODPidHF(*pidProton);
110  }
112  void SetPidPion(AliAODPidHF* pidPion) {
113  if(fPidObjPion) delete fPidObjPion;
114  fPidObjPion=new AliAODPidHF(*pidPion);
115  }
116  AliAODPidHF* GetPidPion() const {return fPidObjPion;}
120 
130 
131  protected:
132 
133  private:
134 
137  Bool_t fUseLambdaPID;
140  Bool_t fUseOnTheFlyV0;
141 
146  Double_t fProdV0PtMin;
153  Double_t fProdRfidMinV0;
154  Double_t fProdRfidMaxV0;
159  Double_t fProdMassRejK0s;
160  Double_t fProdV0EtaMin;
161  Double_t fProdV0EtaMax;
162  Double_t fProdV0RapMin;
163  Double_t fProdV0RapMax;
164  Double_t fProdRoughMassTol;
165  Double_t fProdRoughPtMin;
166 
179 
183 };
184 
185 #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.
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.
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.
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 (par1)
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")
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)