source: trunk/MagicSoft/Mars/mhflux/MHEnergyEst.h@ 6932

Last change on this file since 6932 was 6932, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MHEnergyEst
2#define MARS_MHEnergyEst
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8#ifndef ROOT_TH3
9#include <TH3.h>
10#endif
11
12#ifndef ROOT_TH2
13#include <TH2.h>
14#endif
15
16class MMcEvt;
17class MParList;
18class MParameterD;
19class MHMatrix;
20
21class MHEnergyEst : public MH
22{
23private:
24 MMcEvt *fMcEvt; //!
25 MParameterD *fEnergy; //!
26 MParameterD *fResult; //!
27
28 Int_t fMap[100]; // FIXME!
29 MHMatrix *fMatrix; //!
30
31 TH3D fHEnergy;
32 TH3D fHResolution;
33 TH2D fHImpact;
34
35 Double_t fChisq;
36 Double_t fBias;
37
38 TH1 *MakePlot(TH3 &h, const char *how);
39 void UpdatePlot(TH3 &h, const char *how, Bool_t logy=kFALSE);
40
41 Double_t GetVal(Int_t i) const;
42
43 Bool_t SetupFill(const MParList *pList);
44 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
45 Bool_t Finalize();
46
47public:
48 MHEnergyEst(const char *name=NULL, const char *title=NULL);
49
50 void InitMapping(MHMatrix *mat);
51 void StopMapping();
52
53 void Paint(Option_t *opt="");
54 void Draw(Option_t *option="");
55 void Print(Option_t *o="") const;
56
57 ClassDef(MHEnergyEst, 1) //
58
59};
60
61#endif
Note: See TracBrowser for help on using the repository browser.