| Line | |
|---|
| 1 | #ifndef MARS_MH
|
|---|
| 2 | #define MARS_MH
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class TCanvas;
|
|---|
| 9 |
|
|---|
| 10 | class MH : public MParContainer
|
|---|
| 11 | {
|
|---|
| 12 | public:
|
|---|
| 13 | MH(const char *name=NULL, const char *title=NULL);
|
|---|
| 14 |
|
|---|
| 15 | virtual void Fill(const MParContainer *par) = 0;
|
|---|
| 16 |
|
|---|
| 17 | static TCanvas *MakeDefCanvas(const char *name=NULL, const char *title="",
|
|---|
| 18 | const UInt_t w=700, const UInt_t h=500);
|
|---|
| 19 | static TCanvas *MakeDefCanvas(const TObject *obj,
|
|---|
| 20 | const UInt_t w=700, const UInt_t h=500);
|
|---|
| 21 |
|
|---|
| 22 | ClassDef(MH, 1) //A histogram base class for Mars histograms
|
|---|
| 23 | };
|
|---|
| 24 |
|
|---|
| 25 | #endif
|
|---|
| 26 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.