source: trunk/MagicSoft/Mars/manalysis/MRanForestCalc.h@ 1859

Last change on this file since 1859 was 1859, checked in by hengsteb, 22 years ago
*** empty log message ***
File size: 821 bytes
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
12class MParList;
13class MHadronness;
14class MDataArray;
15
16class MRanForestCalc : public MTask
17{
18private:
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
26public:
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.