AliPhysics  vAN-20151012 (2287573)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliRDHFCutsLctopK0sfromAODtracks.h
Go to the documentation of this file.
1 #ifndef ALIRDHFCUTSLCTOPK0SFROMAODTRACKS_H
2 #define ALIRDHFCUTSLCTOPK0SFROMAODTRACKS_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  AliRDHFCutsLctopK0sfromAODtracks(const char* name="CutsLctopK0s");
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 GetProtonProbabilityTPCTOF(AliAODTrack *trk);
38 
39  void SetPIDStrategy(EPIDStrategy pidStrategy){fPIDStrategy=pidStrategy;}
43 
44  void SetUseOnTheFlyV0(Bool_t a) { fUseOnTheFlyV0=a; }
45  Bool_t GetUseOnTheFlyV0() { return fUseOnTheFlyV0; }
46 
47  Bool_t SingleTrkCuts(AliAODTrack *trk);
48  Bool_t SingleV0Cuts(AliAODv0 *v0, AliAODVertex *vert);
49  Bool_t SelectWithRoughCuts(AliAODv0 *v0, AliAODTrack *trk1);
50 
51  void SetProdTrackPtMin(Double_t a){fProdTrackPtMin=a;}
55  void SetProdV0PtMin(Double_t a){fProdV0PtMin=a;}
61 
63  void SetProdRoughPtMin(Double_t a){fProdRoughPtMin=a;}
64 
65  Double_t GetProdTrackPtMin(){return fProdTrackPtMin;}
69  Double_t GetProdV0PtMin(){return fProdV0PtMin;}
75 
77  Double_t GetProdRoughPtMin(){return fProdRoughPtMin;}
78 
80 
81  protected:
82 
83  private:
84 
87  Bool_t fUseOnTheFlyV0;
88 
89  Double_t fProdTrackPtMin;
90  Double_t fProdTrackEtaRange;
92  Double_t fProdV0MassTolK0s;
93  Double_t fProdV0PtMin;
99  Double_t fProdRoughMassTol;
100  Double_t fProdRoughPtMin;
101 
105 };
106 
107 #endif
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)=0
Double_t fProdV0DaughterTPCClusterMin
V0 Daughter pT min used before object creation.
AliRDHFCutsLctopK0sfromAODtracks & operator=(const AliRDHFCutsLctopK0sfromAODtracks &source)
Double_t fProdRoughPtMin
Mass cut for Lc used before object creation.
Double_t fProdTrackPtMin
Flag to check if we use on-the-fly v0.
Double_t fProdV0DaughterEtaRange
Max DCA between V0 daughters used before object creation.
Double_t fProdV0MassTolK0s
Flag for AOD filter Bit used before object creation.
virtual Int_t IsSelectedPID(AliAODRecoDecayHF *)
Definition: AliRDHFCuts.h:280
Bool_t SingleV0Cuts(AliAODv0 *v0, AliAODVertex *vert)
Double_t fProdV0CosPointingAngleToPrimVtxMin
Minimum K0s pT used before object creation.
Double_t fProdRoughMassTol
V0 daughter Minimum TPC cluster pT used before object creation.
Double_t fProdV0PtMin
K0s mass selection used before object creation.
Double_t CalculateLcCosPAXY(AliAODRecoDecayHF *obj)
virtual Int_t IsSelected(TObject *obj, Int_t selectionLevel)
Bool_t fUseOnTheFlyV0
Threshold used in IsSelectedCombinedPID.
Double_t fProdV0DcaDaughtersMax
V0 pointing angle used before object creation.
virtual Int_t IsSelectedPID(AliAODRecoDecayHF *obj)
Bool_t fProdUseAODFilterBit
eta range used before object creation
Double_t fProdV0DaughterPtMin
V0Daughter eta range used before object creation.
Double_t fProdTrackEtaRange
Minimum Track pT used before object creation.
virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d, Float_t *vars, Int_t nvars, Int_t *pdgdaughters)
AliRDHFCutsLctopK0sfromAODtracks(const char *name="CutsLctopK0s")
Bool_t SelectWithRoughCuts(AliAODv0 *v0, AliAODTrack *trk1)
Bool_t IsSelected(TObject *obj)
Definition: AliRDHFCuts.h:273
void SetPIDStrategy(EPIDStrategy pidStrategy)