]>
Commit | Line | Data |
---|---|---|
239e1e7a | 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, | |
239e1e7a | 24 | k2011_1_05, |
25 | k2011_1_075 | |
26 | }; | |
27 | ||
28 | AliRsnCutPhiRAA(const char *name = ""); | |
29 | AliRsnCutPhiRAA(const AliRsnCutPhiRAA ©); | |
30 | AliRsnCutPhiRAA &operator=(const AliRsnCutPhiRAA ©); | |
31 | virtual ~AliRsnCutPhiRAA() { } | |
32 | ||
33 | virtual Bool_t IsSelected(TObject *obj); | |
34 | ||
35 | AliRsnCutTrackQuality *CutQuality() {return &fCutQuality;} | |
36 | ||
37 | void SetMode(ECutMode mode) {fMode = mode;} | |
38 | ||
39 | private: | |
40 | ||
41 | ECutMode fMode; // how the cut is applied | |
42 | AliRsnCutTrackQuality fCutQuality; // track quality cut | |
43 | AliESDtrackCuts *cut1; | |
44 | AliESDtrackCuts *cut2; | |
45 | AliESDtrackCuts *cut3; | |
239e1e7a | 46 | |
47 | ||
48 | ClassDef(AliRsnCutPhiRAA,1) | |
49 | ||
50 | }; | |
51 | ||
52 | ||
53 | #endif |