Changeset 2350 for trunk


Ignore:
Timestamp:
09/17/03 16:28:51 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2347 r2350  
    11                                                 -*-*- END OF LINE -*-*-
     2
     3 2003/09/17: Abelardo Moralejo
     4
     5   * manalysis MCerPhotCalc.cc:
     6     - in warning about saturating low gains in pixels: changed the
     7       'if' by a 'switch' and slightly corrected text of warning (no
     8       change in performance or results).
    29
    310 2003/09/16: Abelardo Moralejo
  • trunk/MagicSoft/Mars/manalysis/MCerPhotCalc.cc

    r2347 r2350  
    270270    }
    271271
    272     if (SaturatedPixels > 0)
    273       *fLog << warn << "WARNING " << SaturatedPixels << "pixels had saturating low gains..." << endl;
     272    switch(SaturatedPixels)
     273      {
     274      case 0:
     275        break;
     276      case 1:
     277        *fLog << warn << "WARNING: 1 pixel had saturating low gains..." << endl;
     278        break;
     279      default:
     280        *fLog << warn << "WARNING: " << SaturatedPixels << " pixels had saturating low gains..." << endl;
     281        break;
     282      }
     283
    274284
    275285    fCerPhotEvt->FixSize();
Note: See TracChangeset for help on using the changeset viewer.