#include <Phase2TrackerFEDDAQHeader.h>
Public Member Functions | |
uint8_t | boeNibble () const |
uint16_t | bxID () const |
const uint8_t * | data () const |
FEDDAQEventType | eventType () const |
uint8_t | eventTypeNibble () const |
FEDDAQHeader () | |
FEDDAQHeader (const uint32_t l1ID, const uint16_t bxID, const uint16_t sourceID, const FEDDAQEventType evtType=DAQ_EVENT_TYPE_PHYSICS) | |
FEDDAQHeader (const uint8_t *header) | |
bool | hBit () const |
uint32_t | l1ID () const |
bool | lastHeader () const |
void | print (std::ostream &os) const |
void | setBXID (const uint16_t bxID) |
void | setEventType (const FEDDAQEventType evtType) |
void | setL1ID (const uint32_t l1ID) |
void | setSourceID (const uint16_t sourceID) |
uint16_t | sourceID () const |
uint8_t | version () const |
Private Attributes | |
uint8_t | header_ [8] |
Definition at line 30 of file Phase2TrackerFEDDAQHeader.h.
|
inline |
Definition at line 32 of file Phase2TrackerFEDDAQHeader.h.
|
inlineexplicit |
Definition at line 68 of file Phase2TrackerFEDDAQHeader.h.
References RecoTauValidation_cfi::header, and header_.
Phase2Tracker::FEDDAQHeader::FEDDAQHeader | ( | const uint32_t | l1ID, |
const uint16_t | bxID, | ||
const uint16_t | sourceID, | ||
const FEDDAQEventType | evtType = DAQ_EVENT_TYPE_PHYSICS |
||
) |
Definition at line 76 of file Phase2TrackerFEDDAQHeader.cc.
References bxID(), header_, l1ID(), setBXID(), setEventType(), setL1ID(), setSourceID(), and sourceID().
|
inline |
|
inline |
Definition at line 76 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::daqBXID(), FEDDAQHeader(), and setBXID().
|
inline |
FEDDAQEventType Phase2Tracker::FEDDAQHeader::eventType | ( | ) | const |
Definition at line 43 of file Phase2TrackerFEDDAQHeader.cc.
References Phase2Tracker::DAQ_EVENT_TYPE_CALIBRATION, Phase2Tracker::DAQ_EVENT_TYPE_ERROR, Phase2Tracker::DAQ_EVENT_TYPE_INVALID, Phase2Tracker::DAQ_EVENT_TYPE_PHYSICS, Phase2Tracker::DAQ_EVENT_TYPE_SIMULATED, Phase2Tracker::DAQ_EVENT_TYPE_TECHNICAL, Phase2Tracker::DAQ_EVENT_TYPE_TEST, Phase2Tracker::DAQ_EVENT_TYPE_TRACED, and eventTypeNibble().
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::daqEventType().
|
inline |
Definition at line 72 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by eventType().
|
inline |
Definition at line 82 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by lastHeader().
|
inline |
Definition at line 74 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::daqLvl1ID(), FEDDAQHeader(), and setL1ID().
|
inline |
|
inline |
Definition at line 88 of file Phase2TrackerFEDDAQHeader.h.
References header_, and Phase2Tracker::printHex().
void Phase2Tracker::FEDDAQHeader::setBXID | ( | const uint16_t | bxID | ) |
Definition at line 66 of file Phase2TrackerFEDDAQHeader.cc.
References bxID(), and header_.
Referenced by FEDDAQHeader().
void Phase2Tracker::FEDDAQHeader::setEventType | ( | const FEDDAQEventType | evtType | ) |
Definition at line 58 of file Phase2TrackerFEDDAQHeader.cc.
References header_.
Referenced by FEDDAQHeader().
void Phase2Tracker::FEDDAQHeader::setL1ID | ( | const uint32_t | l1ID | ) |
void Phase2Tracker::FEDDAQHeader::setSourceID | ( | const uint16_t | sourceID | ) |
Definition at line 71 of file Phase2TrackerFEDDAQHeader.cc.
References header_, and sourceID().
Referenced by FEDDAQHeader().
|
inline |
Definition at line 78 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::daqSourceID(), FEDDAQHeader(), and setSourceID().
|
inline |
Definition at line 80 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
private |
Definition at line 63 of file Phase2TrackerFEDDAQHeader.h.
Referenced by boeNibble(), bxID(), data(), eventTypeNibble(), FEDDAQHeader(), hBit(), l1ID(), print(), setBXID(), setEventType(), setL1ID(), setSourceID(), sourceID(), and version().