1 #ifndef DQM_SiStripMonitorHardware_SiStripFEDSpyBuffer_H
2 #define DQM_SiStripMonitorHardware_SiStripFEDSpyBuffer_H
4 #include "boost/cstdint.hpp"
36 FEDSpyBuffer(
const uint8_t* fedBuffer,
const size_t fedBufferSize);
38 virtual void print(std::ostream& os)
const;
54 virtual bool channelGood(
const uint8_t internalFEDannelNum)
const;
90 : data_(reinterpret_cast<
const uint32_t*>(channel.
data())),
91 currentOffset_(channel.
offset()),
93 valuesLeft_(channel.length())
117 ++(*this);
return *
this;
122 #endif //ndef DQM_SiStripMonitorHardware_SiStripFEDSpyBuffer_H
FEDSpyChannelUnpacker(const FEDChannel &channel)
uint16_t sampleNumber() const
static const uint16_t SPY_BUFFER_SIZE_IN_BYTES
static const uint16_t SPY_SAMPLES_PER_CHANNEL
virtual void print(std::ostream &os) const
uint32_t globalRunNumber() const
static const uint16_t DELAY_CHIPS_PER_FED
static const uint16_t SPY_DELAY_CHIP_PAYLOAD_SIZE_IN_BYTES
uint32_t delayChipTotalEventCount(const uint8_t delayChip) const
uint32_t spyHeaderL1ID() const
static const uint16_t FEDCH_PER_DELAY_CHIP
static const uint16_t SPY_DELAY_CHIP_BUFFER_SIZE_IN_BYTES
const uint8_t * payloadPointer_
static const uint8_t channelPositionsInData_[FEDCH_PER_DELAY_CHIP]
FEDSpyBuffer(const uint8_t *fedBuffer, const size_t fedBufferSize)
uint32_t spyHeaderTotalEventCount() const
uint32_t delayChipL1ID(const uint8_t delayChip) const
static const uint16_t FEDCH_PER_FED
bool delayChipGood(const uint8_t delayChip) const
static const uint16_t SPY_DELAYCHIP_DATA_OFFSET_IN_BITS
FEDSpyChannelUnpacker & operator++()
virtual bool channelGood(const uint8_t internalFEDannelNum) const