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 |
|
---|
16 | class MMcEvt;
|
---|
17 | class MEnergyEst;
|
---|
18 | class MParList;
|
---|
19 | class MParameterD;
|
---|
20 | class MHMatrix;
|
---|
21 |
|
---|
22 | class MHEnergyEst : public MH
|
---|
23 | {
|
---|
24 | private:
|
---|
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 |
|
---|
47 | public:
|
---|
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.