Skip to content

Commit

Permalink
fix FEE mismatch in tof-compressor
Browse files Browse the repository at this point in the history
  • Loading branch information
noferini committed Oct 14, 2023
1 parent 888d9c6 commit 99c9b85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Detectors/TOF/compression/src/Compressor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,8 @@ bool Compressor<RDH, verbose, paranoid>::processDRM()
/** encode Crate Header **/
*mEncoderPointer = 0x80000000;
*mEncoderPointer |= GET_DRMHEADW1_PARTSLOTMASK(*mDecoderSummary.drmHeadW1) << 12;
*mEncoderPointer |= GET_DRMDATAHEADER_DRMID(*mDecoderSummary.drmDataHeader) << 24;
// R+OLD *mEncoderPointer |= GET_DRMDATAHEADER_DRMID(*mDecoderSummary.drmDataHeader) << 24;
*mEncoderPointer |= (mDecoderRDH->feeId & 0xFF) << 24;
*mEncoderPointer |= GET_DRMHEADW3_GBTBUNCHCNT(*mDecoderSummary.drmHeadW3);
if (verbose && mEncoderVerbose) {
auto crateHeader = reinterpret_cast<compressed::CrateHeader_t*>(mEncoderPointer);
Expand Down

0 comments on commit 99c9b85

Please sign in to comment.