Line | |
---|
1 | #ifndef MARS_MPointingPositionCalc
|
---|
2 | #define MARS_MPointingPositionCalc
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef ROOT_TArrayI
|
---|
9 | #include <TArrayI.h>
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class MPointingDev;
|
---|
13 | class MReportStarguider;
|
---|
14 |
|
---|
15 | class MPointingDevCalc : public MTask
|
---|
16 | {
|
---|
17 | private:
|
---|
18 | MReportStarguider *fReport; //! MReportStarguider to get mispointing
|
---|
19 | MPointingDev *fDeviation; //! Output container to store pointing deviation
|
---|
20 |
|
---|
21 | UShort_t fRunType; //! Run Type to decide where to get pointing position from
|
---|
22 |
|
---|
23 | Double_t fNsbSum; //! Sum of Nsb from Starguider
|
---|
24 | Double_t fNsbSq; //! Sum of Sq of Nsb from Starguider
|
---|
25 | Int_t fNsbCount; //! Counter of Nsb entries from Starguider
|
---|
26 |
|
---|
27 | TArrayI fSkip; //! Counter for execution statistics
|
---|
28 |
|
---|
29 | // MPointingDevCalc
|
---|
30 | Int_t ProcessStarguiderReport();
|
---|
31 |
|
---|
32 | // MTask
|
---|
33 | Bool_t ReInit(MParList *plist);
|
---|
34 | Int_t PreProcess(MParList *plist);
|
---|
35 | Int_t Process();
|
---|
36 | Int_t PostProcess();
|
---|
37 |
|
---|
38 | public:
|
---|
39 | MPointingDevCalc() : fReport(0), fDeviation(0), fSkip(5)
|
---|
40 | {
|
---|
41 | fName = "MPointingDevCalc";
|
---|
42 | fTitle = "Task calculating the pointing deviation";
|
---|
43 | }
|
---|
44 |
|
---|
45 | ClassDef(MPointingDevCalc, 0) //Task calculating the pointing deviation
|
---|
46 | };
|
---|
47 |
|
---|
48 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.