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 | public:
|
---|
27 | MRanForestCalc(const char *name=NULL, const char *title=NULL);
|
---|
28 | ~MRanForestCalc();
|
---|
29 |
|
---|
30 | void SetHadronnessName(const TString name) { fHadronnessName = name; }
|
---|
31 | TString GetHadronnessName() const { return fHadronnessName; }
|
---|
32 |
|
---|
33 | void SetUseNumTrees(UShort_t n=100) { fNum = n; }
|
---|
34 |
|
---|
35 | Bool_t PreProcess(MParList *plist);
|
---|
36 | Bool_t Process();
|
---|
37 |
|
---|
38 | ClassDef(MRanForestCalc, 0) // Task
|
---|
39 | };
|
---|
40 |
|
---|
41 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.