source: trunk/MagicSoft/Mars/mjtrain/MJTrainDisp.h@ 8698

Last change on this file since 8698 was 8656, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 772 bytes
Line 
1#ifndef MARS_MJTrainDisp
2#define MARS_MJTrainDisp
3
4#ifndef MARS_MJTrainRanForest
5#include "MJTrainRanForest.h"
6#endif
7
8class TCanvas;
9
10class MH3;
11class MDataSet;
12
13class MJTrainDisp : public MJTrainRanForest
14{
15private:
16 static const TString fgTrainParameter;
17
18 TString fTrainParameter;
19
20 void DisplayHist(TCanvas &c, Int_t i, MH3 &mh3) const;
21 void DisplayResult(MH3 &hsize, MH3 &henergy);
22
23public:
24 MJTrainDisp() : fTrainParameter(fgTrainParameter) { }
25
26 void SetTrainParameter(const char *txt) { fTrainParameter=txt; }
27
28 Bool_t Train(const char *out, const MDataSet &set, Int_t num);
29 //Bool_t TrainGhostbuster(const char *out, const MDataSet &set, Int_t num);
30
31 ClassDef(MJTrainDisp, 0)//Class to train Random Forest disp estimator
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.