source: trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTime.h@ 1942

Last change on this file since 1942 was 1668, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.1 KB
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
16class MHillasSrc;
17class MEnergyEst;
18class MTime;
19class TH2D;
20class MParList;
21
22class MHAlphaEnergyTime : public MH
23{
24private:
25 MHillasSrc *fHillas; //!
26 MEnergyEst *fEnergy; //!
27 MTime *fTime; //!
28
29 TH3D fHist;
30
31public:
32 MHAlphaEnergyTime(const char *name=NULL, const char *title=NULL);
33
34 virtual Bool_t SetupFill(const MParList *pList);
35 virtual Bool_t Fill(const MParContainer *par);
36
37 const TH3D *GetHist() { return &fHist; }
38 const TH3D *GetHist() const { return &fHist; }
39
40 TH1 *GetHistByName(const TString name) { return &fHist; }
41
42 void Draw(Option_t *option="");
43 TObject *DrawClone(Option_t *option="") const;
44
45 TH2D *IntegrateTime (const char *title, Bool_t Draw);
46 TH2D *IntegrateEest (const char *title, Bool_t Draw);
47 TH1D *IntegrateEestTime(const char *title, Bool_t Draw);
48
49 ClassDef(MHAlphaEnergyTime, 0) //3D-histogram in alpha, Energy and time
50};
51
52#endif
53
54
55
56
57
58
Note: See TracBrowser for help on using the repository browser.