Changeset 19132 for trunk/Mars/mdrs


Ignore:
Timestamp:
08/03/18 13:55:33 (6 years ago)
Author:
tbretz
Message:
Secured against a larger input (1440) than output (64) conatiner.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mdrs/MCalibrateDrsTimes.cc

    r18273 r19132  
    9595    fCalib = (MDrsCalibrationTime*)pList->FindObject("MDrsCalibrationTime");
    9696    if (!fCalib)
    97         *fLog << warn << "MDrsCalibrationTime not found... no calibratuon will be applied." << endl;
     97        *fLog << warn << "MDrsCalibrationTime not found... no calibration will be applied." << endl;
    9898
    9999    fArrivalTime = (MSignalCam*)pList->FindCreateObj(AddSerialNumber("MSignalCam"), fNameCalibrated);
     
    141141    {
    142142        const UInt_t sw = idx[hw];
     143        if (sw>=fSignals->GetSize())
     144            continue;
    143145
    144146        if (start[hw]<0)
Note: See TracChangeset for help on using the changeset viewer.