| Line | |
|---|
| 1 | #ifndef MARS_MHEffOnTimeTheta
|
|---|
| 2 | #define MARS_MHEffOnTimeTheta
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MH
|
|---|
| 5 | #include "MH.h"
|
|---|
| 6 | #endif
|
|---|
| 7 | #ifndef ROOT_TH1
|
|---|
| 8 | #include "TH1.h"
|
|---|
| 9 | #endif
|
|---|
| 10 |
|
|---|
| 11 | class MTime;
|
|---|
| 12 | class TH2D;
|
|---|
| 13 | class MParList;
|
|---|
| 14 |
|
|---|
| 15 | class MHEffOnTimeTheta : public MH
|
|---|
| 16 | {
|
|---|
| 17 | private:
|
|---|
| 18 | TH1D fHist;
|
|---|
| 19 |
|
|---|
| 20 | public:
|
|---|
| 21 | MHEffOnTimeTheta(const char *name=NULL, const char *title=NULL);
|
|---|
| 22 |
|
|---|
| 23 | virtual Bool_t SetupFill(const MParList *pList);
|
|---|
| 24 | virtual Bool_t Fill(const MParContainer *par);
|
|---|
| 25 |
|
|---|
| 26 | const TH1D *GetHist() { return &fHist; }
|
|---|
| 27 | const TH1D *GetHist() const { return &fHist; }
|
|---|
| 28 |
|
|---|
| 29 | void Calc(TH2D *hist);
|
|---|
| 30 |
|
|---|
| 31 | void Draw(Option_t *option="");
|
|---|
| 32 | TObject *DrawClone(Option_t *option="") const;
|
|---|
| 33 |
|
|---|
| 34 | ClassDef(MHEffOnTimeTheta, 1) //Histogram to store a 3-Dim histogram in alpha, Energy and time
|
|---|
| 35 | };
|
|---|
| 36 |
|
|---|
| 37 | #endif
|
|---|
| 38 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.