Changeset 7389 for trunk/MagicSoft/Mars/mpointing/MPointingPos.cc
- Timestamp:
- 11/10/05 10:12:01 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpointing/MPointingPos.cc
r7217 r7389 42 42 #include "MPointingPos.h" 43 43 44 #include "MLog.h" 45 44 46 #include "MTime.h" 47 #include "MAstro.h" 45 48 #include "MObservatory.h" 46 49 #include "MPointingDev.h" … … 78 81 MAstroSky2Local(t, o).RotationAngle(GetRaRad(), GetDecRad()); 79 82 } 83 84 void MPointingPos::Print(Option_t *o) const 85 { 86 TString opt(o); 87 88 if (opt.IsNull()) 89 opt = "radeczdaz"; 90 91 *fLog << GetDescriptor() << ": "; 92 93 if (opt.Contains("ra", TString::kIgnoreCase)) 94 *fLog << " Ra=" << MAstro::GetStringHor(fRa); 95 if (opt.Contains("ha", TString::kIgnoreCase)) 96 *fLog << " Ha=" << MAstro::GetStringHor(fHa); 97 if (opt.Contains("dec", TString::kIgnoreCase)) 98 *fLog << " Dec=" << MAstro::GetStringDeg(fDec); 99 if (opt.Contains("zd", TString::kIgnoreCase)) 100 *fLog << " Zd=" << MAstro::GetStringDeg(fZd); 101 if (opt.Contains("az", TString::kIgnoreCase)) 102 *fLog << " Az=" << MAstro::GetStringDeg(fAz); 103 *fLog << endl; 104 }
Note:
See TracChangeset
for help on using the changeset viewer.