source: trunk/MagicSoft/Mars/manalysis/MHillasSrcCalc.h@ 1889

Last change on this file since 1889 was 1873, checked in by wittek, 22 years ago
*** empty log message ***
File size: 1.2 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 MHillas *fHillas; //! Pointer to the source independant hillas parameters
16 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 Bool_t PreProcess(MParList *plist);
28 Bool_t Process();
29 Bool_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 MHillasSrcCalc(const char *src="MSrcPosCam", const char *hil="MHillasSrc",
36 const char *name=NULL, const char *title=NULL);
37
38 void SetInput(TString hilname) { fHillasInput = hilname; }
39
40 ClassDef(MHillasSrcCalc, 1) // task to calculate the source position depandant hillas parameters
41};
42
43#endif
44
Note: See TracBrowser for help on using the repository browser.