Changeset 8203 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 11/02/06 09:00:59 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc
r8148 r8203 1257 1257 MBadPixelsPix::UncalibratedType_t osctyp) 1258 1258 { 1259 1260 if (hist.IsEmpty() || hist.IsOnlyOverflow() || hist.IsOnlyUnderflow()) 1261 { 1262 *fLog << warn << "Pixel " << setw(4) << pix.GetPixId() 1263 << ": Only over- or underflow in hi-gain." << endl; 1259 if (hist.IsEmpty()) 1260 { 1261 *fLog << warn << "Pixel " << setw(4) << pix.GetPixId() << ": Hi-Gain histogram empty." << endl; 1264 1262 return; 1265 } 1263 } 1264 if (hist.IsOnlyOverflow()) 1265 { 1266 *fLog << warn << "Pixel " << setw(4) << pix.GetPixId() << ": Hi-Gain histogram contains only overflows." << endl; 1267 return; 1268 } 1269 if (hist.IsOnlyUnderflow()) 1270 { 1271 *fLog << warn << "Pixel " << setw(4) << pix.GetPixId() << ": Hi-Gain histogram contains only underflows." << endl; 1272 return; 1273 } 1274 1266 1275 // 1267 1276 // 2) Fit the Hi Gain histograms with a Gaussian … … 1350 1359 { 1351 1360 1352 if (hist.IsEmpty() || hist.IsOnlyOverflow() || hist.IsOnlyUnderflow()) 1353 { 1354 *fLog << warn << "Pixel " << setw(4) << pix.GetPixId() 1355 << ": Only over- or underflow in lo-gain." << endl; 1361 if (hist.IsEmpty()) 1362 { 1363 // *fLog << warn << "Pixel " << setw(4) << pix.GetPixId() << ": Lo-Gain histogram empty." << endl; 1356 1364 return; 1357 } 1365 } 1366 if (hist.IsOnlyOverflow()) 1367 { 1368 *fLog << warn << "Pixel " << setw(4) << pix.GetPixId() << ": Lo-Gain histogram contains only overflows." << endl; 1369 return; 1370 } 1371 if (hist.IsOnlyUnderflow()) 1372 { 1373 *fLog << warn << "Pixel " << setw(4) << pix.GetPixId() << ": Lo-Gain histogram contains only underflows." << endl; 1374 return; 1375 } 1376 1358 1377 // 1359 1378 // 2) Fit the Hi Gain histograms with a Gaussian
Note:
See TracChangeset
for help on using the changeset viewer.