]>
Commit | Line | Data |
---|---|---|
b63357a0 | 1 | #ifndef ALIRSNCUTMINIPAIR_H |
2 | #define ALIRSNCUTMINIPAIR_H | |
3 | ||
4 | // | |
5 | // This cut definition works on mini-pairs for the 'mini' subpackage. | |
6 | // Since cuts on mini-pairs can usually be just kinematic selections | |
7 | // or kinematic comparisons between 4-momenta of daughters, they are all | |
8 | // implemented in this class, by the use of an enumeration which allows | |
9 | // the user to choose between all possibilities. | |
10 | // | |
11 | ||
12 | #include "AliRsnCut.h" | |
13 | ||
14 | class AliRsnCutMiniPair : public AliRsnCut { | |
15 | ||
16 | public: | |
17 | ||
18 | enum EType { | |
19 | kRapidityRange, | |
20 | kRapidityRangeMC, | |
21 | kMomentumComparison, | |
213adb92 | 22 | kDCAproduct, |
b63357a0 | 23 | kTypes |
24 | }; | |
25 | ||
26 | AliRsnCutMiniPair(const char *name = "cut", EType type = kTypes); | |
27 | virtual ~AliRsnCutMiniPair() { } | |
61f275d1 | 28 | |
b63357a0 | 29 | virtual Bool_t IsSelected(TObject *obj); |
30 | ||
31 | private: | |
32 | ||
33 | EType fType; // cut type | |
34 | ||
35 | ClassDef(AliRsnCutMiniPair,1) | |
36 | ||
37 | }; | |
38 | ||
39 | #endif |