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 |
|
---|
11 | class MTime;
|
---|
12 |
|
---|
13 | class MParList;
|
---|
14 |
|
---|
15 | class MHTimeDiffTime : public MH
|
---|
16 | {
|
---|
17 | private:
|
---|
18 | MTime *fTime; //!
|
---|
19 | Double_t fLastTime;
|
---|
20 |
|
---|
21 | TH2D fHist;
|
---|
22 |
|
---|
23 | public:
|
---|
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.