source: trunk/MagicSoft/Mars/mreport/MReportStarguider.h@ 7669

Last change on this file since 7669 was 7202, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 1.9 KB
Line 
1#ifndef MARS_MReportStarguider
2#define MARS_MReportStarguider
3
4#ifndef MARS_MReport
5#include "MReport.h"
6#endif
7
8#ifndef ROOT_TVector2
9#include <TVector2.h>
10#endif
11
12class MReportStarguider : public MReport
13{
14private:
15 Double_t fDevAz; // [arcmin] azimuth mispointing
16 Double_t fDevZd; // [arcmin] zenith mispointing
17
18 Double_t fNominalZd; // [deg] Nominal zenith distance
19 Double_t fNominalAz; // [deg] Nominal azimuth
20
21 Float_t fCameraCenterX; // [CCD pix] PMT Camera center found
22 Float_t fCameraCenterY; // [CCD pix] PMT Camera center found
23
24 UInt_t fNumIdentifiedStars; // Number of stars identified by starguider algorithm
25
26 Double_t fSkyBrightness; // [au] Sky Brightness as calcualted from the CCD image
27 Double_t fMjd; // Modified Julian Date matching the nominal position
28
29 Int_t InterpreteBody(TString &str, Int_t ver);
30
31public:
32 MReportStarguider();
33
34 Double_t GetDevAz() const { return fDevAz; }
35 Double_t GetDevZd() const { return fDevZd; }
36 Double_t GetDevAbs() const;
37 TVector2 GetDev() const { return TVector2(fDevZd, fDevAz); }
38
39 Double_t GetNominalZd() const { return fNominalZd; }
40 Double_t GetNominalAz() const { return fNominalAz; }
41 TVector2 GetNominalPos() const { return TVector2(fNominalZd, fNominalAz); }
42
43 Float_t GetCameraCenterX() const { return fCameraCenterX; }
44 Float_t GetCameraCenterY() const { return fCameraCenterY; }
45 TVector2 GetCameraCenter() const { return TVector2(fCameraCenterX, fCameraCenterY); }
46
47 UInt_t GetNumIdentifiedStars() const { return fNumIdentifiedStars; }
48
49 Double_t GetSkyBrightness() const { return fSkyBrightness; }
50 Double_t GetMjd() const { return fMjd; }
51
52 void Print(Option_t *o="") const;
53
54 ClassDef(MReportStarguider, 2) // Class for STARG-REPORT information
55};
56
57#endif
Note: See TracBrowser for help on using the repository browser.