source: trunk/MagicSoft/Mars/mhist/MHGamma.h@ 3492

Last change on this file since 3492 was 1992, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 766 bytes
Line 
1#ifndef MARS_MHGamma
2#define MARS_MHGamma
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class TH2D;
9class TH3D;
10
11class MHAlphaEnergyTheta;
12
13class MHGamma : public MH
14{
15private:
16 TH3D *fHist; //!
17 TH2D *fProject; //!
18
19 Axis_t fLo; //!
20 Axis_t fHi; //!
21
22public:
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.