source: branches/Mars_use_drstimefiles/mreport/MReportDrive.h@ 18225

Last change on this file since 18225 was 14935, checked in by tbretz, 12 years ago
Add changes necessary to remove fits completely from namespace std in MARS.
File size: 1.6 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 Bool_t SetupReadingFits(fits &fits);
26 Int_t InterpreteFits(const fits &fits);
27 Int_t InterpreteBody(TString &str, Int_t ver);
28
29public:
30 MReportDrive();
31
32 Double_t GetMjd() const { return fMjd; }
33
34 Double_t GetRa() const { return fRa; }
35 Double_t GetDec() const { return fDec; }
36 Double_t GetHa() const { return fHa; }
37
38 Double_t GetNominalZd() const { return fNominalZd; }
39 Double_t GetNominalAz() const { return fNominalAz; }
40 Double_t GetCurrentZd() const { return fCurrentZd; }
41 Double_t GetCurrentAz() const { return fCurrentAz; }
42
43 Double_t GetErrorZd() const { return fErrorZd; }
44 Double_t GetErrorAz() const { return fErrorAz; }
45
46 Double_t GetAbsError() const;
47
48 void Print(Option_t *o="") const;
49
50 ClassDef(MReportDrive, 1) // Class for DRIVE-REPORT information
51};
52
53#endif
Note: See TracBrowser for help on using the repository browser.