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

Last change on this file since 7729 was 7726, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 2.1 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 UInt_t fNumCorrelatedStars; // Number of correlated stars identified by starguider algorithm
26
27 Double_t fSkyBrightness; // [au] Sky Brightness as calcualted from the CCD image
28 Double_t fMjd; // Modified Julian Date matching the nominal position
29
30 Int_t InterpreteBody(TString &str, Int_t ver);
31
32public:
33 MReportStarguider();
34
35 void Clear(Option_t *o="");
36
37 Double_t GetDevAz() const { return fDevAz; }
38 Double_t GetDevZd() const { return fDevZd; }
39 Double_t GetDevAbs() const;
40 TVector2 GetDev() const { return TVector2(fDevZd, fDevAz); }
41
42 Double_t GetNominalZd() const { return fNominalZd; }
43 Double_t GetNominalAz() const { return fNominalAz; }
44 TVector2 GetNominalPos() const { return TVector2(fNominalZd, fNominalAz); }
45
46 Float_t GetCameraCenterX() const { return fCameraCenterX; }
47 Float_t GetCameraCenterY() const { return fCameraCenterY; }
48 TVector2 GetCameraCenter() const { return TVector2(fCameraCenterX, fCameraCenterY); }
49
50 UInt_t GetNumIdentifiedStars() const { return fNumIdentifiedStars; }
51 UInt_t GetNumCorrelatedStars() const { return fNumCorrelatedStars; }
52
53 Double_t GetSkyBrightness() const { return fSkyBrightness; }
54 Double_t GetMjd() const { return fMjd; }
55
56 void Print(Option_t *o="") const;
57
58 ClassDef(MReportStarguider, 3) // Class for STARG-REPORT information
59};
60
61#endif
Note: See TracBrowser for help on using the repository browser.