Line | |
---|
1 | #ifndef COSY_Slalib
|
---|
2 | #define COSY_Slalib
|
---|
3 |
|
---|
4 | #ifndef MARS_MTime
|
---|
5 | #include "MTime.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef MARS_MObservatory
|
---|
9 | #include "MObservatory.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class ZdAz;
|
---|
13 |
|
---|
14 | class Slalib : public MObservatory
|
---|
15 | {
|
---|
16 | private:
|
---|
17 | MTime fTime;
|
---|
18 |
|
---|
19 | double fAlpha;
|
---|
20 |
|
---|
21 | static Double_t Trunc(Double_t val);
|
---|
22 |
|
---|
23 | public:
|
---|
24 | Slalib(MObservatory::LocationName_t key);
|
---|
25 |
|
---|
26 | virtual void SetMjd(double mjd);
|
---|
27 | Double_t GetMjd() const { return fTime.GetMjd(); }
|
---|
28 | void Now(double offset=0);
|
---|
29 | const MTime &GetTime() const { return fTime; }
|
---|
30 |
|
---|
31 | double GetAlpha() const { return fAlpha; }
|
---|
32 |
|
---|
33 | ZdAz XYZ2ZdAz(double coord[3]) const;
|
---|
34 |
|
---|
35 | ClassDef(Slalib, 0)
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.