| Line | |
|---|
| 1 | #ifndef MARS_MRanForestCalc
|
|---|
| 2 | #define MARS_MRanForestCalc
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MTask
|
|---|
| 5 | #include "MTask.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef MARS_MRanForest
|
|---|
| 9 | #include "MRanForest.h"
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | class MParList;
|
|---|
| 13 | class MHadronness;
|
|---|
| 14 | class MDataArray;
|
|---|
| 15 |
|
|---|
| 16 | class MRanForestCalc : public MTask
|
|---|
| 17 | {
|
|---|
| 18 | private:
|
|---|
| 19 | Int_t fNum; // number of trees used to compute 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 | public:
|
|---|
| 27 | MRanForestCalc(const char *name=NULL, const char *title=NULL);
|
|---|
| 28 | ~MRanForestCalc();
|
|---|
| 29 |
|
|---|
| 30 | void SetUseNumTrees(UShort_t n=100) { fNum = n; }
|
|---|
| 31 |
|
|---|
| 32 | Bool_t PreProcess(MParList *plist);
|
|---|
| 33 | Bool_t Process();
|
|---|
| 34 |
|
|---|
| 35 | ClassDef(MRanForestCalc, 0) // Task
|
|---|
| 36 | };
|
|---|
| 37 |
|
|---|
| 38 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.