source: trunk/MagicSoft/Cosy/catalog/Slalib.h@ 5778

Last change on this file since 5778 was 3897, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 646 bytes
Line 
1#ifndef SLALIB_H
2#define SLALIB_H
3
4#include <TROOT.h>
5
6#include "coord.h"
7#include "MTime.h"
8#include "MObservatory.h"
9
10class Slalib : public MObservatory
11{
12private:
13 MTime fTime;
14
15 double fAlpha;
16
17 static Double_t Round(Double_t val);
18 static Double_t Trunc(Double_t val);
19
20public:
21 Slalib(MObservatory::LocationName_t key);
22
23 virtual void SetMjd(double mjd);
24 Double_t GetMjd() const { return fTime.GetMjd(); }
25 void Now(double offset=0);
26 const MTime &GetTime() const { return fTime; }
27
28 double GetAlpha() const { return fAlpha; }
29
30 ZdAz XYZ2ZdAz(double coord[3]) const;
31
32 ClassDef(Slalib, 0)
33};
34
35#endif
Note: See TracBrowser for help on using the repository browser.