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
17 #include "AliRsnCut.h"
21 class AliRsnCutMgr : public TNamed
26 AliRsnCutMgr(const char *name, const char* title);
29 void SetCutSet(AliRsnCut::ETarget type, AliRsnCutSet*const cutset);
30 AliRsnCutSet* GetCutSet(AliRsnCut::ETarget type) {return fCutSets[type];}
31 Bool_t IsSelected(AliRsnCut::ETarget type, TObject *const obj);
36 AliRsnCutMgr(const AliRsnCutMgr &cut) : TNamed(cut) {}
37 AliRsnCutMgr& operator=(const AliRsnCutMgr& /*cut*/) {return *this;}
39 AliRsnCutSet *fCutSets[AliRsnCut::kLastCutTarget]; // cut definitions for all targets
41 ClassDef(AliRsnCutMgr, 1) // dictionary