]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/RESONANCES/AliRsnCutMiniPair.h
Modified macros for TOF analysis of K* in pA for possibility to use daughter's pt...
[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       kTypes
23    };
24
25    AliRsnCutMiniPair(const char *name = "cut", EType type = kTypes);
26    virtual ~AliRsnCutMiniPair() { }
27
28    virtual Bool_t IsSelected(TObject *obj);
29
30 private:
31
32    EType fType;    // cut type
33
34    ClassDef(AliRsnCutMiniPair,1)
35
36 };
37
38 #endif