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

Last change on this file since 6867 was 6283, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.0 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 MEnergyEst;
18class MParList;
19class MParameterD;
20class MHMatrix;
21
22class MHEnergyEst : public MH
23{
24private:
25 MMcEvt *fMcEvt; //!
26 MEnergyEst *fEnergy; //!
27 MParameterD *fResult; //!
28
29 Int_t fMap[100]; // FIXME!
30 MHMatrix *fMatrix; //!
31
32 TH3D fHEnergy;
33 TH3D fHResolution;
34 TH2D fHImpact;
35
36 Double_t fChisq;
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
56 ClassDef(MHEnergyEst, 1) //
57
58};
59
60#endif
Note: See TracBrowser for help on using the repository browser.