Ignore:
Timestamp:
02/26/10 09:17:14 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/main/MTracking.cc

    r9558 r9559  
    227227    if (fTrackType==(kEMoon|0x100))
    228228    {
     229        // FIXME: Read file only once!
    229230        MMoonPointing moon("MoonShadowOffsets.root");
    230231        if (moon.IsZombie())
    231232        {
    232             gLog << warn << "WARNING - Calculation of moon shadow failed." << endl;
    233             return;
     233            gLog << err << "ERROR - Could not initialize MMoonPointing." << endl;
     234            return kFALSE;
    234235        }
    235236
     
    241242        const ZdAz za = sla.GetZdAzRad();
    242243        if (!moon.CalcPosition(za, srcpos, pointpos))
     244        {
     245            gLog << err << "ERROR - Calculation of moon shadow pointing position failed." << endl;
    243246            return kFALSE;
     247        }
    244248
    245249        sla.Set(pointpos);
  • trunk/MagicSoft/Cosy/main/MTracking.h

    r9553 r9559  
    3333    MLog   *fOut;
    3434
    35     void UpdateSlalib(SlaPlanets &sla);
    36     void UpdateSlalib(Double_t dt=0);
    37     void UpdateSlalib(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);
    3838
    3939    bool SetVelocity(const ZdAz &v);
Note: See TracChangeset for help on using the changeset viewer.