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

Last change on this file since 1472 was 1472, 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 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();
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.