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