| 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 |
|
|---|
| 14 | class MParList;
|
|---|
| 15 | class MFilterList;
|
|---|
| 16 | class MHadronness;
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 | class MFiltercutsCalc : public MTask
|
|---|
| 20 | {
|
|---|
| 21 | private:
|
|---|
| 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 |
|
|---|
| 31 | public:
|
|---|
| 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.