Line | |
---|
1 | #ifndef MARS_MPointingPositionCalcWA
|
---|
2 | #define MARS_MPointingPositionCalcWA
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MMcEvt;
|
---|
9 | class MReportDrive;
|
---|
10 | class MPointingPos;
|
---|
11 | class MRawRunHeader;
|
---|
12 | class MObservatory;
|
---|
13 |
|
---|
14 | class MPointingPosCalcWA : public MTask
|
---|
15 | {
|
---|
16 | private:
|
---|
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 |
|
---|
32 | public:
|
---|
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.