Changeset 18154 for trunk


Ignore:
Timestamp:
02/18/15 16:27:05 (10 years ago)
Author:
tbretz
Message:
Since the drs calibration is sorted in hw indices, the delays are better sorted in hw indices as well.
Location:
trunk/Mars/mdrs
Files:
2 edited

Legend:

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

    r17759 r18154  
    154154        const Float_t signal = (*fSignals)[sw].GetArrivalTime();
    155155        const Float_t offset = fCalib ? fCalib->GetOffset(hw, start[hw], signal) : 0;
    156         const Float_t delay  = fCalib ? fCalib->GetDelay(sw) : 0;
     156        const Float_t delay  = fCalib ? fCalib->GetDelay(hw) : 0;
    157157
    158158        //if (fIsTimeMarker)
  • trunk/Mars/mdrs/MDrsCalibrationTime.h

    r18151 r18154  
    4444    }
    4545
    46     double GetDelay(int sw) const
     46    double GetDelay(int hw) const
    4747    {
    48         return fDelays.size()==0 ? 0 : fDelays[sw];
     48        return fDelays.size()==0 ? 0 : fDelays[hw];
    4949    }
    5050
Note: See TracChangeset for help on using the changeset viewer.