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

Last change on this file since 1376 was 1295, checked in by wittek, 23 years ago
*** empty log message ***
File size: 772 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 Int_t fLastTime;
22
23 TH2D fHist;
24
25public:
26 MHTimeDiffTheta(const char *name=NULL, const char *title=NULL);
27
28 virtual Bool_t SetupFill(const MParList *pList);
29 virtual Bool_t Fill(const MParContainer *par);
30
31 const TH2D *GetHist() { return &fHist; }
32 const TH2D *GetHist() const { return &fHist; }
33
34 void Draw(Option_t *option="");
35 TObject *DrawClone(Option_t *option="") const;
36
37 ClassDef(MHTimeDiffTheta, 1) //2D-histogram time-diff vs. Theta
38};
39
40#endif
41
Note: See TracBrowser for help on using the repository browser.