4 // The cut manager: contains a complete set of cut definitions
5 // to be applied to all possible targets (one for each target),
6 // in order to ease the set-up procedure of cuts and allow to
7 // pass them at once to each object which must use them
9 // author: Martin Vala (martin.vala@cern.ch)
12 #ifndef ALIRSNCUTMGR_H
13 #define ALIRSNCUTMGR_H
16 #include "TObjArray.h"
18 #include "AliRsnCut.h"
22 class AliRsnCutMgr : public TNamed
27 AliRsnCutMgr(const char *name, const char* title);
30 void SetCutSet(AliRsnCut::ETarget type, AliRsnCutSet* cutset);
31 AliRsnCutSet* GetCutSet(AliRsnCut::ETarget type) {return fCutSets[type];}
32 Bool_t IsSelected(AliRsnCut::ETarget type, TObject *obj);
37 AliRsnCutMgr(const AliRsnCutMgr &cut) : TNamed(cut) {}
38 AliRsnCutMgr& operator=(const AliRsnCutMgr& /*cut*/) {return *this;}
40 AliRsnCutSet *fCutSets[AliRsnCut::kLastCutTarget]; // cut definitions for all targets
42 ClassDef(AliRsnCutMgr, 1) // dictionary