AliPhysics  vAN-20150827 (3e81cbb)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliRDHFCutsXicPlustoXiPiPifromAODtracks.h
Go to the documentation of this file.
1 #ifndef ALIRDHFCUTSXICPLUSTOXIPIPIFROMAODTRACKS_H
2 #define ALIRDHFCUTSXICPLUSTOXIPIPIFROMAODTRACKS_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 
22  };
23 
24  AliRDHFCutsXicPlustoXiPiPifromAODtracks(const char* name="CutsXicPlustoXiPiPi");
28 
30  virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgdaughters);
31 
33  virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel);
35  virtual Int_t IsSelectedPID(AliAODRecoDecayHF* obj);
37  Double_t GetPionProbabilityTPCTOF(AliAODTrack *trk);
38 
39  void SetPIDStrategy(EPIDStrategy pidStrategy){fPIDStrategy=pidStrategy;}
42  void SetUseCascadePID(Bool_t a){fUseCascadePID=a;}
44  void SetPidCascPi(AliAODPidHF* pidPion) {
45  if(fPidObjCascPi) delete fPidObjCascPi;
46  fPidObjCascPi=new AliAODPidHF(*pidPion);
47  }
49  void SetPidCascPr(AliAODPidHF* pidProton) {
50  if(fPidObjCascPr) delete fPidObjCascPr;
51  fPidObjCascPr=new AliAODPidHF(*pidProton);
52  }
54 
55 
56  Bool_t SingleTrkCuts(AliAODTrack *trk);
57  Bool_t SingleCascadeCuts(AliAODcascade *casc, Double_t *vert);
58  Bool_t SingleCascadeCutsRef(AliAODcascade *casc, Double_t *vert);
59  Bool_t SelectWithRoughCuts(AliAODcascade *casc, AliAODTrack *trk1, AliAODTrack *trk2);
60 
61  void SetProdTrackPtMin(Double_t a){fProdTrackPtMin=a;}
65  void SetProdMassTolXi(Double_t a){fProdMassTolXi=a;}
67  void SetProdRfidMinV0(Double_t a){fProdRfidMinV0=a;}
68  void SetProdRfidMaxV0(Double_t a){fProdRfidMaxV0=a;}
69  void SetProdRfidMinXi(Double_t a){fProdRfidMinXi=a;}
70  void SetProdRfidMaxXi(Double_t a){fProdRfidMaxXi=a;}
81  void SetProdRoughPtMin(Double_t a){fProdRoughPtMin=a;}
84 
85  Double_t GetProdTrackPtMin(){return fProdTrackPtMin;}
89  Double_t GetProdMassTolXi(){return fProdMassTolXi;}
91  Double_t GetProdRfidMinV0(){return fProdRfidMinV0;}
92  Double_t GetProdRfidMaxV0(){return fProdRfidMaxV0;}
93  Double_t GetProdRfidMinXi(){return fProdRfidMinXi;}
94  Double_t GetProdRfidMaxXi(){return fProdRfidMaxXi;}
105  Double_t GetProdRoughPtMin(){return fProdRoughPtMin;}
108 
109 
110  protected:
111 
112  private:
113 
116  Bool_t fUseCascadePID;
119 
120  Double_t fProdTrackPtMin;
124  Double_t fProdMassTolXi;
125  Double_t fProdMassRejOmega;
126  Double_t fProdRfidMinV0;
127  Double_t fProdRfidMaxV0;
128  Double_t fProdRfidMinXi;
129  Double_t fProdRfidMaxXi;
138  Double_t fProdV0CosineOfPoiningAngleXiMin; // /Min V0 cos pointing angle to Xi vertex
141  Double_t fProdRoughMassTol;
142  Double_t fProdRoughPtMin;
143 
147 };
148 
149 #endif
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)=0
AliRDHFCutsXicPlustoXiPiPifromAODtracks & operator=(const AliRDHFCutsXicPlustoXiPiPifromAODtracks &source)
Double_t fProdDcaV0PiToPrimVertexMin
Min Dca between v0-proton and PV.
Bool_t SingleCascadeCutsRef(AliAODcascade *casc, Double_t *vert)
Double_t fProdMassTolXi
Tolerance of Lambda mass from PDG value.
Bool_t fUseCascadePID
PID threshold used in IsSelectedCombinedPID.
Double_t fProdDcaBachToPrimVertexMin
Max Dca between V0 daughters.
AliRDHFCutsXicPlustoXiPiPifromAODtracks(const char *name="CutsXicPlustoXiPiPi")
Double_t fProdDcaV0ToPrimVertexMin
Min Dca between Bachelor and PV.
Double_t fProdRfidMinV0
Rejection range of Omega mass from PDG value.
AliAODPidHF * fPidObjCascPi
Use PID for cascade or not.
virtual Int_t IsSelectedPID(AliAODRecoDecayHF *)
Definition: AliRDHFCuts.h:280
Double_t fProdDcaV0DaughtersMax
Max Dca between Xi daughters.
Double_t fProdMassRejOmega
Tolerance of Xi mass from PDG value.
Double_t fProdV0CosineOfPoiningAngleXiMin
Min Xi cos pointing angle to PV.
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)
virtual Int_t IsSelected(TObject *obj, Int_t selectionLevel)
AliAODPidHF * fPidObjCascPr
PID object for cascade-pion.
Double_t fProdRoughPtMin
Tolerance of Xic mass from PDG value.
Bool_t SingleCascadeCuts(AliAODcascade *casc, Double_t *vert)
Bool_t IsSelected(TObject *obj)
Definition: AliRDHFCuts.h:273
Bool_t SelectWithRoughCuts(AliAODcascade *casc, AliAODTrack *trk1, AliAODTrack *trk2)
Double_t fProdXiCosineOfPoiningAngleMin
Min Dca between v0-pion and PV.
Double_t fProdLikeSignDcaMax
Minimum number of TPC clusters.