source: trunk/MagicSoft/Mars/mranforest/MRanForestCalc.h@ 2811

Last change on this file since 2811 was 2207, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1015 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
26 Int_t PreProcess(MParList *plist);
27 Int_t Process();
28
29public:
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.