source: trunk/MagicSoft/Mars/mhist/MHTimeDiffTime.h@ 1604

Last change on this file since 1604 was 1574, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 787 bytes
Line 
1#ifndef MARS_MHTimeDiffTime
2#define MARS_MHTimeDiffTime
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7#ifndef ROOT_TH2
8#include "TH2.h"
9#endif
10
11class MTime;
12
13class MParList;
14
15class MHTimeDiffTime : public MH
16{
17private:
18 MTime *fTime; //!
19 Int_t fLastTime;
20
21 TH2D fHist;
22
23public:
24 MHTimeDiffTime(const char *name=NULL, const char *title=NULL);
25
26 virtual Bool_t SetupFill(const MParList *pList);
27 virtual Bool_t Fill(const MParContainer *par);
28
29 const TH2D *GetHist() { return &fHist; }
30 const TH2D *GetHist() const { return &fHist; }
31
32 TH1 *GetHistByName(const TString name) { return &fHist; }
33
34 void Draw(Option_t *option="");
35 TObject *DrawClone(Option_t *option="") const;
36
37 ClassDef(MHTimeDiffTime, 1) //2D-histogram time-diff vs. time
38};
39
40#endif
41
Note: See TracBrowser for help on using the repository browser.