Ignore:
Timestamp:
08/17/06 20:40:37 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc

    r7844 r7883  
    270270      if (pixel.HasLoGain() && (fMaxBinContent > fLoGainSwitch /*|| sathi>0*/) )
    271271      {
    272           deltasumlo  = 0; // make logain of MExtractedSignalPix valid
    273           deltatimelo = 0; // make logain of MArrivalTimePix valid
    274 
    275272          fLoGainFirstSave = fLoGainFirst;
    276273
     
    281278          const Float_t pos = sathi==0 ? timehi : (int)(sathi)-3;
    282279
    283           if (pos>-fLoGainStartShift)
     280          if (pos+fLoGainStartShift>0)
    284281              fLoGainFirst = (Byte_t)(pos + fLoGainStartShift);
    285282
     
    289286          if (fLoGainFirst <= fLoGainLast-fWindowSizeLoGain)
    290287          {
     288              deltasumlo  = 0; // make logain of MExtractedSignalPix valid
     289              deltatimelo = 0; // make logain of MArrivalTimePix valid
     290
    291291              const Bool_t logainabflag = (higainabflag + pixel.GetNumHiGainSamples()) & 0x1;
    292292              FindTimeAndChargeLoGain(pixel.GetLoGainSamples()+fLoGainFirst,
Note: See TracChangeset for help on using the changeset viewer.