#include <Phase2TrackerFEDHeader.h>
Public Member Functions | |
std::vector< uint8_t > | CBCStatus () const |
std::vector< bool > | frontendStatus () const |
uint8_t | getConditionData () const |
uint8_t | getDataFormatVersion () const |
uint8_t | getDataType () const |
READ_MODE | getDebugMode () const |
uint8_t | getEventType () const |
uint64_t | getGlibStatusCode () const |
uint16_t | getNumberOfCBC () const |
const uint8_t * | getPointerToData () const |
FEDReadoutMode | getReadoutMode () const |
uint8_t | getTrackerHeaderSize () const |
Phase2TrackerFEDHeader () | |
Phase2TrackerFEDHeader (const uint8_t *headerPointer) | |
Private Member Functions | |
uint8_t | conditionData () const |
uint8_t | dataFormatVersion () const |
uint8_t | dataType () const |
READ_MODE | debugMode () const |
uint8_t | eventType () const |
uint64_t | glibStatusCode () const |
void | init () |
uint16_t | numberOfCBC () const |
const uint8_t * | pointerToData () |
FEDReadoutMode | readoutMode () const |
Private Attributes | |
uint8_t | conditionData_ |
uint8_t | dataFormatVersion_ |
uint8_t | dataType_ |
READ_MODE | debugMode_ |
uint8_t | eventType_ |
uint64_t | glibStatusCode_ |
uint64_t | header_first_word_ |
uint64_t | header_second_word_ |
uint16_t | numberOfCBC_ |
const uint8_t * | pointerToData_ |
FEDReadoutMode | readoutMode_ |
const uint8_t * | trackerHeader_ |
uint8_t | trackerHeaderSize_ |
Definition at line 12 of file Phase2TrackerFEDHeader.h.
|
inline |
Definition at line 15 of file Phase2TrackerFEDHeader.h.
|
explicit |
Definition at line 9 of file Phase2TrackerFEDHeader.cc.
References header_first_word_, header_second_word_, init(), Phase2Tracker::read64(), and trackerHeader_.
std::vector< uint8_t > Phase2Tracker::Phase2TrackerFEDHeader::CBCStatus | ( | ) | const |
Definition at line 150 of file Phase2TrackerFEDHeader.cc.
References Phase2Tracker::CBC_ERROR, debugMode_, Phase2Tracker::FULL_DEBUG, header_second_word_, numberOfCBC(), PFRecoTauDiscriminationByIsolation_cfi::offset, Phase2Tracker::read64(), trackerHeader_, and globals_cff::x1.
Referenced by getTrackerHeaderSize(), and Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
private |
Definition at line 111 of file Phase2TrackerFEDHeader.cc.
References eventType_, and globals_cff::x1.
Referenced by getTrackerHeaderSize(), and init().
|
private |
Definition at line 47 of file Phase2TrackerFEDHeader.cc.
References Exception, Phase2Tracker::extract64(), header_first_word_, Phase2Tracker::printHex(), lowPtElectrons_cff::Version, Phase2Tracker::VERSION_M, and Phase2Tracker::VERSION_S.
Referenced by getTrackerHeaderSize(), and init().
|
private |
Definition at line 116 of file Phase2TrackerFEDHeader.cc.
References eventType_, and globals_cff::x1.
Referenced by getTrackerHeaderSize(), and init().
|
private |
Definition at line 61 of file Phase2TrackerFEDHeader.cc.
References Phase2Tracker::CBC_ERROR, Exception, Phase2Tracker::extract64(), Phase2Tracker::FULL_DEBUG, header_first_word_, Phase2Tracker::HEADER_FORMAT_M, Phase2Tracker::HEADER_FORMAT_S, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, Phase2Tracker::printHex(), Phase2Tracker::READ_MODE_INVALID, and Phase2Tracker::SUMMARY.
Referenced by getTrackerHeaderSize(), and init().
|
private |
Definition at line 85 of file Phase2TrackerFEDHeader.cc.
References Phase2Tracker::EVENT_TYPE_M, Phase2Tracker::EVENT_TYPE_S, Phase2Tracker::extract64(), and header_first_word_.
Referenced by getTrackerHeaderSize(), and init().
std::vector< bool > Phase2Tracker::Phase2TrackerFEDHeader::frontendStatus | ( | ) | const |
Definition at line 126 of file Phase2TrackerFEDHeader.cc.
References Phase2Tracker::extract64(), Phase2Tracker::FRONTEND_STAT_M, Phase2Tracker::FRONTEND_STAT_S, header_first_word_, mps_fire::i, mps_update::status, and globals_cff::x1.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::findChannels(), getPointerToData(), and Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
inline |
Definition at line 25 of file Phase2TrackerFEDHeader.h.
References conditionData_.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::findChannels(), and Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
inline |
Definition at line 20 of file Phase2TrackerFEDHeader.h.
References dataFormatVersion_.
Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
inline |
Definition at line 26 of file Phase2TrackerFEDHeader.h.
References dataType_.
Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
inline |
Definition at line 21 of file Phase2TrackerFEDHeader.h.
References debugMode_.
Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
inline |
Definition at line 23 of file Phase2TrackerFEDHeader.h.
References eventType_.
Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
inline |
Definition at line 28 of file Phase2TrackerFEDHeader.h.
References glibStatusCode_.
Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
inline |
Definition at line 29 of file Phase2TrackerFEDHeader.h.
References numberOfCBC_.
Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
inline |
Definition at line 32 of file Phase2TrackerFEDHeader.h.
References frontendStatus(), and pointerToData_.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::getPointerToPayload().
|
inline |
Definition at line 24 of file Phase2TrackerFEDHeader.h.
References readoutMode_.
Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce(), and Phase2Tracker::Phase2TrackerFEDBuffer::readoutMode().
|
inline |
Definition at line 36 of file Phase2TrackerFEDHeader.h.
References CBCStatus(), conditionData(), dataFormatVersion(), dataType(), debugMode(), eventType(), glibStatusCode(), init(), numberOfCBC(), pointerToData(), readoutMode(), and trackerHeaderSize_.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::findChannels().
|
private |
Definition at line 121 of file Phase2TrackerFEDHeader.cc.
References Phase2Tracker::extract64(), Phase2Tracker::GLIB_STATUS_M, Phase2Tracker::GLIB_STATUS_S, and header_first_word_.
Referenced by getTrackerHeaderSize(), and init().
|
private |
Definition at line 18 of file Phase2TrackerFEDHeader.cc.
References conditionData(), conditionData_, dataFormatVersion(), dataFormatVersion_, dataType(), dataType_, debugMode(), debugMode_, TauDecayModes::dec, eventType(), eventType_, glibStatusCode(), glibStatusCode_, LogTrace, numberOfCBC(), numberOfCBC_, pointerToData(), pointerToData_, readoutMode(), and readoutMode_.
Referenced by getTrackerHeaderSize(), and Phase2TrackerFEDHeader().
|
private |
Definition at line 137 of file Phase2TrackerFEDHeader.cc.
References Phase2Tracker::CBC_NUMBER_M, Phase2Tracker::CBC_NUMBER_S, debugMode_, Phase2Tracker::extract64(), header_second_word_, and Phase2Tracker::SUMMARY.
Referenced by CBCStatus(), getTrackerHeaderSize(), init(), and pointerToData().
|
private |
Definition at line 206 of file Phase2TrackerFEDHeader.cc.
References Phase2Tracker::CBC_ERROR, debugMode_, Phase2Tracker::FULL_DEBUG, numberOfCBC(), trackerHeader_, and trackerHeaderSize_.
Referenced by getTrackerHeaderSize(), and init().
|
private |
Definition at line 91 of file Phase2TrackerFEDHeader.cc.
References eventType_, Exception, header_first_word_, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, Phase2Tracker::printHex(), Phase2Tracker::READOUT_MODE_PROC_RAW, and Phase2Tracker::READOUT_MODE_ZERO_SUPPRESSED.
Referenced by getTrackerHeaderSize(), and init().
|
private |
Definition at line 75 of file Phase2TrackerFEDHeader.h.
Referenced by getConditionData(), and init().
|
private |
Definition at line 71 of file Phase2TrackerFEDHeader.h.
Referenced by getDataFormatVersion(), and init().
|
private |
Definition at line 76 of file Phase2TrackerFEDHeader.h.
Referenced by getDataType(), and init().
|
private |
Definition at line 72 of file Phase2TrackerFEDHeader.h.
Referenced by CBCStatus(), getDebugMode(), init(), numberOfCBC(), and pointerToData().
|
private |
Definition at line 73 of file Phase2TrackerFEDHeader.h.
Referenced by conditionData(), dataType(), getEventType(), init(), and readoutMode().
|
private |
Definition at line 77 of file Phase2TrackerFEDHeader.h.
Referenced by getGlibStatusCode(), and init().
|
private |
Definition at line 69 of file Phase2TrackerFEDHeader.h.
Referenced by dataFormatVersion(), debugMode(), eventType(), frontendStatus(), glibStatusCode(), Phase2TrackerFEDHeader(), and readoutMode().
|
private |
Definition at line 70 of file Phase2TrackerFEDHeader.h.
Referenced by CBCStatus(), numberOfCBC(), and Phase2TrackerFEDHeader().
|
private |
Definition at line 78 of file Phase2TrackerFEDHeader.h.
Referenced by getNumberOfCBC(), and init().
|
private |
Definition at line 67 of file Phase2TrackerFEDHeader.h.
Referenced by getPointerToData(), and init().
|
private |
Definition at line 74 of file Phase2TrackerFEDHeader.h.
Referenced by getReadoutMode(), and init().
|
private |
Definition at line 66 of file Phase2TrackerFEDHeader.h.
Referenced by CBCStatus(), Phase2TrackerFEDHeader(), and pointerToData().
|
private |
Definition at line 68 of file Phase2TrackerFEDHeader.h.
Referenced by getTrackerHeaderSize(), and pointerToData().