#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 |
DTDataMonitorInterface * | dataMonitor |
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 19 of file DTROS25Unpacker.h.
DTROS25Unpacker::DTROS25Unpacker | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 31 of file DTROS25Unpacker.cc.
References debug, edm::ParameterSet::getUntrackedParameter(), edm::Service< T >::isAvailable(), and cppFunctionSkipper::operator.
|
virtual |
|
inline |
Definition at line 37 of file DTROS25Unpacker.h.
References controlDataFromAllROS.
Referenced by DTDDUUnpacker::interpretRawData().
|
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 61 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(), 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 440 of file DTROS25Unpacker.cc.
References n, and query::result.
|
private |
Definition at line 66 of file DTROS25Unpacker.h.
Referenced by getROSsControlData().
|
private |
Definition at line 64 of file DTROS25Unpacker.h.
|
private |
Definition at line 62 of file DTROS25Unpacker.h.
Referenced by pkg.AbstractPkg::generate(), pkg.AbstractPkg::get_kwds(), and pkg.AbstractPkg::write().
|
private |
to analyze older data..
Definition at line 54 of file DTROS25Unpacker.h.
|
private |
if reading data locally, words, being assembled as 32-bits, do not need to be swapped
Definition at line 46 of file DTROS25Unpacker.h.
|
private |
perform DQM on ROS data
Definition at line 60 of file DTROS25Unpacker.h.
|
private |
since June 2007, local DAQ, provides FED number
Definition at line 52 of file DTROS25Unpacker.h.
|
private |
if data are read from ROS directly, no information on the ROS Id is present
Definition at line 49 of file DTROS25Unpacker.h.
|
private |
make the local SC spy data persistent
Definition at line 57 of file DTROS25Unpacker.h.