source: branches/Mars_McMismatchStudy/mpointing/MPointingPosCalc.h@ 18066

Last change on this file since 18066 was 7553, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 981 bytes
Line 
1#ifndef MARS_MPointingPosCalc
2#define MARS_MPointingPosCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MMcEvt;
9class MReportDrive;
10class MPointingPos;
11
12class MPointingPosCalc : public MTask
13{
14private:
15 MMcEvt *fMcEvt; //! MMcEvt to get simulated poiting position from
16 MReportDrive *fReport; //! MReportDrive to get real poiting position from
17 MPointingPos *fPosition; //! Output container to store pointing position
18
19 UShort_t fRunType; //! Run Type to decide where to get pointing position from
20
21 Bool_t ReInit(MParList *plist);
22 Int_t PreProcess(MParList *plist);
23 Int_t Process();
24
25public:
26 MPointingPosCalc() : fMcEvt(0), fReport(0), fPosition(0)
27 {
28 fName = "MPointingPosCalc";
29 fTitle = "Task calculating the pointing position";
30
31 AddToBranchList("MReportDrive.*");
32 AddToBranchList("MMcEvt.*");
33 }
34
35 ClassDef(MPointingPosCalc, 0) //Task calculating the pointing position
36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.