Changeset 5217 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
10/11/04 16:33:18 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r5207 r5217  
    185185      Byte_t satlo=0;
    186186     
    187       const Int_t logainflag = higainabflag + pixel.GetNumHiGainSamples();
     187      const Bool_t logainabflag = (higainabflag + pixel.GetNumHiGainSamples() + 1) & 0x1;
    188188
    189189      FindTimeAndChargeLoGain(pixel.GetLoGainSamples()+fLoGainFirst,
    190190                              sumlo, deltasumlo,
    191191                              timelo, deltatimelo,
    192                               satlo, ped, logainflag & 0x1);
     192                              satlo, ped, logainabflag);
    193193
    194194      MExtractedSignalPix &pix = (*fSignals)[pixid];
Note: See TracChangeset for help on using the changeset viewer.