Line | |
---|
1 | #ifndef MARS_MHAlphaEnergyTime
|
---|
2 | #define MARS_MHAlphaEnergyTime
|
---|
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 MHillasSrc;
|
---|
17 | class MEnergyEst;
|
---|
18 | class MTime;
|
---|
19 | class TH2D;
|
---|
20 | class MParList;
|
---|
21 |
|
---|
22 | class MHAlphaEnergyTime : public MH
|
---|
23 | {
|
---|
24 | private:
|
---|
25 | MHillasSrc *fHillas; //!
|
---|
26 | MEnergyEst *fEnergy; //!
|
---|
27 | MTime *fTime; //!
|
---|
28 |
|
---|
29 | TH3D fHist;
|
---|
30 |
|
---|
31 |
|
---|
32 | public:
|
---|
33 | MHAlphaEnergyTime(const char *name=NULL, const char *title=NULL);
|
---|
34 |
|
---|
35 | virtual Bool_t SetupFill(const MParList *pList);
|
---|
36 | virtual Bool_t Fill(const MParContainer *par);
|
---|
37 |
|
---|
38 | const TH3D *GetHist() { return &fHist; }
|
---|
39 | const TH3D *GetHist() const { return &fHist; }
|
---|
40 |
|
---|
41 | void Draw(Option_t *option="");
|
---|
42 | TObject *DrawClone(Option_t *option="") const;
|
---|
43 |
|
---|
44 | void Subtract(const TH3D *h1, const TH3D *h2);
|
---|
45 | void Subtract(const MHAlphaEnergyTime *h1, const MHAlphaEnergyTime *h2)
|
---|
46 | {
|
---|
47 | Subtract(h1->GetHist(), h2->GetHist());
|
---|
48 | }
|
---|
49 |
|
---|
50 | TH2D *DrawAlphaProjection(Axis_t lo, Axis_t up, Option_t *opt="");
|
---|
51 | TH2D *GetAlphaProjection(Axis_t lo, Axis_t up);
|
---|
52 |
|
---|
53 | ClassDef(MHAlphaEnergyTime, 1) //3D-histogram in alpha, Energy and time
|
---|
54 | };
|
---|
55 |
|
---|
56 | #endif
|
---|
57 |
|
---|
58 |
|
---|
59 |
|
---|
60 |
|
---|
61 |
|
---|
62 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.