Skip to content

Commit

Permalink
Merge pull request cms-sw#87 from thomreis/l1t-muon-CMSSW_7_6_0_pre5_…
Browse files Browse the repository at this point in the history
…muon_unpacker_fix

merged
  • Loading branch information
thomreis committed Nov 6, 2015
2 parents 2065ef2 + 45073f2 commit 1992dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace l1t {

// Loop over multiple BX and then number of muons filling muon collection
for (int bx = firstBX; bx <= lastBX; ++bx) {
for (unsigned nWord = 0; nWord < nWords; nWord += 2) {
for (unsigned nWord = 0; nWord < nWords && i < block.header().getSize(); nWord += 2) {
uint32_t raw_data_00_31 = payload[i++];
uint32_t raw_data_32_63 = payload[i++];
LogDebug("L1T|Muon") << "raw_data_00_31 = 0x" << hex << raw_data_00_31 << " raw_data_32_63 = 0x" << raw_data_32_63;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ namespace l1t {

// Loop over multiple BX and then number of muons filling muon collection
for (int bx = firstBX; bx <= lastBX; ++bx) {
for (unsigned nWord = 0; nWord < nWords; nWord += 2) {
for (unsigned nWord = 0; nWord < nWords && i < block.header().getSize(); nWord += 2) {
uint32_t raw_data_00_31 = payload[i++];
uint32_t raw_data_32_63 = payload[i++];
LogDebug("L1T|Muon") << "raw_data_00_31 = 0x" << hex << raw_data_00_31 << " raw_data_32_63 = 0x" << raw_data_32_63;
Expand Down

0 comments on commit 1992dcc

Please sign in to comment.