source: trunk/MagicSoft/Mars/mhist/MHEffOnTimeTheta.h@ 1213

Last change on this file since 1213 was 1213, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 756 bytes
Line 
1#ifndef MARS_MHEffOnTimeTheta
2#define MARS_MHEffOnTimeTheta
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7#ifndef ROOT_TH1
8#include "TH1.h"
9#endif
10
11class MTime;
12class TH2D;
13class MParList;
14
15class MHEffOnTimeTheta : public MH
16{
17private:
18 TH1D fHist;
19
20public:
21 MHEffOnTimeTheta(const char *name=NULL, const char *title=NULL);
22
23 virtual Bool_t SetupFill(const MParList *pList);
24 virtual Bool_t Fill(const MParContainer *par);
25
26 const TH1D *GetHist() { return &fHist; }
27 const TH1D *GetHist() const { return &fHist; }
28
29 void Calc(TH2D *hist);
30
31 void Draw(Option_t *option="");
32 TObject *DrawClone(Option_t *option="") const;
33
34 ClassDef(MHEffOnTimeTheta, 1) //Histogram to store a 3-Dim histogram in alpha, Energy and time
35};
36
37#endif
38
Note: See TracBrowser for help on using the repository browser.