]>
Commit | Line | Data |
---|---|---|
cb0f5af6 | 1 | // |
2 | // Class AliRsnCutRange | |
3 | // | |
4 | // General implementation of cuts which check a value inside a range. | |
5 | // This range can be defined by two integers or two doubles. | |
6 | // A user-friendly enumeration allows to define what is checked. | |
7 | // | |
8 | // author: Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it) | |
9 | // | |
10 | ||
11 | #ifndef ALIRSNCUTMOMENTUMCOMPARISON_H | |
12 | #define ALIRSNCUTMOMENTUMCOMPARISON_H | |
13 | ||
14 | #include "AliRsnCut.h" | |
15 | ||
16 | class AliRsnCutMomentumComparison : public AliRsnCut { | |
17 | public: | |
18 | ||
19 | enum EMode { | |
20 | kFirstLargerP, | |
21 | kFirstSmallerP, | |
22 | kFirstLargerPt, | |
23 | kFirstSmallerPt | |
24 | }; | |
25 | ||
26 | AliRsnCutMomentumComparison(const char *name = "cutMomComparison", EMode mode = kFirstLargerPt); | |
61f275d1 | 27 | AliRsnCutMomentumComparison(const AliRsnCutMomentumComparison ©); |
28 | AliRsnCutMomentumComparison &operator=(const AliRsnCutMomentumComparison ©); | |
cb0f5af6 | 29 | virtual ~AliRsnCutMomentumComparison() {;}; |
30 | ||
31 | virtual Bool_t IsSelected(TObject *object); | |
32 | ||
33 | protected: | |
34 | ||
35 | EMode fMode; // comparison mode | |
36 | ||
37 | ClassDef(AliRsnCutMomentumComparison, 1) | |
38 | }; | |
39 | ||
40 | #endif |