CSC Format Status Object. More...
#include <CSCDCCFormatStatusDigi.h>
Public Member Functions | |
CSCDCCFormatStatusDigi (const DCCIdType DCCId_, const ExaminerMaskType fDCC_MASK_, const ExaminerMaskType fCSC_MASK_, const ExaminerStatusType fDDU_SUMMARY_ERRORS_, const std::map< DDUIdType, ExaminerStatusType > &mDDU_ERRORS_, const std::map< CSCIdType, ExaminerStatusType > &mCSC_ERRORS_, const std::map< CSCIdType, ExaminerStatusType > &mCSC_PAYLOADS_, const std::map< CSCIdType, ExaminerStatusType > &mCSC_STATUS_) | |
Constructor. More... | |
CSCDCCFormatStatusDigi (const DCCIdType DCCId_) | |
CSCDCCFormatStatusDigi () | |
Default constructor. More... | |
bool | getCSCErrorFlag (const CSCIdType CSCId, const FormatErrorFlag flag) const |
bool | getCSCErrorFlag (const uint16_t crateId, const uint16_t dmbId, const FormatErrorFlag flag) const |
ExaminerStatusType | getCSCErrors (const CSCIdType CSCId) const |
ExaminerStatusType | getCSCErrors (const uint16_t crateId, const uint16_t dmbId) const |
ExaminerMaskType | getCSCMask () const |
ExaminerStatusType | getCSCPayload (const CSCIdType CSCId) const |
ExaminerStatusType | getCSCPayload (const uint16_t crateId, const uint16_t dmbId) const |
bool | getCSCPayloadFlag (const CSCIdType CSCId, const CSCPayloadFlag flag) const |
bool | getCSCPayloadFlag (const uint16_t crateId, const uint16_t dmbId, const CSCPayloadFlag flag) const |
ExaminerStatusType | getCSCStatus (const CSCIdType CSCId) const |
ExaminerStatusType | getCSCStatus (const uint16_t crateId, const uint16_t dmbId) const |
bool | getCSCStatusFlag (const CSCIdType CSCId, const CSCStatusFlag flag) const |
bool | getCSCStatusFlag (const uint16_t crateId, const uint16_t dmbId, const CSCStatusFlag flag) const |
DCCIdType | getDCCId () const |
ExaminerMaskType | getDCCMask () const |
bool | getDDUErrorFlag (const DDUIdType DDUId, const FormatErrorFlag flag) const |
ExaminerStatusType | getDDUErrors (const DDUIdType DDUId) const |
ExaminerStatusType | getDDUSummaryErrors () const |
bool | getDDUSummaryFlag (const FormatErrorFlag flag) const |
std::set< CSCIdType > | getListOfCSCs () const |
std::set< CSCIdType > | getListOfCSCsWithErrors () const |
std::set< DDUIdType > | getListOfDDUs () const |
bool | nextCSCWithError (uint32_t &iterator, CSCIdType &CSCId) const |
CSC with error iteration procedure. Usage: unsigned int i = 0; CSCIdType cscId; while (c.nextCSCWithError(i, cscId)) { // do stuff }. More... | |
bool | nextCSCWithPayload (uint32_t &iterator, CSCIdType &CSCId) const |
CSC with payload iteration procedure. More... | |
bool | nextCSCWithStatus (uint32_t &iterator, CSCIdType &CSCId) const |
CSC with status iteration procedure. More... | |
void | print () const |
Debug. More... | |
void | setDCCExaminerInfo (const ExaminerMaskType fDCC_MASK_, const ExaminerMaskType fCSC_MASK_, const ExaminerStatusType fDDU_SUMMARY_ERRORS_, const std::map< DDUIdType, ExaminerStatusType > &mDDU_ERRORS_, const std::map< CSCIdType, ExaminerStatusType > &mCSC_ERRORS_, const std::map< CSCIdType, ExaminerStatusType > &mCSC_PAYLOADS_, const std::map< CSCIdType, ExaminerStatusType > &mCSC_STATUS_) |
Fill internal data structures using Examiner object. More... | |
Protected Member Functions | |
void | init () |
Init internal data stuctures. More... | |
CSCIdType | makeCSCId (const uint16_t crateId, const uint16_t dmbId) const |
Make CSCIdType from Crate and DMB IDs. More... | |
Private Attributes | |
DCCIdType | DCCId |
ExaminerMaskType | fCSC_MASK |
ExaminerMaskType | fDCC_MASK |
ExaminerStatusType | fDDU_SUMMARY_ERRORS |
std::map< CSCIdType, ExaminerStatusType > | mCSC_ERRORS |
std::map< CSCIdType, ExaminerStatusType > | mCSC_PAYLOADS |
std::map< CSCIdType, ExaminerStatusType > | mCSC_STATUS |
std::map< DDUIdType, ExaminerStatusType > | mDDU_ERRORS |
CSC Format Status Object.
Definition at line 164 of file CSCDCCFormatStatusDigi.h.
|
inline |
Constructor.
fDCC_MASK_ | DCC Examiner mask used (for information purposes). |
fCSC_MASK_ | Examiner mask per chamber |
fDDU_SUMMARY_ERRORS_ | Cumulative DDUs errors status |
mDDU_ERRORS_ | List of errors per DDU |
mCSC_ERRORS_ | List of errors per CSC |
mCSC_PAYLOADS_ | List of payloads per CSC |
mCSC_STATUS_ | List of statuses per CSC |
Definition at line 219 of file CSCDCCFormatStatusDigi.h.
References init(), and setDCCExaminerInfo().
|
inline |
Definition at line 233 of file CSCDCCFormatStatusDigi.h.
References init().
|
inline |
Default constructor.
Definition at line 237 of file CSCDCCFormatStatusDigi.h.
References init().
|
inline |
Definition at line 401 of file CSCDCCFormatStatusDigi.h.
References getCSCErrors().
|
inline |
Definition at line 404 of file CSCDCCFormatStatusDigi.h.
References getCSCErrors().
|
inline |
Definition at line 350 of file CSCDCCFormatStatusDigi.h.
References mCSC_ERRORS.
Referenced by getCSCErrorFlag(), getCSCErrors(), operator<<(), print(), and cscdqm::EventProcessor::processExaminer().
|
inline |
Definition at line 355 of file CSCDCCFormatStatusDigi.h.
References getCSCErrors(), and makeCSCId().
|
inline |
Return CSC level Errors Mask
Definition at line 390 of file CSCDCCFormatStatusDigi.h.
References fCSC_MASK.
Referenced by operator<<(), and print().
|
inline |
Definition at line 359 of file CSCDCCFormatStatusDigi.h.
References mCSC_PAYLOADS.
Referenced by getCSCPayload(), getCSCPayloadFlag(), print(), and cscdqm::EventProcessor::processExaminer().
|
inline |
Definition at line 364 of file CSCDCCFormatStatusDigi.h.
References getCSCPayload(), and makeCSCId().
|
inline |
Definition at line 407 of file CSCDCCFormatStatusDigi.h.
References getCSCPayload().
|
inline |
Definition at line 410 of file CSCDCCFormatStatusDigi.h.
References getCSCPayload().
|
inline |
Definition at line 368 of file CSCDCCFormatStatusDigi.h.
References mCSC_STATUS.
Referenced by getCSCStatus(), getCSCStatusFlag(), operator<<(), print(), and cscdqm::EventProcessor::processExaminer().
|
inline |
Definition at line 373 of file CSCDCCFormatStatusDigi.h.
References getCSCStatus(), and makeCSCId().
|
inline |
Definition at line 413 of file CSCDCCFormatStatusDigi.h.
References getCSCStatus().
|
inline |
Definition at line 416 of file CSCDCCFormatStatusDigi.h.
References getCSCStatus().
|
inline |
Definition at line 380 of file CSCDCCFormatStatusDigi.h.
References DCCId.
Referenced by operator<<(), and print().
|
inline |
Return DCC/DDU level Errors Mask
Definition at line 385 of file CSCDCCFormatStatusDigi.h.
References fDCC_MASK.
Referenced by operator<<(), and print().
|
inline |
Definition at line 398 of file CSCDCCFormatStatusDigi.h.
References getDDUErrors().
|
inline |
Definition at line 344 of file CSCDCCFormatStatusDigi.h.
References mDDU_ERRORS.
Referenced by getDDUErrorFlag(), operator<<(), print(), and cscdqm::EventProcessor::processExaminer().
|
inline |
Getters for complete mask by using internal identifiers. Mostly to be used by examiner and old/current code. Return DCC/DDU level Error Status
Definition at line 342 of file CSCDCCFormatStatusDigi.h.
References fDDU_SUMMARY_ERRORS.
Referenced by operator<<(), print(), and cscdqm::EventProcessor::processExaminer().
|
inline |
Flag Getters for individual named masks.
Definition at line 396 of file CSCDCCFormatStatusDigi.h.
References fDDU_SUMMARY_ERRORS.
|
inline |
Definition at line 285 of file CSCDCCFormatStatusDigi.h.
References getKeysList(), and mCSC_PAYLOADS.
Referenced by operator<<(), and print().
|
inline |
Definition at line 289 of file CSCDCCFormatStatusDigi.h.
References getKeysList(), and mCSC_ERRORS.
|
inline |
Get lists of DDUs and CSCs Loop iterators for CSCs
Definition at line 281 of file CSCDCCFormatStatusDigi.h.
References getKeysList(), and mDDU_ERRORS.
Referenced by operator<<(), print(), and cscdqm::EventProcessor::processExaminer().
|
inlineprotected |
Init internal data stuctures.
Definition at line 197 of file CSCDCCFormatStatusDigi.h.
References fCSC_MASK, fDCC_MASK, fDDU_SUMMARY_ERRORS, mCSC_ERRORS, mCSC_PAYLOADS, mCSC_STATUS, and mDDU_ERRORS.
Referenced by CSCDCCFormatStatusDigi().
|
inlineprotected |
Make CSCIdType from Crate and DMB IDs.
Definition at line 193 of file CSCDCCFormatStatusDigi.h.
Referenced by getCSCErrors(), getCSCPayload(), and getCSCStatus().
|
inline |
CSC with error iteration procedure. Usage: unsigned int i = 0; CSCIdType cscId; while (c.nextCSCWithError(i, cscId)) { // do stuff }.
iterator | Integer iterator (incremented automatically) |
CSCId | CSC id to return |
Definition at line 306 of file CSCDCCFormatStatusDigi.h.
References mCSC_ERRORS, and nextInMap().
Referenced by cscdqm::EventProcessor::processExaminer().
|
inline |
CSC with payload iteration procedure.
iterator | Integer iterator (incremented automatically) |
CSCId | CSC id to return |
Definition at line 328 of file CSCDCCFormatStatusDigi.h.
References mCSC_PAYLOADS, and nextInMap().
Referenced by cscdqm::EventProcessor::processExaminer().
|
inline |
CSC with status iteration procedure.
iterator | Integer iterator (incremented automatically) |
CSCId | CSC id to return |
Definition at line 317 of file CSCDCCFormatStatusDigi.h.
References mCSC_STATUS, and nextInMap().
Referenced by cscdqm::EventProcessor::processExaminer().
void CSCDCCFormatStatusDigi::print | ( | void | ) | const |
Debug.
Definition at line 54 of file CSCDCCFormatStatusDigi.cc.
References TauDecayModes::dec, getCSCErrors(), getCSCMask(), getCSCPayload(), getCSCStatus(), getDCCId(), getDCCMask(), getDDUErrors(), getDDUSummaryErrors(), getListOfCSCs(), and getListOfDDUs().
void CSCDCCFormatStatusDigi::setDCCExaminerInfo | ( | const ExaminerMaskType | fDCC_MASK_, |
const ExaminerMaskType | fCSC_MASK_, | ||
const ExaminerStatusType | fDDU_SUMMARY_ERRORS_, | ||
const std::map< DDUIdType, ExaminerStatusType > & | mDDU_ERRORS_, | ||
const std::map< CSCIdType, ExaminerStatusType > & | mCSC_ERRORS_, | ||
const std::map< CSCIdType, ExaminerStatusType > & | mCSC_PAYLOADS_, | ||
const std::map< CSCIdType, ExaminerStatusType > & | mCSC_STATUS_ | ||
) |
Fill internal data structures using Examiner object.
setExaminerInfo
fDCC_MASK_ | DCC Examiner mask used (for information purposes). |
fCSC_MASK_ | Examiner mask per chamber |
fDDU_SUMMARY_ERRORS_ | Cumulative DDUs errors status |
mDDU_ERRORS_ | List of errors per DDU |
mCSC_ERRORS_ | List of errors per CSC |
mCSC_PAYLOADS_ | List of payloads per CSC |
mCSC_STATUS_ | List of statuses per CSC |
Definition at line 35 of file CSCDCCFormatStatusDigi.cc.
References fCSC_MASK, fDCC_MASK, fDDU_SUMMARY_ERRORS, mCSC_ERRORS, mCSC_PAYLOADS, mCSC_STATUS, and mDDU_ERRORS.
Referenced by CSCDCCFormatStatusDigi().
|
private |
|
private |
CSC Examiner mask used
Definition at line 177 of file CSCDCCFormatStatusDigi.h.
Referenced by getCSCMask(), init(), and setDCCExaminerInfo().
|
private |
Internal mask storage variables and containers.DCC Examiner mask used
Definition at line 174 of file CSCDCCFormatStatusDigi.h.
Referenced by getDCCMask(), init(), and setDCCExaminerInfo().
|
private |
DCC Level summary errors
Definition at line 183 of file CSCDCCFormatStatusDigi.h.
Referenced by getDDUSummaryErrors(), getDDUSummaryFlag(), init(), and setDCCExaminerInfo().
|
private |
Definition at line 186 of file CSCDCCFormatStatusDigi.h.
Referenced by getCSCErrors(), getListOfCSCsWithErrors(), init(), nextCSCWithError(), and setDCCExaminerInfo().
|
private |
Definition at line 187 of file CSCDCCFormatStatusDigi.h.
Referenced by getCSCPayload(), getListOfCSCs(), init(), nextCSCWithPayload(), and setDCCExaminerInfo().
|
private |
Definition at line 188 of file CSCDCCFormatStatusDigi.h.
Referenced by getCSCStatus(), init(), nextCSCWithStatus(), and setDCCExaminerInfo().
|
private |
Definition at line 185 of file CSCDCCFormatStatusDigi.h.
Referenced by getDDUErrors(), getListOfDDUs(), init(), and setDCCExaminerInfo().