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

Last change on this file since 1962 was 1668, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 866 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 virtual Bool_t SetupFill(const MParList *pList);
31 virtual Bool_t Fill(const MParContainer *par);
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 TObject *DrawClone(Option_t *option="") const;
40
41 ClassDef(MHThetabarTime, 0) //Profile histogram Thetabar vs. time
42
43};
44
45#endif
Note: See TracBrowser for help on using the repository browser.