#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 uint8_t *header) | |
FEDDAQHeader (const uint32_t l1ID, const uint16_t bxID, const uint16_t sourceID, const FEDDAQEventType evtType=DAQ_EVENT_TYPE_PHYSICS) | |
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 29 of file Phase2TrackerFEDDAQHeader.h.
|
inline |
Definition at line 32 of file Phase2TrackerFEDDAQHeader.h.
|
inlineexplicit |
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 84 of file Phase2TrackerFEDDAQHeader.cc.
References header_, setBXID(), setEventType(), setL1ID(), and setSourceID().
|
inline |
|
inline |
Definition at line 79 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::daqBXID().
|
inline |
Definition at line 94 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by cuy.FindIssue::__init__().
FEDDAQEventType Phase2Tracker::FEDDAQHeader::eventType | ( | ) | const |
Definition at line 44 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 73 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by eventType().
|
inline |
Definition at line 88 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by lastHeader().
|
inline |
Definition at line 76 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::daqLvl1ID().
|
inline |
|
inline |
Definition at line 97 of file Phase2TrackerFEDDAQHeader.h.
References header_, and Phase2Tracker::printHex().
void Phase2Tracker::FEDDAQHeader::setBXID | ( | const uint16_t | bxID | ) |
Definition at line 72 of file Phase2TrackerFEDDAQHeader.cc.
References header_.
Referenced by FEDDAQHeader().
void Phase2Tracker::FEDDAQHeader::setEventType | ( | const FEDDAQEventType | evtType | ) |
Definition at line 60 of file Phase2TrackerFEDDAQHeader.cc.
References header_.
Referenced by FEDDAQHeader().
void Phase2Tracker::FEDDAQHeader::setL1ID | ( | const uint32_t | l1ID | ) |
Definition at line 65 of file Phase2TrackerFEDDAQHeader.cc.
References header_.
Referenced by FEDDAQHeader().
void Phase2Tracker::FEDDAQHeader::setSourceID | ( | const uint16_t | sourceID | ) |
Definition at line 78 of file Phase2TrackerFEDDAQHeader.cc.
References header_.
Referenced by FEDDAQHeader().
|
inline |
Definition at line 82 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by Phase2Tracker::Phase2TrackerFEDBuffer::daqSourceID().
|
inline |
Definition at line 85 of file Phase2TrackerFEDDAQHeader.h.
References header_.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
private |
Definition at line 61 of file Phase2TrackerFEDDAQHeader.h.
Referenced by boeNibble(), bxID(), data(), eventTypeNibble(), FEDDAQHeader(), hBit(), l1ID(), print(), setBXID(), setEventType(), setL1ID(), setSourceID(), sourceID(), and version().