1 #ifndef DaqSource_DTROS25FileReader_h
2 #define DaqSource_DTROS25FileReader_h
18 #include <boost/cstdint.hpp>
41 void swap(uint32_t & word);
unsigned int EventNumber_t
edm::RunNumber_t runNumber
edm::EventNumber_t eventNumber
static const int rosWordLenght
bool isTrailer(uint32_t word)
check for a 32 bits word to be a ROS25 trailer
virtual bool checkEndOfFile()
virtual ~DTROS25FileReader()
Destructor.
DTROS25FileReader(const edm::ParameterSet &pset)
Constructor.
virtual int fillRawData(edm::EventID &eID, edm::Timestamp &tstamp, FEDRawDataCollection *&data)
Generate and fill FED raw data for a full event.
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