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

Last change on this file since 1376 was 1295, checked in by wittek, 23 years ago
*** empty log message ***
File size: 724 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 void Draw(Option_t *option="");
33 TObject *DrawClone(Option_t *option="") const;
34
35 ClassDef(MHTimeDiffTime, 1) //2D-histogram time-diff vs. time
36};
37
38#endif
39
Note: See TracBrowser for help on using the repository browser.