source: trunk/MagicSoft/Mars/mtemp/mifae/library/MDispCalc.h@ 4450

Last change on this file since 4450 was 4316, checked in by domingo, 21 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MDispCalc
2#define MARS_MDispCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8#ifndef MARS_MSrcPosCam
9#include "MSrcPosCam.h"
10#endif
11
12class MHillas;
13class MHillasSrc;
14class MDisp;
15class MSrcPosCam;
16
17class MDispCalc : public MTask
18{
19private:
20
21 MHillas *fHillas; //! Pointer to the source independent hillas parameters
22 MHillasSrc *fHillasSrc; //! Pointer to the source dependent hillas parameters
23 MSrcPosCam *fSrcPos; //! Pointer to the source position
24 MDisp *fDisp;
25
26 Float_t fPsi; // [mm] Psi Disp parameter (has to fixed before Disp calculations,
27 // used for fPosDisp1, fPosDisp2, fDisp determination)
28
29 Int_t fErrors;
30
31 Int_t PreProcess(MParList *plist);
32 Int_t Process();
33 Int_t PostProcess();
34
35public:
36
37 MDispCalc(const char *name=NULL, const char *title=NULL);
38
39 void SetSrcPos(Float_t xpos, Float_t ypos) {fSrcPos->SetXY(xpos,ypos);}
40 void SetPsi(Float_t psi) {fPsi = psi;}
41
42 ClassDef(MDispCalc, 0) // task to calculate the Disp parameter and related positions
43};
44
45#endif
Note: See TracBrowser for help on using the repository browser.