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();
|
---|
27 | MFillH(const char *hist, const char *par=NULL, const char *name=NULL, const char *title=NULL);
|
---|
28 | MFillH(const char *hist, const MParContainer *par, const char *name=NULL, const char *title=NULL);
|
---|
29 | MFillH(MH *hist, const char *par=NULL, const char *name=NULL, const char *title=NULL);
|
---|
30 | MFillH(MH *hist, const MParContainer *par, 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 | void SavePrimitive(ofstream &out, Option_t *o="");
|
---|
37 |
|
---|
38 | ClassDef(MFillH, 1) // Task to fill a histogram with data from a parameter container
|
---|
39 | };
|
---|
40 |
|
---|
41 | #endif
|
---|
42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.