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

Last change on this file since 1575 was 1574, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 835 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 TH1 *GetHistByName(const TString name) { return &fHist; }
35
36 void Draw(Option_t *option="");
37 TObject *DrawClone(Option_t *option="") const;
38
39 ClassDef(MHTimeDiffTheta, 1) //2D-histogram time-diff vs. Theta
40};
41
42#endif
43
Note: See TracBrowser for help on using the repository browser.