Changeset 5151 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
09/30/04 14:58:05 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc

    r5137 r5151  
    11041104 
    11051105  const Float_t lowerlimit = (Float_t)first + fTimeLowerLimit;
    1106   const Float_t upperlimit = (Float_t)last  + fTimeUpperLimit; 
     1106  const Float_t upperlimit = (Float_t)last  - fTimeUpperLimit; 
    11071107
    11081108  if ( mean < lowerlimit)
    11091109    {
    11101110      *fLog << warn << GetDescriptor()
    1111             << Form("%s%3.1f%s%2.1f%s%4i",": Mean ArrivalTime: ",mean," smaller than ",fTimeLowerLimit,
     1111            << Form("%s%3.1f%s%2.1f%s%s",": Mean ArrivalTime: ",mean," smaller than ",fTimeLowerLimit,
    11121112                    " FADC slices from lower edge in pixel ",hist.GetName()) << endl;
    11131113      bad.SetUncalibrated( MBadPixelsPix::kMeanTimeInFirstBin );
     
    11171117    {
    11181118      *fLog << warn << GetDescriptor()
    1119             << Form("%s%3.1f%s%2.1f%s%4i",": Mean ArrivalTime: ",mean," greater than ",fTimeUpperLimit,
     1119            << Form("%s%3.1f%s%2.1f%s%s",": Mean ArrivalTime: ",mean," greater than ",fTimeUpperLimit,
    11201120                    " FADC slices from upper edge in pixel ",hist.GetName()) << endl;
    11211121      bad.SetUncalibrated( MBadPixelsPix::kMeanTimeInLast2Bins );
Note: See TracChangeset for help on using the changeset viewer.