source: tags/Mars-V0.8.4/mhist/MHTimeDiffTime.h

Last change on this file was 2522, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 757 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 Double_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, const Stat_t w=1);
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
36 ClassDef(MHTimeDiffTime, 0) //2D-histogram time-diff vs. time
37};
38
39#endif
40
Note: See TracBrowser for help on using the repository browser.