Changeset 9559 for trunk/MagicSoft/Cosy/main
- Timestamp:
- 02/26/10 09:17:14 (15 years ago)
- Location:
- trunk/MagicSoft/Cosy/main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/main/MTracking.cc
r9558 r9559 227 227 if (fTrackType==(kEMoon|0x100)) 228 228 { 229 // FIXME: Read file only once! 229 230 MMoonPointing moon("MoonShadowOffsets.root"); 230 231 if (moon.IsZombie()) 231 232 { 232 gLog << warn << "WARNING - Calculation of moon shadow failed." << endl;233 return ;233 gLog << err << "ERROR - Could not initialize MMoonPointing." << endl; 234 return kFALSE; 234 235 } 235 236 … … 241 242 const ZdAz za = sla.GetZdAzRad(); 242 243 if (!moon.CalcPosition(za, srcpos, pointpos)) 244 { 245 gLog << err << "ERROR - Calculation of moon shadow pointing position failed." << endl; 243 246 return kFALSE; 247 } 244 248 245 249 sla.Set(pointpos); -
trunk/MagicSoft/Cosy/main/MTracking.h
r9553 r9559 33 33 MLog *fOut; 34 34 35 voidUpdateSlalib(SlaPlanets &sla);36 voidUpdateSlalib(Double_t dt=0);37 voidUpdateSlalib(SlaPlanets &sla, Double_t mjd);35 Bool_t UpdateSlalib(SlaPlanets &sla); 36 Bool_t UpdateSlalib(Double_t dt=0); 37 Bool_t UpdateSlalib(SlaPlanets &sla, Double_t mjd); 38 38 39 39 bool SetVelocity(const ZdAz &v);
Note:
See TracChangeset
for help on using the changeset viewer.