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 160 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 211 of file CSCDCCFormatStatusDigi.h.
References init(), and setDCCExaminerInfo().
|
inline |
Definition at line 225 of file CSCDCCFormatStatusDigi.h.
References init().
|
inline |
Default constructor.
Definition at line 228 of file CSCDCCFormatStatusDigi.h.
References triggerObjects_cff::id, init(), RecoTauDiscriminantConfiguration::mask, setDCCExaminerInfo(), and mps_update::status.
|
inline |
Definition at line 405 of file CSCDCCFormatStatusDigi.h.
References getCSCErrors(), and globals_cff::x1.
|
inline |
Definition at line 409 of file CSCDCCFormatStatusDigi.h.
References getCSCErrors(), and globals_cff::x1.
|
inline |
Definition at line 343 of file CSCDCCFormatStatusDigi.h.
Referenced by getCSCErrorFlag(), getCSCErrors(), operator<<(), print(), and cscdqm::EventProcessor::processExaminer().
|
inline |
Definition at line 351 of file CSCDCCFormatStatusDigi.h.
References getCSCErrors(), and makeCSCId().
|
inline |
Return CSC level Errors Mask
Definition at line 392 of file CSCDCCFormatStatusDigi.h.
References fCSC_MASK.
Referenced by operator<<(), and print().
|
inline |
Definition at line 355 of file CSCDCCFormatStatusDigi.h.
Referenced by getCSCPayload(), getCSCPayloadFlag(), operator<<(), print(), and cscdqm::EventProcessor::processExaminer().
|
inline |
Definition at line 363 of file CSCDCCFormatStatusDigi.h.
References getCSCPayload(), and makeCSCId().
|
inline |
Definition at line 413 of file CSCDCCFormatStatusDigi.h.
References getCSCPayload(), and globals_cff::x1.
|
inline |
Definition at line 417 of file CSCDCCFormatStatusDigi.h.
References getCSCPayload(), and globals_cff::x1.
|
inline |
Definition at line 367 of file CSCDCCFormatStatusDigi.h.
Referenced by getCSCStatus(), getCSCStatusFlag(), operator<<(), print(), and cscdqm::EventProcessor::processExaminer().
|
inline |
Definition at line 375 of file CSCDCCFormatStatusDigi.h.
References getCSCStatus(), and makeCSCId().
|
inline |
Definition at line 421 of file CSCDCCFormatStatusDigi.h.
References getCSCStatus(), and globals_cff::x1.
|
inline |
Definition at line 425 of file CSCDCCFormatStatusDigi.h.
References getCSCStatus(), connectstrParser::o, operator<<(), print(), and globals_cff::x1.
|
inline |
Definition at line 382 of file CSCDCCFormatStatusDigi.h.
References DCCId.
Referenced by operator<<(), and print().
|
inline |
Return DCC/DDU level Errors Mask
Definition at line 387 of file CSCDCCFormatStatusDigi.h.
References fDCC_MASK.
Referenced by operator<<(), and print().
|
inline |
Definition at line 401 of file CSCDCCFormatStatusDigi.h.
References getDDUErrors(), and globals_cff::x1.
|
inline |
Definition at line 335 of file CSCDCCFormatStatusDigi.h.
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 333 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 398 of file CSCDCCFormatStatusDigi.h.
References globals_cff::x1.
|
inline |
Definition at line 285 of file CSCDCCFormatStatusDigi.h.
References getKeysList().
Referenced by operator<<(), and print().
|
inline |
Definition at line 287 of file CSCDCCFormatStatusDigi.h.
References getKeysList().
|
inline |
Get lists of DDUs and CSCs Loop iterators for CSCs
Definition at line 283 of file CSCDCCFormatStatusDigi.h.
References getKeysList().
Referenced by operator<<(), print(), and cscdqm::EventProcessor::processExaminer().
|
inlineprotected |
Init internal data stuctures.
Definition at line 190 of file CSCDCCFormatStatusDigi.h.
Referenced by CSCDCCFormatStatusDigi().
|
inlineprotected |
Make CSCIdType from Crate and DMB IDs.
Definition at line 185 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 302 of file CSCDCCFormatStatusDigi.h.
References 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 320 of file CSCDCCFormatStatusDigi.h.
References 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 311 of file CSCDCCFormatStatusDigi.h.
References nextInMap().
Referenced by cscdqm::EventProcessor::processExaminer().
void CSCDCCFormatStatusDigi::print | ( | void | ) | const |
Debug.
Definition at line 52 of file CSCDCCFormatStatusDigi.cc.
References TauDecayModes::dec, getCSCErrors(), getCSCMask(), getCSCPayload(), getCSCStatus(), getDCCId(), getDCCMask(), getDDUErrors(), getDDUSummaryErrors(), getListOfCSCs(), and getListOfDDUs().
Referenced by getCSCStatusFlag().
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 170 of file CSCDCCFormatStatusDigi.h.
Referenced by getCSCMask(), and setDCCExaminerInfo().
|
private |
Internal mask storage variables and containers.DCC Examiner mask used
Definition at line 167 of file CSCDCCFormatStatusDigi.h.
Referenced by getDCCMask(), and setDCCExaminerInfo().
|
private |
DCC Level summary errors
Definition at line 176 of file CSCDCCFormatStatusDigi.h.
Referenced by getDDUSummaryErrors(), and setDCCExaminerInfo().
|
private |
Definition at line 179 of file CSCDCCFormatStatusDigi.h.
Referenced by setDCCExaminerInfo().
|
private |
Definition at line 180 of file CSCDCCFormatStatusDigi.h.
Referenced by setDCCExaminerInfo().
|
private |
Definition at line 181 of file CSCDCCFormatStatusDigi.h.
Referenced by setDCCExaminerInfo().
|
private |
Definition at line 178 of file CSCDCCFormatStatusDigi.h.
Referenced by setDCCExaminerInfo().