#ifndef MARS_MPointingPositionCalc #define MARS_MPointingPositionCalc #ifndef MARS_MTask #include "MTask.h" #endif #ifndef ROOT_TArrayI #include #endif class MPointingDev; class MReportStarguider; class MPointingDevCalc : public MTask { private: MReportStarguider *fReport; //! MReportStarguider to get mispointing MPointingDev *fDeviation; //! Output container to store pointing deviation UShort_t fRunType; //! Run Type to decide where to get pointing position from Double_t fNsbSum; //! Sum of Nsb from Starguider Double_t fNsbSq; //! Sum of Sq of Nsb from Starguider Int_t fNsbCount; //! Counter of Nsb entries from Starguider TArrayI fSkip; //! Counter for execution statistics // MPointingDevCalc Int_t ProcessStarguiderReport(); // MTask Bool_t ReInit(MParList *plist); Int_t PreProcess(MParList *plist); Int_t Process(); Int_t PostProcess(); public: MPointingDevCalc() : fReport(0), fDeviation(0), fSkip(5) { fName = "MPointingDevCalc"; fTitle = "Task calculating the pointing deviation"; } ClassDef(MPointingDevCalc, 0) //Task calculating the pointing deviation }; #endif