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

Last change on this file since 4829 was 4825, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.5 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
12//class MVector3;
13class MPointingPos;
14class MSrcPosCam;
15class MGeomCam;
16class MPointing;
17class MRawRunHeader;
18//class MTime;
19//class MObservatory;
20//class MReportDrive;
21//class ZdAz;
22
23class MSrcPosFromModel : public MTask
24{
25private:
26 MPointingPos *fPointPos; //! Poiting position as recorded by the drive system
27 MSrcPosCam *fSrcPos; //! Source position in the camera
28 MGeomCam *fGeom; //! Camera geometry
29 MRawRunHeader *fRun; //! Run Header storing the run-number
30 //MTime *fTime;
31 //MTime *fTime2;
32 //MReportDrive *fReport;
33 //MObservatory *fObservatory;
34
35 MPointing *fPoint0401; //! Pointing Model used since 1/2004
36 MPointing *fPoint0405; //! Pointing Model used since 5/2004
37
38 MPointing *fPointOld; //! Pointing Model valid until 8/2004
39 MPointing *fPointNew; //! Pointing Model valid since 8/2004
40
41 Int_t PreProcess(MParList *pList);
42 Int_t Process();
43/*
44 TVector2 CalcXYinCamera(const ZdAz &pos0, const ZdAz &pos) const;
45 TVector2 CalcXYinCamera(const MVector3 &pos0, const MVector3 &pos) const;
46 */
47
48public:
49 MSrcPosFromModel(const char *name=NULL, const char *title=NULL);
50 ~MSrcPosFromModel();
51
52 ClassDef(MSrcPosFromModel, 0) // Calculates the source position from a corrected pointing model
53};
54
55#endif
Note: See TracBrowser for help on using the repository browser.