| Line | |
|---|
| 1 | #ifndef MARS_MRanForestCalc
|
|---|
| 2 | #define MARS_MRanForestCalc
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MTask
|
|---|
| 5 | #include "MTask.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MParList;
|
|---|
| 9 | class MHadronness;
|
|---|
| 10 | class MDataArray;
|
|---|
| 11 | class MRanTree;
|
|---|
| 12 | class MRanForest;
|
|---|
| 13 |
|
|---|
| 14 | class MRanForestCalc : public MTask
|
|---|
| 15 | {
|
|---|
| 16 | private:
|
|---|
| 17 | Int_t fNum; // number of trees used to compute hadronness
|
|---|
| 18 |
|
|---|
| 19 | TString fHadronnessName; // Name of container storing hadronness
|
|---|
| 20 |
|
|---|
| 21 | MHadronness *fHadroness; //! Output container for calculated hadroness
|
|---|
| 22 | MDataArray *fData; //! Used to store the MDataChains to get the event values
|
|---|
| 23 | MRanForest *fRanForest;
|
|---|
| 24 | MRanTree *fRanTree;
|
|---|
| 25 |
|
|---|
| 26 | Int_t PreProcess(MParList *plist);
|
|---|
| 27 | Int_t Process();
|
|---|
| 28 |
|
|---|
| 29 | public:
|
|---|
| 30 | MRanForestCalc(const char *name=NULL, const char *title=NULL);
|
|---|
| 31 | ~MRanForestCalc();
|
|---|
| 32 |
|
|---|
| 33 | void SetHadronnessName(const TString name) { fHadronnessName = name; }
|
|---|
| 34 | TString GetHadronnessName() const { return fHadronnessName; }
|
|---|
| 35 |
|
|---|
| 36 | void SetUseNumTrees(UShort_t n=100) { fNum = n; }
|
|---|
| 37 |
|
|---|
| 38 | ClassDef(MRanForestCalc, 0) // Task
|
|---|
| 39 | };
|
|---|
| 40 |
|
|---|
| 41 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.