Ignore:
Timestamp:
08/17/05 17:36:32 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhcalib
Files:
3 edited

Legend:

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

    r7188 r7288  
    12611261    {
    12621262      *fLog << warn << GetDescriptor()
    1263             << ": Only overflow or underflow in hi-gain pixel: " << pix.GetPixId() << endl;
     1263            << ": Only over- or underflow in hi-gain pixel: " << pix.GetPixId() << endl;
    12641264      return;
    12651265    } 
     
    13531353    {
    13541354      *fLog << warn << GetDescriptor()
    1355             << ": Only overflow or underflow in lo-gain pixel: " << pix.GetPixId() << endl;
     1355            << ": Only over- or underflow in lo-gain pixel: " << pix.GetPixId() << endl;
    13561356      return;
    13571357    } 
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc

    r7188 r7288  
    11191119                                              Byte_t first, Byte_t last)
    11201120{
    1121  
    1122   const Float_t mean = hist.GetAbsTimeMean();
    1123   const Float_t rms  = hist.GetAbsTimeRms();
    1124 
    1125   pix.SetAbsTimeMean ( mean );
    1126   pix.SetAbsTimeRms  ( rms  );
    1127  
    1128   const Float_t lowerlimit = (Float_t)first + fTimeLowerLimit;
    1129   const Float_t upperlimit = (Float_t)last  - fTimeUpperLimit; 
    1130 
    1131   if ( mean < lowerlimit)
    1132     {
    1133       *fLog << warn
    1134             << Form("Mean ArrivalTime: %3.1f < %2.1f slices from lower edge: %2i in pixel %s",
    1135                     mean,fTimeLowerLimit,(Int_t)first,hist.GetName()) << endl;
    1136       bad.SetUncalibrated( MBadPixelsPix::kMeanTimeInFirstBin );
    1137     }
    1138  
    1139   if ( mean  > upperlimit )
    1140     {
    1141       *fLog << warn
    1142             << Form("Mean ArrivalTime: %3.1f > %2.1f slices from upper edge: %2i in pixel %s",
    1143                     mean,fTimeUpperLimit,(Int_t)last,hist.GetName()) << endl;
    1144       bad.SetUncalibrated( MBadPixelsPix::kMeanTimeInLast2Bins );
     1121    const Float_t mean = hist.GetAbsTimeMean();
     1122    const Float_t rms  = hist.GetAbsTimeRms();
     1123
     1124    pix.SetAbsTimeMean(mean);
     1125    pix.SetAbsTimeRms(rms);
     1126
     1127    const Float_t lowerlimit = (Float_t)first + fTimeLowerLimit;
     1128    const Float_t upperlimit = (Float_t)last  - fTimeUpperLimit;
     1129
     1130    if (mean<lowerlimit)
     1131    {
     1132        *fLog << warn << "Mean Arr.Time: "
     1133            << Form("%4.1f < %4.1f, %3.1f", mean, TMath::Floor(first)+fTimeLowerLimit, fTimeLowerLimit)
     1134            << " slices below " << Form("%2i", (Int_t)first) << " in "
     1135            << hist.GetName() << endl;
     1136        bad.SetUncalibrated( MBadPixelsPix::kMeanTimeInFirstBin );
     1137    }
     1138
     1139    if (mean>upperlimit)
     1140    {
     1141        *fLog << warn << "Mean Arr.Time: "
     1142            << Form("%4.1f > %4.1f, %3.1f", mean, TMath::Floor(last)-fTimeUpperLimit, fTimeUpperLimit)
     1143            << " slices above " << Form("%2i", (Int_t)last) << " in "
     1144            << hist.GetName() << endl;
     1145        bad.SetUncalibrated( MBadPixelsPix::kMeanTimeInLast2Bins );
    11451146    }
    11461147}
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc

    r7189 r7288  
    555555  if (hist.IsEmpty() || hist.IsOnlyOverflow() || hist.IsOnlyUnderflow())
    556556    {
    557       *fLog << warn << GetDescriptor()
    558             << ": Only overflow or underflow in hi-gain pixel: " << hist.GetName() << endl;
     557      *fLog << warn << GetDescriptor() << ": Only over- or underflow in " << hist.GetName() << endl;
    559558      return;
    560559    } 
Note: See TracChangeset for help on using the changeset viewer.