AliPhysics  master (3d17d9d)
AliRDHFCutsXicZerotoXiPifromAODtracks.h
Go to the documentation of this file.
1 #ifndef ALIRDHFCUTSXICZEROTOXIPIFROMAODTRACKS_H
2 #define ALIRDHFCUTSXICZEROTOXIPIFROMAODTRACKS_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 // \Modified by Jianhui Zhu, zjh@mail.ccnu.edu.cn
12 //***********************************************************
13 
14 #include "AliRDHFCuts.h"
15 
17 {
18  public:
19 
23  };
24 
25  AliRDHFCutsXicZerotoXiPifromAODtracks(const char* name="CutsXicZerotoXiPi");
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);
38  Double_t GetPionProbabilityTPCTOF(AliAODTrack *trk);
39 
40  void SetPIDStrategy(EPIDStrategy pidStrategy){fPIDStrategy=pidStrategy;}
45  void SetPidCascPi(AliAODPidHF* pidPion) {
46  if(fPidObjCascPi) delete fPidObjCascPi;
47  fPidObjCascPi=new AliAODPidHF(*pidPion);
48  }
50  void SetPidCascPr(AliAODPidHF* pidProton) {
51  if(fPidObjCascPr) delete fPidObjCascPr;
52  fPidObjCascPr=new AliAODPidHF(*pidProton);
53  }
55  void SetPidCascKa(AliAODPidHF* pidKaon) {
56  if(fPidObjCascKa) delete fPidObjCascKa;
57  fPidObjCascKa=new AliAODPidHF(*pidKaon);
58  }
60 
61 
62  Bool_t SingleTrkCuts(AliAODTrack *trk);
63  Bool_t SingleCascadeCuts(AliAODcascade *casc, Double_t *vert, Bool_t anaOmegacZero);
64  Bool_t SingleCascadeCutsRef(AliAODcascade *casc, Double_t *vert, Bool_t anaOmegaZero);
65  Bool_t SelectWithRoughCuts(AliAODcascade *casc, AliAODTrack *trk1);
66 
91 
116 
117  void useSetNPtBins(Int_t nptBins){SetNPtBins(nptBins);}
118  protected:
119 
120  private:
121 
128 
148  Double_t fProdV0CosineOfPoiningAngleXiMin; // /Min V0 cos pointing angle to Xi vertex
153 
157 };
158 
159 #endif
void SetNPtBins(Int_t nptBins)
Definition: AliRDHFCuts.h:444
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)=0
double Double_t
Definition: External.C:58
Double_t fProdDcaV0PiToPrimVertexMin
Min Dca between v0-proton and PV.
Double_t fProdMassTolOmega
Tolerance of Xi mass from PDG value.
Double_t fProdTrackPtMin
PID object for cascade-kaon.
Double_t fProdCascProperDecayLengthMax
Max Decay vertex of Xi.
Double_t fProdMassRejOmega
Tolerance of Omega mass from PDG value.
Bool_t SingleCascadeCuts(AliAODcascade *casc, Double_t *vert, Bool_t anaOmegacZero)
Double_t fProdDcaBachToPrimVertexMin
Max Dca between V0 daughters.
Double_t fProdXiCosineOfPoiningAngleMin
Min Dca between v0-pion and PV.
Double_t fProdLikeSignDcaMax
Minimum number of TPC clusters.
AliAODPidHF * fPidObjCascPi
Use PID for cascade or not.
virtual Int_t IsSelectedPID(AliAODRecoDecayHF *)
Definition: AliRDHFCuts.h:321
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
Double_t fProdMassTolXi
Tolerance of Lambda mass from PDG value.
Bool_t SingleCascadeCutsRef(AliAODcascade *casc, Double_t *vert, Bool_t anaOmegaZero)
Double_t fProdV0CosineOfPoiningAngleXiMin
Min Xi cos pointing angle to PV.
Double_t fProdDcaV0PrToPrimVertexMin
Min Dca between v0 and PV.
Double_t fProdRfidMinV0
Rejection range of Omega mass from PDG value.
AliAODPidHF * fPidObjCascKa
PID object for cascade-proton.
Double_t fProdRoughPtMin
Tolerance of Xic mass from PDG value.
AliAODPidHF * fPidObjCascPr
PID object for cascade-pion.
Bool_t SelectWithRoughCuts(AliAODcascade *casc, AliAODTrack *trk1)
Bool_t fUseCascadePID
PID threshold used in IsSelectedCombinedPID.
AliRDHFCutsXicZerotoXiPifromAODtracks(const char *name="CutsXicZerotoXiPi")
Bool_t IsSelected(TObject *obj)
Definition: AliRDHFCuts.h:312
Double_t fProdDcaV0DaughtersMax
Max Dca between Xi daughters.
AliRDHFCutsXicZerotoXiPifromAODtracks & operator=(const AliRDHFCutsXicZerotoXiPifromAODtracks &source)
bool Bool_t
Definition: External.C:53
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)
Double_t fProdDcaV0ToPrimVertexMin
Min Dca between Bachelor and PV.
virtual Int_t IsSelected(TObject *obj, Int_t selectionLevel)