]>
Commit | Line | Data |
---|---|---|
e3d40058 | 1 | #ifndef ALIRDHFCUTSDPLUSTOKPIPI_H |
2 | #define ALIRDHFCUTSDPLUSTOKPIPI_H | |
3 | /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | ///////////////////////////////////////////////////////////// | |
8 | // | |
9 | // Class for cuts on AOD reconstructed D+->Kpipi | |
10 | // | |
11 | // Author: R. Bala bala@to.infn.it | |
12 | // G. Ortona ortona@to.infn.it | |
13 | ///////////////////////////////////////////////////////////// | |
14 | ||
15 | ||
16 | #include "AliRDHFCuts.h" | |
73173a6a | 17 | #include "AliAODPidHF.h" |
e3d40058 | 18 | class AliRDHFCutsDplustoKpipi : public AliRDHFCuts |
19 | { | |
20 | public: | |
21 | ||
a9b75906 | 22 | AliRDHFCutsDplustoKpipi(const char* name="CutsDplustoKpipi"); |
e3d40058 | 23 | |
73173a6a | 24 | virtual ~AliRDHFCutsDplustoKpipi(){}; |
e3d40058 | 25 | AliRDHFCutsDplustoKpipi(const AliRDHFCutsDplustoKpipi& source); |
26 | AliRDHFCutsDplustoKpipi& operator=(const AliRDHFCutsDplustoKpipi& source); | |
27 | ||
28 | virtual void GetCutVarsForOpt(AliAODRecoDecayHF *d,Float_t *vars,Int_t nvars,Int_t *pdgdaughters); | |
29 | ||
30 | using AliRDHFCuts::IsSelected; | |
c1cc7a53 | 31 | virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel){ |
32 | return IsSelected(obj,selectionLevel,0x0); | |
33 | } | |
34 | virtual Int_t IsSelected(TObject* obj,Int_t selectionLevel,AliAODEvent* aod); | |
bc116f28 | 35 | virtual Int_t IsSelectedPID(AliAODRecoDecayHF *rd); |
73173a6a | 36 | |
c1cc7a53 | 37 | virtual Bool_t IsInFiducialAcceptance(Double_t pt,Double_t y) const; |
370f7180 | 38 | virtual void SetStandardCutsPP2010(); |
39 | virtual void SetStandardCutsPbPb2010(); | |
73173a6a | 40 | |
e3d40058 | 41 | Float_t GetMassCut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(0,iPtBin)] : 1.e6);} |
4755453e | 42 | Float_t GetDCACut(Int_t iPtBin=0) const { return (GetCuts() ? fCutsRD[GetGlobalIndex(1,iPtBin)] : 1.e6);} |
da24b73f | 43 | void SetUseStrongPid(Bool_t spid){fUseStrongPid=spid;} |
44 | Bool_t GetStrongPid(){return fUseStrongPid;} | |
e3d40058 | 45 | |
46 | protected: | |
e3d40058 | 47 | |
da24b73f | 48 | private: |
49 | Bool_t fUseStrongPid;//use strong pid | |
50 | ClassDef(AliRDHFCutsDplustoKpipi,2); // class for cuts on AOD reconstructed | |
4755453e | 51 | // D+->Kpipi |
e3d40058 | 52 | }; |
53 | ||
54 | #endif |