Changeset 7060 for trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
- Timestamp:
- 05/19/05 10:50:38 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
r6840 r7060 216 216 217 217 fLoGainFirstSave = fLoGainFirst; 218 const Byte_t logainstart = sathi 219 ? (sathi > (Int_t)(-1*fLoGainStartShift) ? sathi + (Int_t)fLoGainStartShift : fLoGainFirst) 220 : (timehi+fLoGainStartShift > 0. ? (Byte_t)(timehi + fLoGainStartShift) : fLoGainFirst); 221 fLoGainFirst = logainstart > fLoGainFirstSave ? logainstart : fLoGainFirstSave; 222 223 // *fLog << err << (Int_t)fLoGainFirst << endl; 218 219 const Float_t pos = sathi==0 ? timehi : sathi; 220 221 if (pos>-fLoGainStartShift) 222 fLoGainFirst = (Byte_t)(pos + fLoGainStartShift); 223 224 if (fLoGainFirst<fLoGainFirstSave) 225 fLoGainFirst = fLoGainFirstSave; 224 226 225 227 if ( fLoGainFirst <= fLoGainLast-fWindowSizeLoGain) … … 227 229 const Bool_t logainabflag = (higainabflag + pixel.GetNumHiGainSamples()) & 0x1; 228 230 FindTimeAndChargeLoGain(pixel.GetLoGainSamples()+fLoGainFirst, 229 sumlo, deltasumlo, 230 timelo, deltatimelo, 231 sumlo, deltasumlo, timelo, deltatimelo, 231 232 satlo, ped, logainabflag); 232 233 }
Note:
See TracChangeset
for help on using the changeset viewer.