06351446 |
1 | #ifndef ALIRSNMVCUTMGR_H |
2 | #define ALIRSNMVCUTMGR_H |
3 | |
4 | #include "TNamed.h" |
5 | #include "TObjArray.h" |
6 | |
7 | #include "AliRsnCut.h" |
8 | // #include "AliRsnCutSet.h" |
9 | // class AliRsnCut; |
10 | class AliRsnCutSet; |
11 | |
12 | /** |
13 | @author Martin Vala <Martin.Vala@cern.ch> |
14 | */ |
15 | class AliRsnCutMgr : public TNamed |
16 | { |
17 | public: |
18 | |
19 | // enum ECutSetType { |
20 | // kParticle= 0, |
21 | // kPair, |
22 | // kMixEventFinderCut, |
23 | // kLastCutSetIndex |
24 | // }; |
25 | |
26 | |
27 | AliRsnCutMgr(); |
28 | AliRsnCutMgr(const char *name, const char* title); |
29 | |
30 | ~AliRsnCutMgr(); |
31 | |
32 | void SetCutSet(AliRsnCut::ECutSetType type,AliRsnCutSet* cutset); |
33 | AliRsnCutSet* GetCutSet(AliRsnCut::ECutSetType type) { return fCutSets[type];} |
34 | |
35 | Bool_t IsSelected(AliRsnCut::ECutSetType type,TObject *obj); |
36 | |
37 | private: |
38 | |
39 | AliRsnCutSet *fCutSets[AliRsnCut::kLastCutSetIndex]; |
40 | |
41 | ClassDef ( AliRsnCutMgr,1 ); |
42 | }; |
43 | |
44 | #endif |