Changeset 7883 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 08/17/06 20:40:37 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
r7844 r7883 270 270 if (pixel.HasLoGain() && (fMaxBinContent > fLoGainSwitch /*|| sathi>0*/) ) 271 271 { 272 deltasumlo = 0; // make logain of MExtractedSignalPix valid273 deltatimelo = 0; // make logain of MArrivalTimePix valid274 275 272 fLoGainFirstSave = fLoGainFirst; 276 273 … … 281 278 const Float_t pos = sathi==0 ? timehi : (int)(sathi)-3; 282 279 283 if (pos >-fLoGainStartShift)280 if (pos+fLoGainStartShift>0) 284 281 fLoGainFirst = (Byte_t)(pos + fLoGainStartShift); 285 282 … … 289 286 if (fLoGainFirst <= fLoGainLast-fWindowSizeLoGain) 290 287 { 288 deltasumlo = 0; // make logain of MExtractedSignalPix valid 289 deltatimelo = 0; // make logain of MArrivalTimePix valid 290 291 291 const Bool_t logainabflag = (higainabflag + pixel.GetNumHiGainSamples()) & 0x1; 292 292 FindTimeAndChargeLoGain(pixel.GetLoGainSamples()+fLoGainFirst,
Note:
See TracChangeset
for help on using the changeset viewer.