source: trunk/MagicSoft/Mars/mhist/MHRanForestGini.h@ 1859

Last change on this file since 1859 was 1859, checked in by hengsteb, 22 years ago
*** empty log message ***
File size: 826 bytes
Line 
1#ifndef MARS_MHRanForestGini
2#define MARS_MHRanForestGini
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8#ifndef TArrayF
9#include "TArrayF.h"
10#endif
11
12class TH1D;
13class TGraph;
14class MParList;
15class MMcEvt;
16class MRanForest;
17
18class MHRanForestGini : public MH
19{
20private:
21 const MMcEvt *fMcEvt;
22 const MRanForest *fRanForest;
23
24 TArrayF fGini;
25 TGraph *fGraphGini;
26
27public:
28 MHRanForestGini(Int_t nbins=100, const char *name=NULL, const char *title=NULL);
29 ~MHRanForestGini();
30
31 TGraph *GetGrphGini() const { return fGraphGini; }
32
33 Bool_t SetupFill(const MParList *plist);
34 Bool_t Fill(const MParContainer *par);
35 Bool_t Finalize();
36
37 void Print(Option_t *option="") const;
38
39 void Draw(Option_t *opt="");
40 TObject *DrawClone(Option_t *opt="") const;
41
42 ClassDef(MHRanForestGini, 1)
43};
44
45#endif
Note: See TracBrowser for help on using the repository browser.