Skip to content

Commit

Permalink
Merge pull request #24654 from pieterdavid/hybridzsfixtruncate8
Browse files Browse the repository at this point in the history
Bug fix: truncate when copying digis in hybrid zero-suppression
  • Loading branch information
cmsbuild committed Sep 25, 2018
2 parents 5617275 + a4bc48d commit 76080f5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -79,7 +79,7 @@ uint16_t SiStripRawProcessingAlgorithms::suppressHybridData(uint32_t id, uint16_
} else {
for ( uint16_t i = 0; i < 128; ++i ) {
const int16_t digi = procRawDigisPedSubtracted[128*(iAPV-firstAPV)+i];
if ( digi > 0 ) { suppressedDigis.push_back(SiStripDigi(iAPV*128+i, digi)); }
if ( digi > 0 ) { suppressedDigis.push_back(SiStripDigi(iAPV*128+i, suppressor->truncate(digi))); }
}
}
}
Expand Down

0 comments on commit 76080f5

Please sign in to comment.