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