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

Last change on this file since 1788 was 1668, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 810 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 Bool_t Fill(const MParContainer *par);
26
27 TH3D *Subtract(const TH3D *h1, const TH3D *h2);
28
29 TH3D *Subtract(const MHAlphaEnergyTheta &h1, const MHAlphaEnergyTheta &h2);
30
31 TH2D *GetAlphaProjection(Axis_t lo, Axis_t up);
32
33 TObject *DrawClone(Option_t *opt="") const;
34 void DrawClone1() const;
35 void DrawClone2() const;
36
37 const TH2D *GetProject() const { return fProject; }
38
39 ClassDef(MHGamma, 0) // manipulation of alpha distributions
40};
41
42#endif
43
44
45
46
47
48
Note: See TracBrowser for help on using the repository browser.