source: trunk/MagicSoft/Mars/mpointing/MSrcPosFromModel.h@ 9492

Last change on this file since 9492 was 4966, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MSrcPosFromModel
2#define MARS_MSrcPosFromModel
3
4//#ifndef ROOT_TVector2
5//#include <TVector2.h>
6//#endif
7
8#ifndef MARS_MTask
9#include "MTask.h"
10#endif
11
12class MPointingPos;
13class MSrcPosCam;
14class MGeomCam;
15class MPointing;
16class MRawRunHeader;
17class MTime;
18class MObservatory;
19
20class MSrcPosFromModel : public MTask
21{
22private:
23 MPointingPos *fPointPos; //! Poiting position as recorded by the drive system
24 MSrcPosCam *fSrcPos; //! Source position in the camera
25 MGeomCam *fGeom; //! Camera geometry
26 MRawRunHeader *fRun; //! Run Header storing the run-number
27 MTime *fTime;
28 MObservatory *fObservatory;
29
30 MPointing *fPoint0401; //! Pointing Model used since 1/2004
31 MPointing *fPoint0405; //! Pointing Model used since 5/2004
32
33 Int_t PreProcess(MParList *pList);
34 Int_t Process();
35/*
36 TVector2 CalcXYinCamera(const ZdAz &pos0, const ZdAz &pos) const;
37 TVector2 CalcXYinCamera(const MVector3 &pos0, const MVector3 &pos) const;
38 */
39
40public:
41 MSrcPosFromModel(const char *name=NULL, const char *title=NULL);
42 ~MSrcPosFromModel();
43
44 ClassDef(MSrcPosFromModel, 0) // Calculates the source position from a corrected pointing model
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.