Ignore:
Timestamp:
11/02/06 09:00:59 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r8148 r8203  
    12571257                                      MBadPixelsPix::UncalibratedType_t osctyp)
    12581258{
    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;
    12641262      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
    12661275  //
    12671276  // 2) Fit the Hi Gain histograms with a Gaussian
     
    13501359{
    13511360
    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;
    13561364      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
    13581377  //
    13591378  // 2) Fit the Hi Gain histograms with a Gaussian
Note: See TracChangeset for help on using the changeset viewer.