| 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 |
|
|---|
| 14 | class MTime;
|
|---|
| 15 | class MMcEvt;
|
|---|
| 16 |
|
|---|
| 17 | class MParList;
|
|---|
| 18 |
|
|---|
| 19 | class MHThetabarTime : public MH
|
|---|
| 20 | {
|
|---|
| 21 | private:
|
|---|
| 22 | MTime *fTime; //!
|
|---|
| 23 | MMcEvt *fMcEvt;
|
|---|
| 24 |
|
|---|
| 25 | TProfile fHist;
|
|---|
| 26 |
|
|---|
| 27 | public:
|
|---|
| 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.