Changeset 7288 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 08/17/05 17:36:32 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mhcalib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc
r7188 r7288 1261 1261 { 1262 1262 *fLog << warn << GetDescriptor() 1263 << ": Only over flowor underflow in hi-gain pixel: " << pix.GetPixId() << endl;1263 << ": Only over- or underflow in hi-gain pixel: " << pix.GetPixId() << endl; 1264 1264 return; 1265 1265 } … … 1353 1353 { 1354 1354 *fLog << warn << GetDescriptor() 1355 << ": Only over flowor underflow in lo-gain pixel: " << pix.GetPixId() << endl;1355 << ": Only over- or underflow in lo-gain pixel: " << pix.GetPixId() << endl; 1356 1356 return; 1357 1357 } -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc
r7188 r7288 1119 1119 Byte_t first, Byte_t last) 1120 1120 { 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 ); 1145 1146 } 1146 1147 } -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc
r7189 r7288 555 555 if (hist.IsEmpty() || hist.IsOnlyOverflow() || hist.IsOnlyUnderflow()) 556 556 { 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; 559 558 return; 560 559 }
Note:
See TracChangeset
for help on using the changeset viewer.