Changeset 3949
- Timestamp:
- 05/03/04 18:08:07 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
- 
      - 2 edited
 
 - 
          
  Changelog (modified) (1 diff)
- 
          
  mraw/MRawEvtPixelIter.cc (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/MagicSoft/Mars/Changelogr3945 r3949 37 37 38 38 2004/05/03: Markus Gaug 39 40 * mraw/MRawEvtPixelIter.cc 41 - corrected bug in GetIdxMaxLoGainSamples() which looped over 42 one slice too much 43 end = fLoGainPos + fNumLoGainSamples + 1 replaced by: 44 end = fLoGainPos + fNumLoGainSamples 39 45 40 46 * msignal/MTimeExtractor.[h,cc] 
- 
      trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.ccr3537 r3949 239 239 return -1; // means: not found 240 240 241 Byte_t *ptr = fLoGainPos+lofirst+1; 241 242 Byte_t *max = fLoGainPos+lofirst; 242 Byte_t *ptr = max+1; 243 244 const Byte_t *end = fLoGainPos + fNumLoGainSamples + 1; 245 243 const Byte_t *end = fLoGainPos + fNumLoGainSamples; 244 246 245 do if (*ptr>*max) max = ptr; 247 246 while (++ptr != end); 248 247 248 gLog << count << endl; 249 249 250 return max-fLoGainPos; 250 251 } … … 293 294 Byte_t MRawEvtPixelIter::GetMaxLoGainSample() const 294 295 { 296 295 297 Byte_t max = 0; 296 298 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
