Line | |
---|
1 | #ifndef MARS_MHGamma
|
---|
2 | #define MARS_MHGamma
|
---|
3 |
|
---|
4 | #ifndef MARS_MH
|
---|
5 | #include "MH.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TH2D;
|
---|
9 | class TH3D;
|
---|
10 |
|
---|
11 | class MHAlphaEnergyTheta;
|
---|
12 |
|
---|
13 | class MHGamma : public MH
|
---|
14 | {
|
---|
15 | private:
|
---|
16 | TH3D *fHist; //!
|
---|
17 | TH2D *fProject; //!
|
---|
18 |
|
---|
19 | Axis_t fLo; //!
|
---|
20 | Axis_t fHi; //!
|
---|
21 |
|
---|
22 | public:
|
---|
23 | MHGamma(const TString &name="", const TString &title="");
|
---|
24 |
|
---|
25 | TH3D *Subtract(const TH3D *h1, const TH3D *h2);
|
---|
26 |
|
---|
27 | TH3D *Subtract(const MHAlphaEnergyTheta &h1, const MHAlphaEnergyTheta &h2);
|
---|
28 |
|
---|
29 | TH2D *GetAlphaProjection(Axis_t lo, Axis_t up);
|
---|
30 |
|
---|
31 | TObject *DrawClone(Option_t *opt="") const;
|
---|
32 | void DrawClone1() const;
|
---|
33 | void DrawClone2() const;
|
---|
34 |
|
---|
35 | const TH2D *GetProject() const { return fProject; }
|
---|
36 |
|
---|
37 | ClassDef(MHGamma, 0) // manipulation of alpha distributions
|
---|
38 | };
|
---|
39 |
|
---|
40 | #endif
|
---|
41 |
|
---|
42 |
|
---|
43 |
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.