source: trunk/MagicSoft/Mars/mhist/MFillH.h@ 1209

Last change on this file since 1209 was 1209, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#ifndef MARS_MFillH
2#define MARS_MFillH
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MH;
9class MParList;
10
11class MFillH : public MTask
12{
13private:
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
25public:
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.