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

Last change on this file since 1107 was 1015, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 926 bytes
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 void Init(const char *name, const char *title);
21
22public:
23 MFillH(const char *par, const char *hist, const char *name=NULL, const char *title=NULL);
24 MFillH(const MParContainer *par, const char *hist, const char *name=NULL, const char *title=NULL);
25 MFillH(const char *par, MH *hist, const char *name=NULL, const char *title=NULL);
26 MFillH(const MParContainer *par, MH *hist, const char *name=NULL, const char *title=NULL);
27
28 Bool_t PreProcess(MParList *pList);
29 Bool_t Process();
30 Bool_t PostProcess();
31
32 ClassDef(MFillH, 0) // Task to fill a histogram with data from a parameter container
33};
34
35#endif
36
Note: See TracBrowser for help on using the repository browser.