source: tags/Mars-V0.10.2/mtemp/mmpi/MPointingPosCalcWA.h

Last change on this file was 5490, checked in by mazin, 20 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MPointingPositionCalcWA
2#define MARS_MPointingPositionCalcWA
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MMcEvt;
9class MReportDrive;
10class MPointingPos;
11class MRawRunHeader;
12class MObservatory;
13
14class MPointingPosCalcWA : public MTask
15{
16private:
17 MMcEvt *fMcEvt; //! MMcEvt to get simulated poiting position from
18 MReportDrive *fReport; //! MReportDrive to get real poiting position from
19 MPointingPos *fPosition; //! Output container to store pointing position
20 MObservatory *fObs;
21 MRawRunHeader *fRunHeader;
22 Double_t fRa;
23 Double_t fDec;
24
25
26 UShort_t fRunType; //! Run Type to decide where to get pointing position from
27
28 Bool_t ReInit(MParList *plist);
29 Int_t PreProcess(MParList *plist);
30 Int_t Process();
31
32public:
33 MPointingPosCalcWA()
34 {
35 fName = "MPointingPosCalcWA";
36 fTitle = "Task calculating the pointing position";
37 }
38
39 void SetRaDec(Double_t ra, Double_t dec) {fRa = ra; fDec = dec;}
40
41 ClassDef(MPointingPosCalcWA, 0) //Task calculating the pointing position
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.