#include <HcalUnpackerReport.h>
Public Types | |
typedef std::vector< DetId > | DetIdVector |
typedef std::vector < HcalElectronicsId > | ElectronicsIdVector |
Public Member Functions | |
void | addError (int fed) |
void | addUnpacked (int fed) |
bool | anyValidHCAL () const |
DetIdVector::const_iterator | bad_quality_begin () const |
DetIdVector::const_iterator | bad_quality_end () const |
int | badQualityDigis () const |
int | busySpigots () const |
void | countBadQualityDigi () |
void | countBadQualityDigi (const DetId &did) |
void | countBusySpigot () |
void | countDigi () |
void | countEmptyEventSpigot () |
void | countOFWSpigot () |
void | countSpigotFormatError () |
void | countTPDigi (bool ho=false) |
void | countUnmappedDigi () |
void | countUnmappedDigi (const HcalElectronicsId &eid) |
void | countUnmappedTPDigi () |
void | countUnmappedTPDigi (const HcalElectronicsId &eid) |
int | emptyEventSpigots () const |
bool | errorFree () const |
HcalCalibrationEventType | fedCalibType (uint16_t fed) const |
const std::vector< int > & | getFedsError () const |
const std::vector< int > & | getFedsUnpacked () const |
std::string | getReportInfo (const std::string &name) const |
std::vector< std::string > | getReportKeys () const |
bool | hasFedWithCalib () const |
bool | hasReportInfo (const std::string &name) const |
HcalUnpackerReport () | |
int | OFWSpigots () const |
void | setFedCalibInfo (uint16_t fed, HcalCalibrationEventType ctype) |
void | setReportInfo (const std::string &name, const std::string &value) |
void | setUnsuppressed (bool isSup) |
int | spigotFormatErrors () const |
int | totalDigis () const |
int | totalHOTPDigis () const |
int | totalTPDigis () const |
ElectronicsIdVector::const_iterator | unmapped_begin () const |
ElectronicsIdVector::const_iterator | unmapped_end () const |
int | unmappedDigis () const |
int | unmappedTPDigis () const |
bool | unsuppressedChannels () const |
Private Attributes | |
int | badqualityDigis_ |
DetIdVector | badqualityIds_ |
int | busySpigots_ |
int | emptyEventSpigots_ |
std::vector< uint16_t > | fedInfo_ |
std::vector< int > | FEDsError_ |
std::vector< int > | FEDsUnpacked_ |
int | ofwSpigots_ |
std::vector< std::string > | reportInfo_ |
int | spigotFormatErrors_ |
int | totalDigis_ |
int | totalHOTPDigis_ |
int | totalTPDigis_ |
int | unmappedDigis_ |
ElectronicsIdVector | unmappedIds_ |
int | unmappedTPDigis_ |
bool | unsuppressed_ |
Definition at line 14 of file HcalUnpackerReport.h.
typedef std::vector<DetId> HcalUnpackerReport::DetIdVector |
Definition at line 39 of file HcalUnpackerReport.h.
typedef std::vector<HcalElectronicsId> HcalUnpackerReport::ElectronicsIdVector |
Definition at line 40 of file HcalUnpackerReport.h.
HcalUnpackerReport::HcalUnpackerReport | ( | ) |
Definition at line 3 of file HcalUnpackerReport.cc.
void HcalUnpackerReport::addError | ( | int | fed | ) |
void HcalUnpackerReport::addUnpacked | ( | int | fed | ) |
Definition at line 19 of file HcalUnpackerReport.cc.
References FEDsUnpacked_.
bool HcalUnpackerReport::anyValidHCAL | ( | ) | const |
Definition at line 15 of file HcalUnpackerReport.cc.
References FEDsUnpacked_.
|
inline |
|
inline |
|
inline |
|
inline |
void HcalUnpackerReport::countBadQualityDigi | ( | ) |
Definition at line 48 of file HcalUnpackerReport.cc.
References badqualityDigis_.
Referenced by CastorDataFrameFilter::filter(), and HcalDataFrameFilter::filter().
void HcalUnpackerReport::countBadQualityDigi | ( | const DetId & | did | ) |
Definition at line 51 of file HcalUnpackerReport.cc.
References badqualityDigis_, and badqualityIds_.
void HcalUnpackerReport::countBusySpigot | ( | ) |
Definition at line 46 of file HcalUnpackerReport.cc.
References busySpigots_.
Referenced by HcalUnpacker::unpackVME().
void HcalUnpackerReport::countDigi | ( | ) |
void HcalUnpackerReport::countEmptyEventSpigot | ( | ) |
Definition at line 44 of file HcalUnpackerReport.cc.
References emptyEventSpigots_.
Referenced by HcalUnpacker::unpackVME().
void HcalUnpackerReport::countOFWSpigot | ( | ) |
Definition at line 45 of file HcalUnpackerReport.cc.
References ofwSpigots_.
Referenced by HcalUnpacker::unpackVME().
void HcalUnpackerReport::countSpigotFormatError | ( | ) |
Definition at line 41 of file HcalUnpackerReport.cc.
References spigotFormatErrors_.
Referenced by CastorCtdcUnpacker::unpack(), CastorUnpacker::unpack(), ZdcUnpacker::unpack(), HcalUnpacker::unpackUTCA(), and HcalUnpacker::unpackVME().
void HcalUnpackerReport::countTPDigi | ( | bool | ho = false | ) |
void HcalUnpackerReport::countUnmappedDigi | ( | ) |
Definition at line 35 of file HcalUnpackerReport.cc.
References unmappedDigis_.
Referenced by CastorCtdcUnpacker::unpack(), CastorUnpacker::unpack(), ZdcUnpacker::unpack(), HcalUnpacker::unpackUTCA(), and HcalUnpacker::unpackVME().
void HcalUnpackerReport::countUnmappedDigi | ( | const HcalElectronicsId & | eid | ) |
void HcalUnpackerReport::countUnmappedTPDigi | ( | ) |
Definition at line 38 of file HcalUnpackerReport.cc.
References unmappedTPDigis_.
Referenced by HcalUnpacker::unpackUTCA(), and HcalUnpacker::unpackVME().
void HcalUnpackerReport::countUnmappedTPDigi | ( | const HcalElectronicsId & | eid | ) |
|
inline |
bool HcalUnpackerReport::errorFree | ( | ) | const |
Definition at line 11 of file HcalUnpackerReport.cc.
References FEDsError_, and spigotFormatErrors_.
HcalCalibrationEventType HcalUnpackerReport::fedCalibType | ( | uint16_t | fed | ) | const |
Definition at line 64 of file HcalUnpackerReport.cc.
|
inline |
|
inline |
Definition at line 17 of file HcalUnpackerReport.h.
References FEDsUnpacked_.
std::string HcalUnpackerReport::getReportInfo | ( | const std::string & | name | ) | const |
Definition at line 105 of file HcalUnpackerReport.cc.
References i, reportInfo_, ReportSeparator(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector< std::string > HcalUnpackerReport::getReportKeys | ( | ) | const |
Definition at line 117 of file HcalUnpackerReport.cc.
References i, reportInfo_, and ReportSeparator().
|
inline |
bool HcalUnpackerReport::hasReportInfo | ( | const std::string & | name | ) | const |
Definition at line 98 of file HcalUnpackerReport.cc.
References i, reportInfo_, ReportSeparator(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
void HcalUnpackerReport::setFedCalibInfo | ( | uint16_t | fed, |
HcalCalibrationEventType | ctype | ||
) |
Definition at line 75 of file HcalUnpackerReport.cc.
void HcalUnpackerReport::setReportInfo | ( | const std::string & | name, |
const std::string & | value | ||
) |
Definition at line 94 of file HcalUnpackerReport.cc.
References reportInfo_.
void HcalUnpackerReport::setUnsuppressed | ( | bool | isSup | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 72 of file HcalUnpackerReport.h.
Referenced by badQualityDigis(), and countBadQualityDigi().
|
private |
Definition at line 74 of file HcalUnpackerReport.h.
Referenced by bad_quality_begin(), bad_quality_end(), and countBadQualityDigi().
|
private |
Definition at line 81 of file HcalUnpackerReport.h.
Referenced by busySpigots(), and countBusySpigot().
|
private |
Definition at line 81 of file HcalUnpackerReport.h.
Referenced by countEmptyEventSpigot(), and emptyEventSpigots().
|
private |
Definition at line 79 of file HcalUnpackerReport.h.
Referenced by fedCalibType(), hasFedWithCalib(), and setFedCalibInfo().
|
private |
Definition at line 70 of file HcalUnpackerReport.h.
Referenced by addError(), errorFree(), and getFedsError().
|
private |
Definition at line 69 of file HcalUnpackerReport.h.
Referenced by addUnpacked(), anyValidHCAL(), and getFedsUnpacked().
|
private |
Definition at line 81 of file HcalUnpackerReport.h.
Referenced by countOFWSpigot(), and OFWSpigots().
|
private |
Definition at line 78 of file HcalUnpackerReport.h.
Referenced by getReportInfo(), getReportKeys(), hasReportInfo(), and setReportInfo().
|
private |
Definition at line 72 of file HcalUnpackerReport.h.
Referenced by countSpigotFormatError(), errorFree(), and spigotFormatErrors().
|
private |
Definition at line 73 of file HcalUnpackerReport.h.
Referenced by countDigi(), and totalDigis().
|
private |
Definition at line 73 of file HcalUnpackerReport.h.
Referenced by countTPDigi(), and totalHOTPDigis().
|
private |
Definition at line 73 of file HcalUnpackerReport.h.
Referenced by countTPDigi(), and totalTPDigis().
|
private |
Definition at line 71 of file HcalUnpackerReport.h.
Referenced by countUnmappedDigi(), and unmappedDigis().
|
private |
Definition at line 75 of file HcalUnpackerReport.h.
Referenced by countUnmappedDigi(), countUnmappedTPDigi(), unmapped_begin(), and unmapped_end().
|
private |
Definition at line 71 of file HcalUnpackerReport.h.
Referenced by countUnmappedTPDigi(), and unmappedTPDigis().
|
private |
Definition at line 76 of file HcalUnpackerReport.h.
Referenced by setUnsuppressed(), and unsuppressedChannels().