1 #ifndef DaqSource_DTSpyReader_h 2 #define DaqSource_DTSpyReader_h 22 #include <boost/cstdint.hpp> void produce(edm::Event &, edm::EventSetup const &) override
unsigned long long EventNumber_t
~DTSpyReader() override
Destructor.
static const int dduWordLength
edm::EventNumber_t eventNumber
DTSpyReader(const edm::ParameterSet &pset)
Constructor.
void swap(uint64_t &word)
swapping the lsBits with the msBits
virtual int fillRawData(edm::Event &e, FEDRawDataCollection *&data)
Generate and fill FED raw data for a full event.
unsigned long long uint64_t
char data[epos_bytes_allocation]
edm::RunNumber_t runNumber
bool isTrailer(uint64_t word, bool dataTag, unsigned int wordCount)
check for a 64 bits word to be a DDU trailer
bool isHeader(uint64_t word, bool dataTag)
check for a 64 bits word to be a DDU header
uint64_t dmaUnpack(const uint32_t *dmaData, bool &isData)
pre-unpack the data if read via DMA