Skip to content
Snippets Groups Projects

Add support for realistic RICH PMT encoding and decoding

Compare and Show latest version
3 files
+ 37
45
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -63,9 +63,11 @@ namespace Rich::Future::DAQ {
/// maximum bit index
static constexpr const DataType MaxBitIndex = BitsPerWord - 1u;
/// Bit offset for second half of data payload
static constexpr const std::array<DataType, 2> bit_offsets{0u, 39u};
/// Max ZS data sizes for each half
static constexpr const std::array<DataType, 2> maxZSByteSize{4u, 5u};
static constexpr const std::array<DataType, 2> PayloadBitOffsets{0u, 39u};
/// Maximum ZS data sizes for each payload half
static constexpr const std::array<DataType, 2> MaxZSByteSize{4u, 5u};
/// NZS data size for each payload half
static constexpr const std::array<DataType, 2> NZSByteSize{5u, 6u};
public:
/// Add a frame bit to the data
Loading