source: trunk/MagicSoft/Mars/mreport/MReportDrive.h@ 7073

Last change on this file since 7073 was 4840, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.5 KB
Line 
1#ifndef MARS_MReportDrive
2#define MARS_MReportDrive
3
4#ifndef MARS_MReport
5#include "MReport.h"
6#endif
7
8class MReportDrive : public MReport
9{
10private:
11 Double_t fMjd; // Modified Julian Date send by the drive system
12
13 Double_t fRa; // [h] Right ascension
14 Double_t fDec; // [deg] Declination
15 Double_t fHa; // [h] Hour angle
16
17 Double_t fNominalZd; // [deg] Nominal zenith distance
18 Double_t fNominalAz; // [deg] Nominal azimuth
19 Double_t fCurrentZd; // [deg] current zenith distance
20 Double_t fCurrentAz; // [deg] current azimuth
21
22 Double_t fErrorZd; // [deg] system error in the zenith angle axis
23 Double_t fErrorAz; // [deg] sistem error in the azimuth angle axis
24
25 Int_t InterpreteBody(TString &str, Int_t ver);
26
27public:
28 MReportDrive();
29
30 Double_t GetMjd() const { return fMjd; }
31
32 Double_t GetRa() const { return fRa; }
33 Double_t GetDec() const { return fDec; }
34 Double_t GetHa() const { return fHa; }
35
36 Double_t GetNominalZd() const { return fNominalZd; }
37 Double_t GetNominalAz() const { return fNominalAz; }
38 Double_t GetCurrentZd() const { return fCurrentZd; }
39 Double_t GetCurrentAz() const { return fCurrentAz; }
40
41 Double_t GetErrorZd() const { return fErrorZd; }
42 Double_t GetErrorAz() const { return fErrorAz; }
43
44 Double_t GetAbsError() const;
45
46 void Print(Option_t *o="") const;
47
48 ClassDef(MReportDrive, 1) // Class for DRIVE-REPORT information
49};
50
51#endif
Note: See TracBrowser for help on using the repository browser.