| Line | |
|---|
| 1 | #ifndef MARS_MPointingPos
|
|---|
| 2 | #define MARS_MPointingPos
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MParContainer
|
|---|
| 5 | #include "MParContainer.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MPointingPos : public MParContainer
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | Double_t fZd; // [deg] Zenith distance (ZA)
|
|---|
| 12 | Double_t fAz; // [deg] Azimuth
|
|---|
| 13 |
|
|---|
| 14 | Double_t fRa; // [deg] Right ascension
|
|---|
| 15 | Double_t fHa; // [deg] Houre angle
|
|---|
| 16 | Double_t fDec; // [deg] Declination
|
|---|
| 17 |
|
|---|
| 18 | public:
|
|---|
| 19 | MPointingPos()
|
|---|
| 20 | {
|
|---|
| 21 | fName = "MPointingPos";
|
|---|
| 22 | fTitle = "Container storing the (corrected) telescope pointing position";
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | void SetLocalPosition(Double_t zd, Double_t az) { fZd=zd; fAz=az; }
|
|---|
| 26 | void SetSkyPosition(Double_t ra, Double_t dec, Double_t ha=0) { fRa=ra; fDec=dec; fHa=ha; }
|
|---|
| 27 |
|
|---|
| 28 | Double_t GetZd() const { return fZd; }
|
|---|
| 29 | Double_t GetAz() const { return fAz; }
|
|---|
| 30 |
|
|---|
| 31 | ClassDef(MPointingPos, 1) //Container storing the (corrected) telescope pointing position
|
|---|
| 32 | };
|
|---|
| 33 |
|
|---|
| 34 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.