source: tags/Mars-V0.8.6/mhist/MHThetabarTheta.h

Last change on this file was 2522, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 797 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 Bool_t SetupFill(const MParList *pList);
28 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
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
37 ClassDef(MHThetabarTheta, 0) //Profile histogram Thetabar vs. time
38
39};
40
41#endif
42
43
44
45
46
47
48
49
50
51
52
Note: See TracBrowser for help on using the repository browser.