source: trunk/MagicSoft/Mars/manalysis/MFiltercutsCalc.h@ 5563

Last change on this file since 5563 was 2206, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MFiltercutsCalc
2#define MARS_MFiltercutsCalc
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MFiltercutsCalc //
7// //
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef MARS_MFilter
11#include "MFilter.h"
12#endif
13
14class MParList;
15class MFilterList;
16class MHadronness;
17
18
19class MFiltercutsCalc : public MTask
20{
21private:
22 MFilterList *fList; //->
23 MHadronness *fHadronness; //!
24 TString fHadronnessName; // name of container to store hadronness
25
26 Int_t PreProcess(MParList *pList);
27 Int_t Process();
28
29 void AddToList(MFilter *f);
30
31public:
32 MFiltercutsCalc(const char *name=NULL, const char *title=NULL);
33 ~MFiltercutsCalc();
34
35 void SetHadronnessName(const TString name) { fHadronnessName = name; }
36 TString GetHadronnessName() const { return fHadronnessName; }
37
38 void AddCut(const char *name, Double_t lo, Double_t up);
39 void AddCut(const char *name, Double_t val);
40 void AddCut(const char *cut);
41 void AddCut(MFilter *f);
42
43 void Print(Option_t *opt=NULL) const;
44
45 ClassDef(MFiltercutsCalc, 0) // A class to evaluate Filtercuts
46};
47
48#endif
Note: See TracBrowser for help on using the repository browser.