source: trunk/MagicSoft/Mars/mhist/MHThetabarTheta.h@ 1942

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