Ignore:
Timestamp:
12/05/03 11:34:19 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mreport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mreport/MReport.cc

    r2591 r2604  
    5656{
    5757    int len, state;
    58     int hor, min, sec, ms;
     58    int yea, mon, day, hor, min, sec, ms;
    5959
    6060    int n = sscanf(str.Data(),
    6161                   fHasReportTime ?
    62                    " %d %*d %*d %*d %d %d %d %d "
     62                   " %d %d %d %d %d %d %d %d "
    6363                   "%*d %*d %*d %*d %*d %*d %*d %*d %n" :
    6464                   " %d %*d %*d %*d %d %d %d %d ",
    65                    &state, &hor, &min, &sec, &ms, &len);
    66     if (n!=5)
     65                   &state, &yea, &mon, &day, &hor, &min, &sec, &ms, &len);
     66    if (n!=8)
    6767    {
    6868        *fLog << err << "ERROR - Cannot interprete Body of " << fIdentifier << endl;
     
    7272    fState=state;
    7373    if (fTime)
    74         fTime->SetTime(hor, min, sec, ms*1000000);
     74        if (!fTime->Set(yea, mon, day, hor, min, sec, ms))
     75        {
     76            *fLog << err << "ERROR - Event has invalid time: ";
     77            *fLog << Form("%d.%d.%d %02s:%02d:%02d.%03d", day, mon, yea, hor, min, sec, ms);
     78            *fLog << "... abort." << endl;
     79            return kFALSE;
     80        }
    7581
    7682    str.Remove(0, len);
  • trunk/MagicSoft/Mars/mreport/MReportCamera.h

    r2592 r2604  
    1919    Byte_t fStatusDC; // CaCo monitored status of the DC currents (0-9), Cam.DC_state
    2020
    21     MCameraCooling     *fCooling;
    22     MCameraLids        *fLids;
    23     MCameraAUX         *fAUX;
    24     MCameraHV          *fHV;
    25     MCameraLV          *fLV;
    26     MCameraCalibration *fCalibration;
     21    MCameraCooling     *fCooling;     //!
     22    MCameraLids        *fLids;        //!
     23    MCameraAUX         *fAUX;         //!
     24    MCameraHV          *fHV;          //!
     25    MCameraLV          *fLV;          //!
     26    MCameraCalibration *fCalibration; //!
    2727
    2828    Bool_t SetupReading(MParList &plist);
Note: See TracChangeset for help on using the changeset viewer.