source: trunk/MagicSoft/Mars/mhist/MHThetabarTime.h@ 5347

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