Skip to content
Snippets Groups Projects

Add support for realistic RICH PMT encoding and decoding

Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
/*****************************************************************************\
* (c) Copyright 2000-2020 CERN for the benefit of the LHCb Collaboration *
* *
@@ -101,6 +100,7 @@ void EncodeTel40::DataHalves::add( const Rich::DAQ::FrameBitIndex bit ) {
// bit shifted by offset in data half
const auto lbit = bit.data() - bit_offsets[half];
assert( lbit >= 0 );
// word index from local bit value
const auto word = lbit / BitsPerWord;
Loading