14 #ifndef DTRawToDigi_DTuROSRawToDigi_h 15 #define DTRawToDigi_DTuROSRawToDigi_h 73 dataWord = *((
long*)lineFED);
78 int theDDU(
int crate,
int slot,
int link,
bool tenDDU);
80 int theROS(
int slot,
int link);
82 int theROB(
int slot,
int link);
int theROS(int slot, int link)
void process(int DTuROSFED, edm::Handle< FEDRawDataCollection > data, edm::ESHandle< DTReadOutMapping > mapping, DTDigiCollection &digis, DTuROSFEDData &fwords)
~DTuROSRawToDigi() override
Destructor.
int theROB(int slot, int link)
void readline(int &lines, long &dataWord)
int theDDU(int crate, int slot, int link, bool tenDDU)
void produce(edm::Event &e, const edm::EventSetup &c) override
Produce digis out of raw data.
bool fillRawData(edm::Event &e, const edm::EventSetup &c, DTDigiCollection &digis, std::vector< DTuROSFEDData > &words)
Generate and fill FED raw data for a full event.
edm::InputTag DTuROSInputTag_
DTuROSRawToDigi(const edm::ParameterSet &pset)
Constructor.
edm::EDGetTokenT< FEDRawDataCollection > Raw_token
char data[epos_bytes_allocation]
edm::InputTag getDTuROSInputTag()