source: trunk/MagicSoft/Mars/mhist/MHRanForest.h@ 1863

Last change on this file since 1863 was 1859, checked in by hengsteb, 22 years ago
*** empty log message ***
File size: 881 bytes
Line 
1#ifndef MARS_MHRanForest
2#define MARS_MHRanForest
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 MHRanForest : public MH
19{
20private:
21 const MMcEvt *fMcEvt;
22 const MRanForest *fRanForest;
23
24 TArrayF fSigma;
25 Int_t fNumEvent;
26 TGraph *fGraphSigma;
27
28public:
29 MHRanForest(Int_t nbins=100, const char *name=NULL, const char *title=NULL);
30 ~MHRanForest();
31
32 TGraph *GetGrphSigma() const { return fGraphSigma; }
33
34 Bool_t SetupFill(const MParList *plist);
35 Bool_t Fill(const MParContainer *par);
36 Bool_t Finalize();
37
38 void Print(Option_t *option="") const;
39
40 void Draw(Option_t *opt="");
41 TObject *DrawClone(Option_t *opt="") const;
42
43 ClassDef(MHRanForest, 1) // Histogram showing variance of estimated Hadronness
44};
45
46#endif
Note: See TracBrowser for help on using the repository browser.