source: trunk/Mars/manalysis/MFiltercutsCalc.h@ 10107

Last change on this file since 10107 was 8091, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 1.4 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.