|
| PXDDAQDHCStatus () |
| Default constructor for the ROOT IO.
|
|
| PXDDAQDHCStatus (int dhcid, PXDErrorFlags &mask) |
| constructor setting the error mask, dhcid, raw and reduced data counters More...
|
|
virtual | ~PXDDAQDHCStatus () |
| destructor
|
|
bool | isUsable () const |
| Return Usability of data. More...
|
|
void | setErrorMask (const PXDErrorFlags &mask) |
| Set Error bit mask This should be the OR of error masks of all sub-objects (DHC, DHE) More...
|
|
PXDErrorFlags | getErrorMask (void) const |
| Return Error bit mask This is the OR of error masks of all sub-objects (DHC, DHE) 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 DHC is not usable for analysis TODO Maybe this decision needs improvement.
|
|
unsigned short | getDHCID (void) const |
| Get DHC ID.
|
|
void | setDHCID (int dhcid) |
| Set DHC ID.
|
|
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 | setEndErrorInfo (uint32_t e) |
| set errorinfo from the DHC END
|
|
uint32_t | getEndErrorInfo (void) const |
| get errorinfo from the DHC END
|
|
void | setGatedFlag (bool gm) |
| set gating info from the DHC END
|
|
bool | getGatedFlag (void) const |
| get gating info from the DHC END
|
|
void | setGatedHER (bool isher) |
| set HER/LER gating info from the DHC END
|
|
bool | getGatedHER (void) const |
| get HER/LER gating info from the DHC END
|
|
void | addDHE (PXDDAQDHEStatus &daqdhe) |
| Add DHE information. More...
|
|
template<class ... Args> |
PXDDAQDHEStatus & | newDHE (Args &&... params) |
| Add new DHE information. More...
|
|
std::vector< PXDDAQDHEStatus >::iterator | begin () |
| iterator-based iteration for DHEs
|
|
std::vector< PXDDAQDHEStatus >::iterator | end () |
| iterator-based iteration for DHEs
|
|
std::vector< PXDDAQDHEStatus >::const_iterator | cbegin () const |
| const iterator-based iteration for DHEs
|
|
std::vector< PXDDAQDHEStatus >::const_iterator | cend () const |
| const iterator-based iteration for DHEs
|
|
PXDDAQDHEStatus & | dhe_back () |
| Returns PXDDAQDHEStatus for last DHE.
|
|
size_t | dhe_size () const |
| Returns number of DHEs.
|
|
The PXD DAQ DHC Status class.
This is a small class that records information about PXD DAQ DHC status It will record if the data of sensors (readout by this DHC) is useable.
Definition at line 31 of file PXDDAQDHCStatus.h.