Changeset 9156 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 11/12/08 13:55:31 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MTime.cc
r9027 r9156 179 179 // -------------------------------------------------------------------------- 180 180 // 181 // Set the time corresponding to the moon period. 182 // 183 // see MTime::GetMoonPeriod and MAstro::GetMoonPeriod 184 // 185 void MTime::SetMoonPeriod(Double_t p) 186 { 187 SetMjd(MAstro::GetMoonPeriodMjd(p)); 188 } 189 190 // -------------------------------------------------------------------------- 191 // 181 192 // To get the moon period as defined for MAGIC observation we take the 182 193 // nearest integer mjd, eg: … … 208 219 } 209 220 221 // -------------------------------------------------------------------------- 222 // 223 // Set the start time (noon) of a MAGIC period 224 // 225 // see MTime::GetMagicPeriod and MAstro::GetMagicPeriod 226 // 227 void MTime::SetMagicPeriodStart(Int_t p) 228 { 229 SetMjd(MAstro::GetMagicPeriodStart(p)); 230 } 210 231 211 232 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mbase/MTime.h
r8996 r9156 104 104 void SetMjd(Double_t m); 105 105 void SetAxisTime(Double_t time); 106 void SetMoonPeriod(Double_t p); 107 void SetMagicPeriodStart(Int_t p); 106 108 void SetUnixTime(Long64_t sec, ULong64_t usec=0); 107 109 void SetEaster(Short_t year=0);
Note:
See TracChangeset
for help on using the changeset viewer.