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
@@ -34,7 +34,7 @@ namespace Rich::Future::DAQ {
static const IntType Bits1 = 4;
// shifts
static const IntType Shift0 = 0;
static const IntType Shift1 = Shift0 + Bits1;
static const IntType Shift1 = Shift0 + Bits0;
// masks
static const IntType Mask0 = ( IntType )( ( 1 << Bits0 ) - 1 ) << Shift0;
static const IntType Mask1 = ( IntType )( ( 1 << Bits1 ) - 1 ) << Shift1;
Loading