Skip to content

Commit

Permalink
Merge pull request #11825 from barvic/corrupted_cfeb_data_fix_76x
Browse files Browse the repository at this point in the history
76X - Fix for handling of rare case of CFEB data corruption
  • Loading branch information
cmsbuild committed Oct 16, 2015
2 parents f03c582 + 60893c4 commit 39dce0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventFilter/CSCRawToDigi/plugins/CSCDCCUnpacker.cc
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 39dce0c

Please sign in to comment.