source: trunk/MagicSoft/Mars/mbase/MPrint.h@ 1477

Last change on this file since 1477 was 1014, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 806 bytes
Line 
1#ifndef MARS_MPrint
2#define MARS_MPrint
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MParList;
9
10class MPrint : public MTask
11{
12private:
13 const TObject *fObject; // pointer to container which has to be printed
14 TString fObjName; // given name to search for in the parameterlist
15 TString fOption; // Print option
16
17 void Init(const char *name, const char *title);
18
19public:
20 MPrint(const char *obj, const char *option="", const char *name=NULL, const char *title=NULL);
21 MPrint(const TObject *obj, const char *option="", const char *name=NULL, const char *title=NULL);
22
23 void SetOption(Option_t *option) { fOption = option; }
24
25 Bool_t PreProcess(MParList *pList);
26 Bool_t Process();
27
28 ClassDef(MPrint, 0) // Task to call Print() function
29};
30
31#endif
32
Note: See TracBrowser for help on using the repository browser.