1 #ifndef DaqSource_DTSpyReader_h
2 #define DaqSource_DTSpyReader_h
22 #include <boost/cstdint.hpp>
unsigned long long EventNumber_t
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
bool isTrailer(uint64_t word, bool dataTag, int wordCount)
check for a 64 bits word to be a DDU trailer
virtual ~DTSpyReader()
Destructor.
virtual int fillRawData(edm::Event &e, FEDRawDataCollection *&data)
Generate and fill FED raw data for a full event.
virtual void produce(edm::Event &, edm::EventSetup const &)
unsigned long long uint64_t
edm::RunNumber_t runNumber
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