Skip to content

Commit

Permalink
Merge pull request #22123 from fwyzard/fixPixelDigi2Raw_100x
Browse files Browse the repository at this point in the history
fix packing of 2x32 in 64 bits (10.0.x)
  • Loading branch information
cmsbuild committed Feb 6, 2018
2 parents af781ba + 66d7373 commit d04531c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventFilter/SiPixelRawToDigi/src/PixelDataFormatter.cc
Expand Up @@ -339,7 +339,7 @@ void PixelDataFormatter::formatRawData(unsigned int lvl1_ID, RawData & fedRawDat
// write data
unsigned int nWord32InFed = words.find(fedId)->second.size();
for (unsigned int i=0; i < nWord32InFed; i+=2) {
*word = (Word64(words.find(fedId)->second[i]) << 32 ) | words.find(fedId)->second[i+1];
*word = (Word64(words.find(fedId)->second[i+1]) << 32 ) | words.find(fedId)->second[i];
LogDebug("PixelDataFormatter") << print(*word);
word++;
}
Expand Down

0 comments on commit d04531c

Please sign in to comment.