]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/RESONANCES/AliRsnCutMgr.h
Fixed some errors
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutMgr.h
CommitLineData
e2bafbbc 1//
2// Class AliRsnCutMgr
3//
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
8//
9// author: Martin Vala (martin.vala@cern.ch)
10//
11
12#ifndef ALIRSNCUTMGR_H
13#define ALIRSNCUTMGR_H
06351446 14
15#include "TNamed.h"
16#include "TObjArray.h"
17
18#include "AliRsnCut.h"
e2bafbbc 19
06351446 20class AliRsnCutSet;
21
06351446 22class AliRsnCutMgr : public TNamed
23{
24 public:
8ecf98c4 25
06351446 26 AliRsnCutMgr();
27 AliRsnCutMgr(const char *name, const char* title);
06351446 28 ~AliRsnCutMgr();
8ecf98c4 29
e2bafbbc 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);
06351446 33
34 private:
35
e2bafbbc 36 // dummy constructors
37 AliRsnCutMgr(const AliRsnCutMgr &cut) : TNamed(cut) {}
8ecf98c4 38 AliRsnCutMgr& operator=(const AliRsnCutMgr& /*cut*/) {return *this;}
39
e2bafbbc 40 AliRsnCutSet *fCutSets[AliRsnCut::kLastCutTarget]; // cut definitions for all targets
8ecf98c4 41
e0baff8c 42 ClassDef(AliRsnCutMgr, 1) // dictionary
06351446 43};
44
45#endif