source: trunk/MagicSoft/Mars/mpointing/MSrcPosCalc.h@ 6147

Last change on this file since 6147 was 6082, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 769 bytes
Line 
1#ifndef MARS_MSrcPosCalc
2#define MARS_MSrcPosCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8#ifndef ROOT_TVector2
9#include <TVector2.h>
10#endif
11
12class MObservatory;
13class MPointingPos;
14class MSrcPosCam;
15class MGeomCam;
16class MTime;
17class MVector3;
18
19class MSrcPosCalc : public MTask
20{
21private:
22 MObservatory *fObservatory;
23 MPointingPos *fPointPos;
24 MPointingPos *fSourcePos;
25 MSrcPosCam *fSrcPosCam;
26 MGeomCam *fGeom;
27 MTime *fTime;
28
29 TVector2 CalcXYinCamera(const MVector3 &pos0, const MVector3 &pos) const;
30
31 Int_t PreProcess(MParList *pList);
32 Int_t Process();
33
34public:
35 MSrcPosCalc(const char *name=NULL, const char *title=NULL);
36
37 ClassDef(MSrcPosCalc, 0) // Derotates the source position in the camera
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.