Line | |
---|
1 | #ifndef MARS_MHAlphaEnergyTheta
|
---|
2 | #define MARS_MHAlphaEnergyTheta
|
---|
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 MHillasSrc;
|
---|
18 | class MEnergyEst;
|
---|
19 | class TH2D;
|
---|
20 | class MParList;
|
---|
21 |
|
---|
22 |
|
---|
23 | class MHAlphaEnergyTheta : public MH
|
---|
24 | {
|
---|
25 | private:
|
---|
26 | MMcEvt *fMcEvt; //!
|
---|
27 | MHillasSrc *fHillas; //!
|
---|
28 | MEnergyEst *fEnergy; //!
|
---|
29 |
|
---|
30 | TH3D fHist;
|
---|
31 |
|
---|
32 | public:
|
---|
33 | MHAlphaEnergyTheta(const char *name=NULL, const char *title=NULL);
|
---|
34 |
|
---|
35 | Bool_t SetupFill(const MParList *pList);
|
---|
36 | Bool_t Fill(const MParContainer *par, Double_t w=1);
|
---|
37 |
|
---|
38 | const TH3D *GetHist() { return &fHist; }
|
---|
39 | const TH3D *GetHist() const { return &fHist; }
|
---|
40 |
|
---|
41 | TH1 *GetHistByName(const TString name) { return &fHist; }
|
---|
42 |
|
---|
43 | void Draw(Option_t *option="");
|
---|
44 |
|
---|
45 | ClassDef(MHAlphaEnergyTheta, 0) //3D-histogram in alpha, Energy and theta
|
---|
46 | };
|
---|
47 |
|
---|
48 | #endif
|
---|
49 |
|
---|
50 |
|
---|
51 |
|
---|
52 |
|
---|
53 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.