source: branches/Corsika7500Compatibility/mranforest/MRanForestGrow.h@ 20051

Last change on this file since 20051 was 7535, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 1.1 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 MRanForest *GetForest() const { return fRanForest; }
37
38 // void SetNumTrees(Int_t n=-1) { fNumTrees=n>0?n:100; }
39 // void SetNumTry(Int_t n=-1) { fNumTry =n>0?n: 3; }
40 // void SetNdSize(Int_t n=-1) { fNdSize =n>0?n: 1; }
41
42 ClassDef(MRanForestGrow, 0) // Task to grow a random forest
43};
44
45#endif
46
Note: See TracBrowser for help on using the repository browser.