|
| PXDDAQDHEStatus () |
| Default constructor for the ROOT IO.
|
|
| PXDDAQDHEStatus (VxdID id, int dheid, const PXDErrorFlags &mask, unsigned short tg, unsigned short fn) |
| constructor setting the error mask, dheid, raw and reduced data counters, ... More...
|
|
virtual | ~PXDDAQDHEStatus () |
| destructor
|
|
bool | isUsable () const |
| Return Usability of data. More...
|
|
void | markUnusable () |
| Mark Data in DHE as Unusable.
|
|
void | setErrorMask (const PXDErrorFlags &mask) |
| Set Error bit mask. More...
|
|
PXDErrorFlags | getErrorMask (void) const |
| Return Error bit mask. More...
|
|
void | setCritErrorMask (const PXDErrorFlags &mask) |
| Set Critical Error bit mask. More...
|
|
PXDErrorFlags | getCritErrorMask (void) const |
| Return Critical Error bit mask. More...
|
|
void | Decide (void) |
| Calculate the usability decision If any of the critical bits is set in the error mask the PXD data from this DHE is not usable for analysis TODO Maybe this decision needs improvement.
|
|
void | setDHEID (VxdID id, int dheid) |
| Set VxdID and DHE ID of sensor.
|
|
unsigned short | getDHEID (void) const |
| Get DHE ID of sensor.
|
|
VxdID | getSensorID (void) const |
| Get VxdID of sensor.
|
|
void | setCounters (uint32_t raw, uint32_t red) |
| Set Data counters for reduction calculation.
|
|
void | getCounters (uint32_t &raw, uint32_t &red) const |
| Get Data counters for reduction calculation.
|
|
uint32_t | getRawCnt (void) const |
| Set Raw Data counter for reduction calculation.
|
|
uint32_t | getRedCnt (void) const |
| Set Reduced Data counter for reduction calculation.
|
|
void | setTriggerGate (unsigned int tg) |
| set Trigger Gate
|
|
unsigned short | getTriggerGate (void) const |
| get Trigger Gate
|
|
unsigned short | getStartRow (void) const |
| get Trigger Start Row
|
|
void | setFrameNr (unsigned int fn) |
| set Readout Frame number
|
|
unsigned short | getFrameNr (void) const |
| get Readout Frame number
|
|
unsigned short | getDHPFoundMask (void) |
| get Mask for found DHPs with valid data
|
|
void | setDHPFoundMask (unsigned short dhpmask) |
| set Mask for found DHPs with valid data
|
|
void | setEndErrorInfo (uint32_t e) |
| set erroinfo from the DHE END
|
|
uint32_t | getEndErrorInfo (void) const |
| get erroinfo from the DHE END
|
|
void | addDHP (PXDDAQDHPStatus &daqdhp) |
| Add DHP information. More...
|
|
template<class ... Args> |
PXDDAQDHPStatus & | newDHP (Args &&... params) |
| New DHP information. More...
|
|
std::vector< PXDDAQDHPStatus >::iterator | begin () |
| iterator-based iteration for DHPs
|
|
std::vector< PXDDAQDHPStatus >::iterator | end () |
| iterator-based iteration for DHPs
|
|
std::vector< PXDDAQDHPStatus >::const_iterator | cbegin () const |
| const iterator-based iteration for DHPs
|
|
std::vector< PXDDAQDHPStatus >::const_iterator | cend () const |
| const iterator-based iteration for DHPs
|
|
PXDDAQDHPStatus & | dhp_back () |
| Returns PXDDAQDHPStatus for the last DHP.
|
|
size_t | dhp_size () const |
| Returns number of DHPs.
|
|
auto | addCM (PXDDAQDHPComMode &daqcm) |
| Add Common Mode information. More...
|
|
std::vector< PXDDAQDHPComMode >::iterator | cm_begin () |
| iterator-based iteration for Common Mode
|
|
std::vector< PXDDAQDHPComMode >::iterator | cm_end () |
| iterator-based iteration for Common Mode
|
|
PXDDAQDHPComMode & | cm_back () |
| Returns last Common Mode for this event.
|
|
size_t | cm_size () const |
| Returns number of Common Mode blocks in this event.
|
|
int | get_cm_dhp (int i) const |
| Returns CM DHP ID at position i.
|
|
int | get_cm_row (int i) const |
| Returns CM row at position i.
|
|
int | get_cm_value (int i) const |
| Returns CM value at position i.
|
|
The PXD DAQ DHE Status class.
This is a small class that records information about PXD DAQ DHE status It will record if the data of this sensor (readout by this DHE) is useable.
Definition at line 34 of file PXDDAQDHEStatus.h.