]>
Commit | Line | Data |
---|---|---|
45bc9115 | 1 | #ifndef ALIRDHFCUTSDSTARTOKPIPI_H |
2 | #define ALIRDHFCUTSDSTARTOKPIPI_H | |
3 | /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | //*********************************************************** | |
7 | // Class AliRDHFCutsDStartoKpipi | |
8 | // class for cuts on AOD reconstructed DStar->Kpipi | |
9 | // Author: A.Grelli, alessandro.grelli@uu.nl | |
10 | //*********************************************************** | |
11 | ||
12 | #include "AliRDHFCuts.h" | |
13 | ||
83d60f7d | 14 | class AliAODEvent; |
15 | class AliAODRecoCascadeHF; | |
16 | class AliAODRecoDecayHF; | |
17 | ||
45bc9115 | 18 | class AliRDHFCutsDStartoKpipi : public AliRDHFCuts |
19 | { | |
20 | public: | |
21 | ||
da6fefc3 | 22 | AliRDHFCutsDStartoKpipi(const char* name="CutsDStartoKpipi"); |
45bc9115 | 23 | |
24 | virtual ~AliRDHFCutsDStartoKpipi(){} | |
25 | ||
26 | AliRDHFCutsDStartoKpipi(const AliRDHFCutsDStartoKpipi& source); | |
27 | AliRDHFCutsDStartoKpipi& operator=(const AliRDHFCutsDStartoKpipi& source); | |
28 | ||
29 | virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgD0daughters); | |
30 | ||
31 | using AliRDHFCuts::IsSelected; | |
32 | virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel); | |
da6fefc3 | 33 | Int_t IsD0FromDStarSelected(Double_t pt, TObject* obj,Int_t selectionLevel) const; |
83d60f7d | 34 | virtual Int_t IsSelectedPID(AliAODRecoDecayHF *rd); |
96462a8c | 35 | virtual Bool_t IsInFiducialAcceptance(Double_t pt,Double_t y) const; |
da6fefc3 | 36 | Float_t GetMassCut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(9,iPtBin)] : 1.e6);} // for the Dstar |
37 | Float_t GetDCACut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(1,iPtBin)] : 1.e6);} // for the D0 | |
38 | ||
39 | void AddTrackCutsSoftPi(const AliESDtrackCuts *cuts) | |
40 | {fTrackCutsSoftPi=new AliESDtrackCuts(*cuts); return;} | |
41 | AliESDtrackCuts *GetTrackCutsSoftPi() const {return fTrackCutsSoftPi;} | |
45bc9115 | 42 | |
43 | protected: | |
44 | ||
da6fefc3 | 45 | AliESDtrackCuts *fTrackCutsSoftPi; // cuts for soft pion (AOD converted to ESD on the flight!) |
45bc9115 | 46 | |
83d60f7d | 47 | ClassDef(AliRDHFCutsDStartoKpipi,3); // class for cuts on AOD reconstructed D0->Kpipi |
45bc9115 | 48 | }; |
49 | ||
50 | #endif |