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