Added AliRsnCutEventUtils class: interface to /Users/bellini/alisoft/aliroot/last_tru...
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnCutMiniPair.h
CommitLineData
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
14class AliRsnCutMiniPair : public AliRsnCut {
15
16public:
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() { }
61f275d1 27
b63357a0 28 virtual Bool_t IsSelected(TObject *obj);
29
30private:
31
32 EType fType; // cut type
33
34 ClassDef(AliRsnCutMiniPair,1)
35
36};
37
38#endif