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 | TString ExtractName(const char *name) const;
|
---|
21 | TString ExtractClass(const char *name) const;
|
---|
22 |
|
---|
23 | void Init(const char *name, const char *title);
|
---|
24 |
|
---|
25 | public:
|
---|
26 | MFillH(const char *hist, const char *par=NULL, const char *name=NULL, const char *title=NULL);
|
---|
27 | MFillH(const char *hist, const MParContainer *par, const char *name=NULL, const char *title=NULL);
|
---|
28 | MFillH(MH *hist, const char *par=NULL, const char *name=NULL, const char *title=NULL);
|
---|
29 | MFillH(MH *hist, const MParContainer *par, const char *name=NULL, const char *title=NULL);
|
---|
30 |
|
---|
31 | Bool_t PreProcess(MParList *pList);
|
---|
32 | Bool_t Process();
|
---|
33 | Bool_t PostProcess();
|
---|
34 |
|
---|
35 | ClassDef(MFillH, 0) // Task to fill a histogram with data from a parameter container
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif
|
---|
39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.