#include <DTROS25Unpacker.h>
Public Member Functions | |
DTROS25Unpacker (const edm::ParameterSet &ps) | |
Constructor. More... | |
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 |
~DTROS25Unpacker () override | |
Destructor. More... | |
Public Member Functions inherited from DTUnpacker | |
DTUnpacker () | |
Constructor. More... | |
virtual | ~DTUnpacker () |
Destructor. More... | |
Private Member Functions | |
int | swap (int x) |
Private Attributes | |
std::vector< DTROS25Data > | controlDataFromAllROS |
bool | debug |
int | hardcodedDDUID |
to analyze older data.. More... | |
bool | localDAQ |
if reading data locally, words, being assembled as 32-bits, do not need to be swapped More... | |
bool | performDataIntegrityMonitor |
perform DQM on ROS data More... | |
bool | readDDUIDfromDDU |
since June 2007, local DAQ, provides FED number More... | |
bool | readingDDU |
if data are read from ROS directly, no information on the ROS Id is present More... | |
bool | writeSC |
make the local SC spy data persistent More... | |
The unpacker for DTs' ROS25: final version of Read Out Sector board with 25 channels.
Definition at line 18 of file DTROS25Unpacker.h.
DTROS25Unpacker::DTROS25Unpacker | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 27 of file DTROS25Unpacker.cc.
References debug, edm::ParameterSet::getUntrackedParameter(), DTskim_cfg::localDAQ, DTskim_cfg::performDataIntegrityMonitor, DTskim_cfg::readDDUIDfromDDU, DTskim_cfg::readingDDU, and DTskim_cfg::writeSC.
|
override |
|
inline |
Definition at line 35 of file DTROS25Unpacker.h.
References controlDataFromAllROS.
Referenced by DTDDUUnpacker::getROSsControlData().
|
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 41 of file DTROS25Unpacker.cc.
References DTROS25Data::addROBHeader(), DTROS25Data::addROBTrailer(), DTROS25Data::addROSDebug(), DTROS25Data::addROSError(), DTROS25Data::addROSHeader(), DTROS25Data::addROSTrailer(), DTROS25Data::addSCData(), DTROS25Data::addSCHeader(), DTROS25Data::addSCPrivHeader(), DTROS25Data::addSCPrivSubHeader(), DTROS25Data::addSCTrailer(), DTROS25Data::addTDCData(), DTROS25Data::addTDCError(), DTROBHeaderWord::bunchID(), stripgpu::channelIndex(), DTROS25Data::clean(), gather_cfg::cout, debug, DTROSDebugWord::debugMessage(), DTROSDebugWord::debugType(), hcalRecHitTable_cff::detId, DTROSErrorWord::errorType(), DTROBHeaderWord::eventID(), DTROBTrailerWord::eventID(), DTLocalTriggerHeaderWord::eventID(), DTROSTrailerWord::EventWordCount(), DTLocalTriggerDataWord::getBits(), DTROSWordType::GroupHeader, DTROSWordType::GroupTrailer, DTLocalTriggerDataWord::hasTrigger(), createfilelist::int, DTLocalTriggerSectorCollectorSubHeaderWord::LocalBunchCounter(), taus_updatedMVAIds_cff::mapping, DTLocalTriggerSectorCollectorHeaderWord::NumberOf16bitWords(), DTskim_cfg::performDataIntegrityMonitor, funct::pow(), DTTDCErrorNotifier::print(), DTLocalTrigger::print(), DTskim_cfg::readDDUIDfromDDU, DTskim_cfg::readingDDU, DTROSErrorWord::robID(), DTROBHeaderWord::robID(), DTROBTrailerWord::robID(), DTROSWordType::ROSDebug, DTROSWordType::ROSError, DTROSWordType::ROSHeader, DTROSWordType::ROSTrailer, DTROSWordType::SCData, DTLocalTriggerDataWord::SCData(), DTROSWordType::SCHeader, DTROSWordType::SCTrailer, DTROS25Data::setROSId(), edm::swap(), DTTDCMeasurementWord::tdcChannel(), DTROSWordType::TDCDebug, DTROSWordType::TDCError, DTTDCMeasurementWord::tdcID(), DTROSWordType::TDCMeasurement, DTTDCMeasurementWord::tdcTime(), DTLocalTriggerDataWord::trackQuality(), DTLocalTriggerSectorCollectorSubHeaderWord::TriggerDelay(), DTROSHeaderWord::TTCEventCounter(), DTROSWordType::type(), nano_mu_digi_cff::wire, DTROBTrailerWord::wordCount(), DTLocalTriggerTrailerWord::wordCount(), and DTskim_cfg::writeSC.
Referenced by DTDDUUnpacker::interpretRawData().
|
private |
Definition at line 428 of file DTROS25Unpacker.cc.
References DTskim_cfg::localDAQ, dqmiodumpmetadata::n, and mps_fire::result.
|
private |
Definition at line 59 of file DTROS25Unpacker.h.
Referenced by getROSsControlData().
|
private |
Definition at line 57 of file DTROS25Unpacker.h.
Referenced by util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), util.rrapi.RRApi::get(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), runTauIdMVA.TauIDEmbedder::runTauID(), and pkg.AbstractPkg::write().
|
private |
to analyze older data..
Definition at line 49 of file DTROS25Unpacker.h.
|
private |
if reading data locally, words, being assembled as 32-bits, do not need to be swapped
Definition at line 41 of file DTROS25Unpacker.h.
|
private |
perform DQM on ROS data
Definition at line 55 of file DTROS25Unpacker.h.
|
private |
since June 2007, local DAQ, provides FED number
Definition at line 47 of file DTROS25Unpacker.h.
|
private |
if data are read from ROS directly, no information on the ROS Id is present
Definition at line 44 of file DTROS25Unpacker.h.
|
private |
make the local SC spy data persistent
Definition at line 52 of file DTROS25Unpacker.h.