#include <DTROS25Unpacker.h>
Public Member Functions | |
DTROS25Unpacker (const edm::ParameterSet &ps) | |
Constructor. More... | |
const std::vector< DTROS25Data > & | getROSsControlData () const |
virtual void | interpretRawData (const unsigned int *index, int datasize, int dduID, edm::ESHandle< DTReadOutMapping > &mapping, std::auto_ptr< DTDigiCollection > &product, std::auto_ptr< DTLocalTriggerCollection > &product2, uint16_t rosList=0) |
virtual | ~DTROS25Unpacker () |
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 30 of file DTROS25Unpacker.cc.
References debug, edm::ParameterSet::getUntrackedParameter(), eb_dqm_sourceclient-live_cfg::localDAQ, and dtunpacker_cfi::performDataIntegrityMonitor.
|
virtual |
|
inline |
Definition at line 36 of file DTROS25Unpacker.h.
References controlDataFromAllROS.
Referenced by DTDDUUnpacker::getROSsControlData().
|
virtual |
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 49 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(), DTROS25Data::clean(), gather_cfg::cout, debug, DTROSDebugWord::debugMessage(), DTROSDebugWord::debugType(), DTROSErrorWord::errorType(), DTROBHeaderWord::eventID(), DTROBTrailerWord::eventID(), DTLocalTriggerHeaderWord::eventID(), DTROSTrailerWord::EventWordCount(), DTLocalTriggerDataWord::getBits(), DTROChainCoding::getCode(), DTROSWordType::GroupHeader, DTROSWordType::GroupTrailer, DTLocalTriggerDataWord::hasTrigger(), DTWireId::layerId(), DTLocalTriggerSectorCollectorSubHeaderWord::LocalBunchCounter(), DTLocalTriggerSectorCollectorHeaderWord::NumberOf16bitWords(), dtunpacker_cfi::performDataIntegrityMonitor, funct::pow(), DTTDCErrorNotifier::print(), DTLocalTrigger::print(), DTROSErrorWord::robID(), DTROBHeaderWord::robID(), DTROBTrailerWord::robID(), DTROSWordType::ROSDebug, DTROSWordType::ROSError, DTROSWordType::ROSHeader, DTROSWordType::ROSTrailer, DTROSWordType::SCData, DTLocalTriggerDataWord::SCData(), DTROSWordType::SCHeader, DTROSWordType::SCTrailer, DTROS25Data::setROSId(), std::swap(), DTTDCMeasurementWord::tdcChannel(), DTROSWordType::TDCDebug, DTROSWordType::TDCError, DTTDCMeasurementWord::tdcID(), DTROSWordType::TDCMeasurement, DTTDCMeasurementWord::tdcTime(), DTLocalTriggerDataWord::trackQuality(), DTLocalTriggerSectorCollectorSubHeaderWord::TriggerDelay(), DTROSHeaderWord::TTCEventCounter(), DTROSWordType::type(), DTWireId::wire(), DTROBTrailerWord::wordCount(), and DTLocalTriggerTrailerWord::wordCount().
Referenced by DTDDUUnpacker::interpretRawData().
|
private |
Definition at line 427 of file DTROS25Unpacker.cc.
References eb_dqm_sourceclient-live_cfg::localDAQ, gen::n, and query::result.
|
private |
Definition at line 63 of file DTROS25Unpacker.h.
Referenced by getROSsControlData().
|
private |
Definition at line 61 of file DTROS25Unpacker.h.
Referenced by rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), and pkg.AbstractPkg::write().
|
private |
to analyze older data..
Definition at line 53 of file DTROS25Unpacker.h.
|
private |
if reading data locally, words, being assembled as 32-bits, do not need to be swapped
Definition at line 45 of file DTROS25Unpacker.h.
|
private |
perform DQM on ROS data
Definition at line 59 of file DTROS25Unpacker.h.
|
private |
since June 2007, local DAQ, provides FED number
Definition at line 51 of file DTROS25Unpacker.h.
|
private |
if data are read from ROS directly, no information on the ROS Id is present
Definition at line 48 of file DTROS25Unpacker.h.
|
private |
make the local SC spy data persistent
Definition at line 56 of file DTROS25Unpacker.h.