AliPhysics  97344c9 (97344c9)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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);
39  Bool_t IsSelectedeID(AliAODTrack* trk);
40  Bool_t IsSelectedCustomizedeID(AliAODTrack* trk);
41  Bool_t IsSelectedCustomizedPtDepeID(AliAODTrack* trk, AliAODTrack *trkpid);
42  Bool_t IsSelectedCombinedeID(AliAODTrack* trk);
43  Int_t IsSelected(TLorentzVector* vtrk, TLorentzVector *vv0, Double_t *cutvars, Int_t selectionLevel);
44 
45  void SetPIDStrategy(EPIDStrategy pidStrategy){fPIDStrategy=pidStrategy;}
49 
54 
55  Bool_t SingleTrkCuts(AliAODTrack *trk, AliAODTrack *trkpid, AliAODVertex *vert);
56  Bool_t SingleTrkCutsNoPID(AliAODTrack *trk, AliAODTrack *trkpid, AliAODVertex *vert);
57  Bool_t SingleV0Cuts(AliAODv0 *v0, AliAODVertex *vert);
58  Bool_t TagConversions(AliAODTrack *etrk, Int_t *id2index, AliAODEvent *evt, Int_t ntrk, Double_t &minmass);
59  Bool_t TagConversionsSameSign(AliAODTrack *etrk, Int_t *id2index, AliAODEvent *evt, Int_t ntrk, Double_t &minmass);
60  Bool_t SelectWithRoughCuts(AliAODv0 *v0, AliAODTrack *trk1);
61 
63  void SetPrimaryVertex(Double_t *a){fPrimVert[0] = a[0];fPrimVert[1] = a[1];fPrimVert[2] = a[2];}
64 
93 
96 
125 
128 
131  void SetPidProton(AliAODPidHF* pidProton) {
132  if(fPidObjProton) delete fPidObjProton;
133  fPidObjProton=new AliAODPidHF(*pidProton);
134  }
136  void SetPidPion(AliAODPidHF* pidPion) {
137  if(fPidObjPion) delete fPidObjPion;
138  fPidObjPion=new AliAODPidHF(*pidPion);
139  }
140  AliAODPidHF* GetPidPion() const {return fPidObjPion;}
148 
163  Bool_t IsPeakRegion(AliAODv0 *c);
164  Bool_t IsPeakRegion(TLorentzVector *c);
165  Bool_t IsSideBand(AliAODv0 *c);
166  Bool_t IsSideBand(TLorentzVector *c);
167  void SetSftPosR125(AliAODTrack *track,Double_t bfield,Double_t priVtx[3], Double_t *XSftR125);
168  void SetSftPosR(AliAODTrack *track,Double_t bfield,Double_t R, Double_t priVtx[3], Double_t *XSftR);
169  Double_t dEtaSR125(Double_t *postrack1,Double_t *postrack2);
170  Double_t dPhiSR125(Double_t *postrack1,Double_t *postrack2);
171  void GetdPhiSdEtaSR125(AliAODTrack *tracke, AliAODTrack *trackp,AliAODTrack *trackn, Double_t bfield,Double_t priVtx[3], Double_t &dPhiS_ep, Double_t &dEtaS_ep,Double_t &dPhiS_en, Double_t &dEtaS_en);
172  Double_t CalculatePhotonMass(AliAODTrack *track1, AliAODTrack *track2);
173  Double_t DeltaPhi(AliAODv0 *v0, AliAODTrack *trk);
174  Double_t CosOpeningAngle(AliAODv0 *v0, AliAODTrack *trk);
175  Double_t DeltaEta(AliAODv0 *v0, AliAODTrack *trk);
176 
177  protected:
178 
179  private:
180 
190 
223 
239 
243 
247 };
248 
249 #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 Double_t
Definition: External.C:58
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)
Bool_t TagConversions(AliAODTrack *etrk, Int_t *id2index, AliAODEvent *evt, Int_t ntrk, Double_t &minmass)
Double_t fProdV0CosPointingAngleToPrimVtxMin
Max Lambda pT used before object creation.
Double_t fProdV0PtMin
Lambda mass selection used before object creation.
Int_t fUseV0Topology
Flag to check if we use on-the-fly v0.
Double_t fProdV0PtMax
Minimum Lambda pT used before object creation.
Float_t fProdITSChi2OverNclsMax
Cut on fraction of shared clusters in ITS.
void SetSftPosR125(AliAODTrack *track, Double_t bfield, Double_t priVtx[3], Double_t *XSftR125)
Double_t fExcludenSigmaKaonTPC
nSigma to exclude for proton band
Bool_t fProdRejectTrackWithShared
AOD filter Bit used before object creation.
TCanvas * c
Definition: TestFitELoss.C:172
Bool_t SingleTrkCuts(AliAODTrack *trk, AliAODTrack *trkpid, AliAODVertex *vert)
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 select electron band
virtual Int_t IsSelectedPID(AliAODRecoDecayHF *)
Definition: AliRDHFCuts.h:284
Double_t fExcludenSigmaProtonTPC
nSigma to exclude for pion band
Double_t fProdDcaV0PrToPrimVertexMin
Max Dca between v0 and PV.
Int_t fProdAODFilterBit
Flag for AOD filter Bit used before object creation.
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.
int Int_t
Definition: External.C:63
Bool_t fUseLambdaPID
Threshold used in IsSelectedCombinedPID.
float Float_t
Definition: External.C:68
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 fBzkG
0: Cowboy+Sailor 1: Cowboy 2:Sailor
Bool_t TagConversionsSameSign(AliAODTrack *etrk, Int_t *id2index, AliAODEvent *evt, Int_t ntrk, Double_t &minmass)
Bool_t fUseOnTheFlyV0
PID object for proton from Lc.
Double_t fSigmaElectronTPCPtDepPar2
nSigma electron lower limit (par1)
void SetSftPosR(AliAODTrack *track, Double_t bfield, Double_t R, Double_t priVtx[3], Double_t *XSftR)
Double_t fProdDcaV0ToPrimVertexMax
Min Dca between v0 and PV.
Bool_t SelectWithRoughCuts(AliAODv0 *v0, AliAODTrack *trk1)
void GetdPhiSdEtaSR125(AliAODTrack *tracke, AliAODTrack *trackp, AliAODTrack *trackn, Double_t bfield, Double_t priVtx[3], Double_t &dPhiS_ep, Double_t &dEtaS_ep, Double_t &dPhiS_en, Double_t &dEtaS_en)
Double_t CosOpeningAngle(AliAODv0 *v0, AliAODTrack *trk)
Double_t fSigmaElectronITSMax
nSigma to select electron band
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 SingleTrkCutsNoPID(AliAODTrack *trk, AliAODTrack *trkpid, AliAODVertex *vert)
Double_t fConversionMassMax
nSigma to select electron band
Double_t fProdV0MassTolLambdaRough
Lambda mass selection used before object creation.
Bool_t IsSelectedCustomizedPtDepeID(AliAODTrack *trk, AliAODTrack *trkpid)
Bool_t fProdUseAODFilterBit
Min. Number of TPC PID cluster.
Bool_t IsSelected(TObject *obj)
Definition: AliRDHFCuts.h:277
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.
Double_t dPhiSR125(Double_t *postrack1, Double_t *postrack2)
bool Bool_t
Definition: External.C:53
AliRDHFCutsLctoeleLambdafromAODtracks(const char *name="CutsLctoeleLambda")
void SetSigmaElectronTPCPtDepPars(Double_t a, Double_t b, Double_t c)
Float_t fProdITSSharedFractionMax
Flag to Reject tracks with shared clusters.
Double_t dEtaSR125(Double_t *postrack1, Double_t *postrack2)
AliAODPidHF * fPidObjPion
PID object for proton from Lc.
Double_t fProdV0DaughterPtMin
V0Daughter eta range used before object creation.
Double_t CalculatePhotonMass(AliAODTrack *track1, AliAODTrack *track2)