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