1 #ifndef DaqSource_DTROS25FileReader_h 2 #define DaqSource_DTROS25FileReader_h 45 void swap(uint32_t& word);
edm::RunNumber_t runNumber
edm::EventNumber_t eventNumber
static const int rosWordLenght
void produce(edm::Event &, edm::EventSetup const &) override
unsigned long long EventNumber_t
bool isTrailer(uint32_t word)
check for a 32 bits word to be a ROS25 trailer
virtual bool checkEndOfFile()
~DTROS25FileReader() override
Destructor.
virtual int fillRawData(edm::Event &e, FEDRawDataCollection *&data)
Generate and fill FED raw data for a full event.
DTROS25FileReader(const edm::ParameterSet &pset)
Constructor.
char data[epos_bytes_allocation]
void swap(uint32_t &word)
swapping the lsBits with the msBits
bool isHeader(uint32_t word)
check for a 32 bits word to be a ROS25 header