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

Last change on this file since 1957 was 1910, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1017 bytes
Line 
1#ifndef MARS_MRanForestCalc
2#define MARS_MRanForestCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MParList;
9class MHadronness;
10class MDataArray;
11class MRanTree;
12class MRanForest;
13
14class MRanForestCalc : public MTask
15{
16private:
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
26public:
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.