source: trunk/Cosy/catalog/Slalib.h@ 18213

Last change on this file since 18213 was 9439, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 645 bytes
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
12class ZdAz;
13
14class Slalib : public MObservatory
15{
16private:
17 MTime fTime;
18
19 double fAlpha;
20
21 static Double_t Trunc(Double_t val);
22
23public:
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.