]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/RESONANCES/AliRsnCutPhiRAA.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnCutPhiRAA.h
1 #ifndef ALIRSNCUTPHIRAA_H
2 #define ALIRSNCUTPHIRAA_H
3
4 //
5 // This cut implements all the checks done to accept a track as a Kaon
6 // for the PbPb analysis using 2010 runs.
7 // It is based on standard cuts on track quality and nsigma cuts
8 // with respect to the TPC and TOF signals for the PID.
9 //
10
11 #include "AliVTrack.h"
12 #include "AliRsnCut.h"
13 #include "AliRsnCutTrackQuality.h"
14 #include "AliESDtrackCuts.h"
15
16 class AliRsnCutPhiRAA : public AliRsnCut {
17
18 public:
19
20    enum ECutMode {
21       k2010 = 0,
22       k2011_0,
23       k2011_1,
24       kTPC,
25       k2011_1_05,
26       k2011_1_075
27    };
28
29    AliRsnCutPhiRAA(const char *name = "");
30    AliRsnCutPhiRAA(const AliRsnCutPhiRAA &copy);
31    AliRsnCutPhiRAA &operator=(const AliRsnCutPhiRAA &copy);
32    virtual ~AliRsnCutPhiRAA() { }
33
34    virtual Bool_t IsSelected(TObject *obj);
35
36    AliRsnCutTrackQuality *CutQuality()            {return &fCutQuality;}
37
38    void   SetMode(ECutMode mode)            {fMode = mode;}
39
40 private:
41
42    ECutMode              fMode;          // how the cut is applied
43    AliRsnCutTrackQuality fCutQuality;    // track quality cut
44    AliESDtrackCuts *cut1;
45    AliESDtrackCuts *cut2;
46    AliESDtrackCuts *cut3;
47    AliESDtrackCuts *cut4;
48
49
50    ClassDef(AliRsnCutPhiRAA,1)
51
52 };
53
54
55 #endif