source: trunk/MagicSoft/Mars/mimage/MHillasSrcCalc.h@ 5973

Last change on this file since 5973 was 4710, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#ifndef MARS_MHillasSrcCalc
2#define MARS_MHillasSrcCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MHillas;
9class MHillasSrc;
10class MSrcPosCam;
11
12class MHillasSrcCalc : public MTask
13{
14private:
15 const MHillas *fHillas; //! Pointer to the source independant hillas parameters
16 const MSrcPosCam *fSrcPos; //! Pointer to the source position
17 MHillasSrc *fHillasSrc; //! Pointer to the output container for the source dependant parameters
18
19 TString fSrcName;
20 TString fHillasName;
21 TString fHillasInput;
22
23 Int_t fErrors;
24
25 void StreamPrimitive(ofstream &out) const;
26
27 Int_t PreProcess(MParList *plist);
28 Int_t Process();
29 Int_t PostProcess();
30
31public:
32 MHillasSrcCalc(const char *src="MSrcPosCam", const char *hil="MHillasSrc",
33 const char *name=NULL, const char *title=NULL);
34
35 void SetInput(TString hilname) { fHillasInput = hilname; }
36
37 ClassDef(MHillasSrcCalc, 1) // task to calculate the source position depandant hillas parameters
38};
39
40#endif
41
Note: See TracBrowser for help on using the repository browser.