#include <DTDDUUnpacker.h>
Public Member Functions | |
DTDDUUnpacker (const edm::ParameterSet &ps) | |
Constructor. More... | |
const DTDDUData & | getDDUControlData () const |
const std::vector< DTROS25Data > & | getROSsControlData () const |
void | interpretRawData (const unsigned int *index, int datasize, int dduID, edm::ESHandle< DTReadOutMapping > &mapping, std::unique_ptr< DTDigiCollection > &product, std::unique_ptr< DTLocalTriggerCollection > &product2, uint16_t rosList=0) override |
~DTDDUUnpacker () override | |
Destructor. More... | |
Public Member Functions inherited from DTUnpacker | |
DTUnpacker () | |
Constructor. More... | |
virtual | ~DTUnpacker () |
Destructor. More... | |
Private Attributes | |
DTDDUData | controlData |
const edm::ParameterSet | dduPSet |
bool | debug |
bool | localDAQ |
if data are read locally, status words are swapped More... | |
bool | performDataIntegrityMonitor |
perform DQM for DDU More... | |
DTROS25Unpacker * | ros25Unpacker |
The unpacker for DTs' FED.
Definition at line 17 of file DTDDUUnpacker.h.
DTDDUUnpacker::DTDDUUnpacker | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 19 of file DTDDUUnpacker.cc.
References dduPSet, debug, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), localDAQ, and ros25Unpacker.
|
override |
|
inline |
|
inline |
Definition at line 35 of file DTDDUUnpacker.h.
References DTROS25Unpacker::getROSsControlData(), and ros25Unpacker.
|
overridevirtual |
Unpacking method. index is the pointer to the beginning of the buffer. datasize is the size of the buffer in bytes
Implements DTUnpacker.
Definition at line 33 of file DTDDUUnpacker.cc.
References DTDDUData::addDDUHeader(), DTDDUData::addDDUStatusWord(), DTDDUData::addDDUTrailer(), DTDDUData::addROSStatusWord(), FEDHeader::bxID(), FEDHeader::check(), FEDTrailer::check(), DTDDUData::checkCRCBit(), DTDDUData::clean(), controlData, gather_cfg::cout, debug, FEDTrailer::fragmentLength(), DTROS25Unpacker::interpretRawData(), localDAQ, FEDHeader::lvl1ID(), ros25Unpacker, and DTDDUSecondStatusWord::rosList().
|
private |
Definition at line 57 of file DTDDUUnpacker.h.
Referenced by getDDUControlData(), and interpretRawData().
|
private |
Definition at line 45 of file DTDDUUnpacker.h.
Referenced by DTDDUUnpacker().
|
private |
Definition at line 53 of file DTDDUUnpacker.h.
Referenced by util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), DTDDUUnpacker(), pkg.AbstractPkg::generate(), util.rrapi.RRApi::get(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), interpretRawData(), and pkg.AbstractPkg::write().
|
private |
if data are read locally, status words are swapped
Definition at line 48 of file DTDDUUnpacker.h.
Referenced by DTDDUUnpacker(), and interpretRawData().
|
private |
perform DQM for DDU
Definition at line 51 of file DTDDUUnpacker.h.
|
private |
Definition at line 55 of file DTDDUUnpacker.h.
Referenced by DTDDUUnpacker(), getROSsControlData(), interpretRawData(), and ~DTDDUUnpacker().