#include <Phase2TrackerFEDBuffer.h>
Public Member Functions | |
size_t | bufferSize () const |
const Phase2TrackerFEDChannel & | channel (const uint8_t internalPhase2TrackerFEDChannelNum) const |
bool | checkNoFEOverflows () const |
std::map< uint32_t, uint32_t > | conditionData () const |
uint16_t | daqBXID () const |
uint16_t | daqCRC () const |
uint32_t | daqEventLengthIn64bitWords () const |
uint32_t | daqEventLengthInBytes () const |
FEDDAQEventType | daqEventType () const |
FEDDAQHeader | daqHeader () const |
uint32_t | daqLvl1ID () const |
uint16_t | daqSourceID () const |
FEDDAQTrailer | daqTrailer () const |
FEDTTSBits | daqTTSState () const |
bool | doChecks () const |
bool | doCorruptBufferChecks () const |
void | dump (std::ostream &os) const |
const uint8_t * | getPointerToCondData () const |
const uint8_t * | getPointerToPayload () const |
const uint8_t * | getPointerToTriggerData () const |
Phase2TrackerFEDBuffer (const uint8_t *fedBuffer, const size_t fedBufferSize) | |
FEDReadoutMode | readoutMode () const |
Phase2TrackerFEDHeader | trackerHeader () const |
~Phase2TrackerFEDBuffer () | |
Private Member Functions | |
void | findChannels () |
Private Attributes | |
const uint8_t * | buffer_ |
const size_t | bufferSize_ |
std::vector< Phase2TrackerFEDChannel > | channels_ |
const uint8_t * | condDataPointer_ |
FEDDAQHeader | daqHeader_ |
FEDDAQTrailer | daqTrailer_ |
const uint8_t * | payloadPointer_ |
Phase2TrackerFEDHeader | trackerHeader_ |
const uint8_t * | triggerPointer_ |
Definition at line 14 of file Phase2TrackerFEDBuffer.h.
Phase2Tracker::Phase2TrackerFEDBuffer::Phase2TrackerFEDBuffer | ( | const uint8_t * | fedBuffer, |
const size_t | fedBufferSize | ||
) |
Definition at line 10 of file Phase2TrackerFEDBuffer.cc.
References buffer_, bufferSize_, channels_, daqHeader_, daqTrailer_, TauDecayModes::dec, findChannels(), getPointerToPayload(), mps_fire::i, createfilelist::int, LogTrace, Phase2Tracker::MAX_CBC_PER_FE, Phase2Tracker::MAX_FE_PER_FED, payloadPointer_, Phase2Tracker::read64(), and trackerHeader_.
Phase2Tracker::Phase2TrackerFEDBuffer::~Phase2TrackerFEDBuffer | ( | ) |
Definition at line 38 of file Phase2TrackerFEDBuffer.cc.
|
inline |
Definition at line 27 of file Phase2TrackerFEDBuffer.h.
References bufferSize_.
Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
inline |
Definition at line 29 of file Phase2TrackerFEDBuffer.h.
References channels_, and conditionData().
Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
inline |
Definition at line 66 of file Phase2TrackerFEDBuffer.h.
std::map< uint32_t, uint32_t > Phase2Tracker::Phase2TrackerFEDBuffer::conditionData | ( | ) | const |
Definition at line 164 of file Phase2TrackerFEDBuffer.cc.
References buffer_, bufferSize_, condDataPointer_, data, Exception, mps_fire::i, crabWrapper::key, LogTrace, findQualityFiles::size, Phase2Tracker::TRIGGER_SIZE, and triggerPointer_.
Referenced by channel(), and Phase2Tracker::Phase2TrackerCommissioningDigiProducer::produce().
|
inline |
Definition at line 35 of file Phase2TrackerFEDBuffer.h.
References Phase2Tracker::FEDDAQHeader::bxID(), and daqHeader_.
|
inline |
Definition at line 41 of file Phase2TrackerFEDBuffer.h.
References Phase2Tracker::FEDDAQTrailer::crc(), and daqTrailer_.
|
inline |
Definition at line 39 of file Phase2TrackerFEDBuffer.h.
References daqTrailer_, and Phase2Tracker::FEDDAQTrailer::eventLengthIn64BitWords().
|
inline |
Definition at line 40 of file Phase2TrackerFEDBuffer.h.
References daqTrailer_, and Phase2Tracker::FEDDAQTrailer::eventLengthInBytes().
|
inline |
Definition at line 33 of file Phase2TrackerFEDBuffer.h.
References daqHeader_, and Phase2Tracker::FEDDAQHeader::eventType().
|
inline |
Definition at line 25 of file Phase2TrackerFEDBuffer.h.
References daqHeader_.
|
inline |
Definition at line 34 of file Phase2TrackerFEDBuffer.h.
References daqHeader_, and Phase2Tracker::FEDDAQHeader::l1ID().
|
inline |
Definition at line 36 of file Phase2TrackerFEDBuffer.h.
References daqHeader_, and Phase2Tracker::FEDDAQHeader::sourceID().
|
inline |
Definition at line 26 of file Phase2TrackerFEDBuffer.h.
References daqTrailer_.
|
inline |
Definition at line 42 of file Phase2TrackerFEDBuffer.h.
References daqTrailer_, readoutMode(), and Phase2Tracker::FEDDAQTrailer::ttsBits().
|
inline |
Definition at line 65 of file Phase2TrackerFEDBuffer.h.
|
inline |
Definition at line 67 of file Phase2TrackerFEDBuffer.h.
|
inline |
Definition at line 22 of file Phase2TrackerFEDBuffer.h.
References buffer_, bufferSize_, and Phase2Tracker::printHex().
|
private |
Definition at line 42 of file Phase2TrackerFEDBuffer.cc.
References bufferSize_, channels_, condDataPointer_, Exception, Phase2Tracker::Phase2TrackerFEDHeader::frontendStatus(), Phase2Tracker::Phase2TrackerFEDHeader::getConditionData(), Phase2Tracker::Phase2TrackerFEDHeader::getTrackerHeaderSize(), mps_fire::i, Phase2Tracker::MAX_CBC_PER_FE, payloadPointer_, Phase2Tracker::READOUT_MODE_PROC_RAW, Phase2Tracker::READOUT_MODE_ZERO_SUPPRESSED, readoutMode(), mps_update::status, Phase2Tracker::STRIPS_PADDING, Phase2Tracker::STRIPS_PER_CBC, trackerHeader_, Phase2Tracker::TRIGGER_SIZE, and triggerPointer_.
Referenced by Phase2TrackerFEDBuffer().
|
inline |
Definition at line 47 of file Phase2TrackerFEDBuffer.h.
References condDataPointer_.
|
inline |
Definition at line 46 of file Phase2TrackerFEDBuffer.h.
References Phase2Tracker::Phase2TrackerFEDHeader::getPointerToData(), and trackerHeader_.
Referenced by Phase2TrackerFEDBuffer().
|
inline |
Definition at line 48 of file Phase2TrackerFEDBuffer.h.
References triggerPointer_.
FEDReadoutMode Phase2Tracker::Phase2TrackerFEDBuffer::readoutMode | ( | ) | const |
Definition at line 217 of file Phase2TrackerFEDBuffer.cc.
References Phase2Tracker::Phase2TrackerFEDHeader::getReadoutMode(), and trackerHeader_.
Referenced by daqTTSState(), and findChannels().
|
inline |
Definition at line 28 of file Phase2TrackerFEDBuffer.h.
References trackerHeader_.
Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce().
|
private |
Definition at line 51 of file Phase2TrackerFEDBuffer.h.
Referenced by conditionData(), dump(), and Phase2TrackerFEDBuffer().
|
private |
Definition at line 52 of file Phase2TrackerFEDBuffer.h.
Referenced by bufferSize(), conditionData(), dump(), findChannels(), and Phase2TrackerFEDBuffer().
|
private |
Definition at line 53 of file Phase2TrackerFEDBuffer.h.
Referenced by channel(), findChannels(), and Phase2TrackerFEDBuffer().
|
private |
Definition at line 58 of file Phase2TrackerFEDBuffer.h.
Referenced by conditionData(), findChannels(), and getPointerToCondData().
|
private |
Definition at line 54 of file Phase2TrackerFEDBuffer.h.
Referenced by daqBXID(), daqEventType(), daqHeader(), daqLvl1ID(), daqSourceID(), and Phase2TrackerFEDBuffer().
|
private |
Definition at line 55 of file Phase2TrackerFEDBuffer.h.
Referenced by daqCRC(), daqEventLengthIn64bitWords(), daqEventLengthInBytes(), daqTrailer(), daqTTSState(), and Phase2TrackerFEDBuffer().
|
private |
Definition at line 57 of file Phase2TrackerFEDBuffer.h.
Referenced by findChannels(), and Phase2TrackerFEDBuffer().
|
private |
Definition at line 56 of file Phase2TrackerFEDBuffer.h.
Referenced by findChannels(), getPointerToPayload(), Phase2TrackerFEDBuffer(), readoutMode(), and trackerHeader().
|
private |
Definition at line 59 of file Phase2TrackerFEDBuffer.h.
Referenced by conditionData(), findChannels(), and getPointerToTriggerData().