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

Last change on this file since 1477 was 1477, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.1 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 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 void StreamPrimitive(ofstream &out) const;
26
27public:
28 MFillH();
29 MFillH(const char *hist, const char *par=NULL, const char *name=NULL, const char *title=NULL);
30 MFillH(const char *hist, MParContainer *par, const char *name=NULL, const char *title=NULL);
31 MFillH(MH *hist, const char *par=NULL, const char *name=NULL, const char *title=NULL);
32 MFillH(MH *hist, MParContainer *par, const char *name=NULL, const char *title=NULL);
33
34 Bool_t PreProcess(MParList *pList);
35 Bool_t Process();
36 Bool_t PostProcess();
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.