]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/RESONANCES/AliRsnCutMiniPair.h
GetVTrack() method added
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnCutMiniPair.h
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,
22       kDCAproduct,
23       kTypes
24    };
25
26    AliRsnCutMiniPair(const char *name = "cut", EType type = kTypes);
27    virtual ~AliRsnCutMiniPair() { }
28
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