| Line | |
|---|
| 1 | #ifndef MARS_MPointingDev
|
|---|
| 2 | #define MARS_MPointingDev
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MPointingDev : public MParContainer
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | Double_t fDevZd; // [deg] Pointing offset zenith distance as calculated from starguider data
|
|---|
| 12 | Double_t fDevAz; // [deg] Pointing offset azimuth as calculated from starguider dat
|
|---|
| 13 |
|
|---|
| 14 | public:
|
|---|
| 15 | MPointingDev(const char *name=0, const char *title=0) : fDevZd(0), fDevAz(0)
|
|---|
| 16 | {
|
|---|
| 17 | fName = name ? name : "MPointingDev";
|
|---|
| 18 | fTitle = title ? title : "Container storing the telescope mispointing";
|
|---|
| 19 | }
|
|---|
| 20 |
|
|---|
| 21 | void SetDevZdAz(Double_t devzd, Double_t devaz) { fDevZd=devzd; fDevAz=devaz; }
|
|---|
| 22 |
|
|---|
| 23 | Double_t GetDevZd() const { return fDevZd; }
|
|---|
| 24 | Double_t GetDevAz() const { return fDevAz; }
|
|---|
| 25 |
|
|---|
| 26 | Double_t GetDevZdRad() const { return fDevZd*TMath::DegToRad(); }
|
|---|
| 27 | Double_t GetDevAzRad() const { return fDevAz*TMath::DegToRad(); }
|
|---|
| 28 |
|
|---|
| 29 | ClassDef(MPointingDev, 1) //Container storing the telescope mispointing
|
|---|
| 30 | };
|
|---|
| 31 |
|
|---|
| 32 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.