source: trunk/MagicSoft/Mars/mhist/MHEffOnTimeTime.h@ 1285

Last change on this file since 1285 was 1213, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 751 bytes
Line 
1#ifndef MARS_MHEffOnTimeTime
2#define MARS_MHEffOnTimeTime
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 MHEffOnTimeTime : public MH
16{
17private:
18 TH1D fHist;
19
20public:
21 MHEffOnTimeTime(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(MHEffOnTimeTime, 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.