Last change
on this file since 4411 was 1681, checked in by rwagner, 22 years ago |
Preliminary version of classes for the Visibility Plotter. You need
slalib installed in Mars/..
Makefile therefore is currently not included in central MARS Makefile.
|
File size:
806 bytes
|
Line | |
---|
1 | #ifndef MARS_MVPTime
|
---|
2 | #define MARS_MVPTime
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MVPTime : public MParContainer
|
---|
9 | {
|
---|
10 | private:
|
---|
11 | Double_t fUT1;
|
---|
12 | Int_t fYear;
|
---|
13 | Int_t fMonth;
|
---|
14 | Int_t fDay;
|
---|
15 | Double_t MVPTime::CalendarToUT1(UInt_t yr, UInt_t mo, UInt_t dy, UInt_t hr, UInt_t mi, UInt_t se);
|
---|
16 |
|
---|
17 | public:
|
---|
18 | MVPTime(const char *name=NULL, const char *title=NULL);
|
---|
19 | ~MVPTime();
|
---|
20 |
|
---|
21 | void SetTime(UInt_t yr, UInt_t mo, UInt_t dy, UInt_t hr, UInt_t mi, UInt_t se);
|
---|
22 | void SetMJD(Double_t mjd, Double_t fracMjd = 0);
|
---|
23 | inline Double_t GetMJD() { return fUT1; }
|
---|
24 |
|
---|
25 | void Print(Option_t *) const;
|
---|
26 |
|
---|
27 | Double_t MJDStartOfYear(UInt_t year);
|
---|
28 | Double_t GetYear() { return fYear; }
|
---|
29 | Double_t GetMonth() { return fMonth; }
|
---|
30 | Double_t GetDay() { return fDay; }
|
---|
31 |
|
---|
32 | ClassDef(MVPTime, 1)
|
---|
33 |
|
---|
34 | };
|
---|
35 |
|
---|
36 | #endif
|
---|
37 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.