source: trunk/MagicSoft/Mars/mhist/MHTimeDiffTheta.h@ 2812

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