| Line | |
|---|
| 1 | #ifndef MFILLH_H
|
|---|
| 2 | #define MFILLH_H
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MAGIC_H
|
|---|
| 5 | #include "MAGIC.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef MTASK_H
|
|---|
| 9 | #include "MTask.h"
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | class MH;
|
|---|
| 13 | class MParList;
|
|---|
| 14 |
|
|---|
| 15 | class MFillH : public MTask
|
|---|
| 16 | {
|
|---|
| 17 | private:
|
|---|
| 18 | const MParContainer *fParContainer;
|
|---|
| 19 | TString fParContainerName;
|
|---|
| 20 |
|
|---|
| 21 | MH* fH;
|
|---|
| 22 | TString fHName;
|
|---|
| 23 |
|
|---|
| 24 | void Init(const char *name, const char *title);
|
|---|
| 25 |
|
|---|
| 26 | public:
|
|---|
| 27 | MFillH(const char *par, const char *hist, const char *name=NULL, const char *title=NULL);
|
|---|
| 28 | MFillH(const MParContainer *par, const char *hist, const char *name=NULL, const char *title=NULL);
|
|---|
| 29 | MFillH(const char *par, MH *hist, const char *name=NULL, const char *title=NULL);
|
|---|
| 30 | MFillH(const MParContainer *par, MH *hist, const char *name=NULL, const char *title=NULL);
|
|---|
| 31 |
|
|---|
| 32 | Bool_t PreProcess(MParList *pList);
|
|---|
| 33 | Bool_t Process();
|
|---|
| 34 | Bool_t PostProcess();
|
|---|
| 35 |
|
|---|
| 36 | ClassDef(MFillH, 0) // Task to fill a histogram with data from a parameter container
|
|---|
| 37 | };
|
|---|
| 38 |
|
|---|
| 39 | #endif
|
|---|
| 40 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.