source: trunk/MagicSoft/Mars/mranforest/MRanForestGrow.h@ 7398

Last change on this file since 7398 was 7398, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#ifndef MARS_MRanForestGrow
2#define MARS_MRanForestGrow
3
4#ifndef MARS_MRead
5#include "MRead.h"
6#endif
7
8class MHMatrix;
9class MParList;
10class MRanForest;
11
12class MRanForestGrow : public MRead
13{
14private:
15 static const TString gsDefName;
16 static const TString gsDefTitle;
17
18 // Int_t fNumTrees;
19 // Int_t fNumTry;
20 // Int_t fNdSize;
21
22 MRanForest *fRanForest;
23 MHMatrix *fMatrix; //! matrix with events
24
25 Int_t PreProcess(MParList *pList);
26 Int_t Process();
27 Int_t PostProcess();
28
29 UInt_t GetEntries() { return 100; }//fNumTrees; }
30 TString GetFileName() const { return "MRanForestGrow"; }
31 TString GetFullFileName() const { return "MRanForestGrow"; }
32
33public:
34 MRanForestGrow(const char *name=NULL, const char *title=NULL);
35
36 // void SetNumTrees(Int_t n=-1) { fNumTrees=n>0?n:100; }
37 // void SetNumTry(Int_t n=-1) { fNumTry =n>0?n: 3; }
38 // void SetNdSize(Int_t n=-1) { fNdSize =n>0?n: 1; }
39
40 ClassDef(MRanForestGrow, 0) // Task to grow a random forest
41};
42
43#endif
44
Note: See TracBrowser for help on using the repository browser.