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 Round(Double_t val);
|
---|
22 | static Double_t Trunc(Double_t val);
|
---|
23 |
|
---|
24 | public:
|
---|
25 | Slalib(MObservatory::LocationName_t key);
|
---|
26 |
|
---|
27 | virtual void SetMjd(double mjd);
|
---|
28 | Double_t GetMjd() const { return fTime.GetMjd(); }
|
---|
29 | void Now(double offset=0);
|
---|
30 | const MTime &GetTime() const { return fTime; }
|
---|
31 |
|
---|
32 | double GetAlpha() const { return fAlpha; }
|
---|
33 |
|
---|
34 | ZdAz XYZ2ZdAz(double coord[3]) const;
|
---|
35 |
|
---|
36 | ClassDef(Slalib, 0)
|
---|
37 | };
|
---|
38 |
|
---|
39 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.