Skip to content

Commit d230f5b

Browse files
authored
Merge pull request cms-sw#33955 from barvic/cscrawtodigi_examiner_fixes
CSCRawToDigi examiner fixes
2 parents 787113c + ebd1b23 commit d230f5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

EventFilter/CSCRawToDigi/src/CSCDCCExaminer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ int32_t CSCDCCExaminer::check(const uint16_t*& buffer, int32_t length) {
661661
bCHAMB_PAYLOAD[currentChamber] |= (buf0[0] & 0x007f) << 7; /// CFEBs DAV
662662
bCHAMB_PAYLOAD[currentChamber] |= (buf_1[2] & 0x001f); /// CFEBs Active 5
663663
bCHAMB_PAYLOAD[currentChamber] |= ((buf_1[2] >> 5) & 0x0003) << 14; /// CFEBs Active 6,7
664-
bCHAMB_STATUS[currentChamber] |= (buf0[0] & 0x0080) << 15; /// CLCT-DAV-Mismatch
664+
bCHAMB_STATUS[currentChamber] |= (buf0[0] & 0x0080) << 14; /// CLCT-DAV-Mismatch
665665

666666
} else /// Pre-2013 DMB Format
667667
{

EventFilter/CSCRawToDigi/src/CSCDDUEventData.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ void CSCDDUEventData::unpack_data(const uint16_t* buf, CSCDCCExaminer* examiner)
243243
// ++i;
244244
if (debug)
245245
LogTrace("CSCDDUEventData|CSCRawToDigi") << "unpack csc data loop started";
246-
theData.push_back(CSCEventData(buf));
246+
theData.push_back(CSCEventData(buf, theFormatVersion));
247247
buf += (theData.back()).size();
248248
if (debug) {
249249
LogTrace("CSCDDUEventData|CSCRawToDigi") << "size of vector of cscData = " << theData.size();

0 commit comments

Comments
 (0)