Skip to content

Commit

Permalink
Fix for extremely rare CFEB data corruption case, which could cause a…
Browse files Browse the repository at this point in the history
…ssertion failure in CSC Segment RECO module
  • Loading branch information
barvic committed Oct 15, 2015
1 parent b4b632c commit 9cadc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventFilter/CSCRawToDigi/plugins/CSCDCCUnpacker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ void CSCDCCUnpacker::produce(edm::Event & e, const edm::EventSetup& c)
for ( icfeb = 0; icfeb < 7; ++icfeb )
{
layer = pcrate->detId( vmecrate, dmb, icfeb,ilayer );
if (cscData[iCSC].cfebData(icfeb))
if (cscData[iCSC].cfebData(icfeb) && cscData[iCSC].cfebData(icfeb)->check())
{
std::vector<CSCStripDigi> stripDigis;
cscData[iCSC].cfebData(icfeb)->digis(layer.rawId(),stripDigis);
Expand Down

0 comments on commit 9cadc86

Please sign in to comment.