Ignore:
Timestamp:
01/23/04 16:13:57 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MExtractSignal.cc

    r2878 r2893  
    153153    fSignals->Clear();
    154154
     155    UInt_t satlo=0;
     156
    155157    while (pixel.Next())
    156158    {
     
    196198        Byte_t maxlo  = 0;
    197199        Byte_t midlo  = 0;
    198        
     200
    199201        for (ptr=first;ptr<last;ptr++)
    200202          {
     
    208210            sumLo += *ptr;
    209211
    210             if (*ptr >= fSaturationLimit)
    211               satLo++;
     212            if (*ptr >= fSaturationLimit)
     213                satLo++;
    212214          }
    213215
    214216        if (satLo)
    215           *fLog << warn << "WARNING: Saturation of Lo Gain reached in "
    216                 << satLo << " time slices in pixel " << pixid << endl;
     217            satlo++;
    217218
    218219        pix.SetExtractedSignal((Float_t)sumHi - pedes*(Float_t)fNumHiGainSamples,
     
    231232      } /* while (pixel.Next()) */
    232233
     234    if (satlo)
     235        *fLog << warn << "WARNING - Lo Gain saturated in " << satlo << " pixels." << endl;
     236
    233237
    234238    fSignals->SetReadyToSave();
Note: See TracChangeset for help on using the changeset viewer.