#include <DTDataIntegrityTask.h>
Public Member Functions | |
DTDataIntegrityTask (const edm::ParameterSet &ps, edm::ActivityRegistry ®) | |
bool | eventHasErrors () const |
void | fedEntry (int dduID) |
void | fedFatal (int dduID) |
void | fedNonFatal (int dduID) |
void | postBeginJob () |
void | postEndJob () |
void | preBeginLumi (const edm::LuminosityBlockID &ls, const edm::Timestamp &iTime) |
void | preEndLumi (const edm::LuminosityBlockID &ls, const edm::Timestamp &iTime) |
void | preProcessEvent (const edm::EventID &iEvtid, const edm::Timestamp &iTime) |
void | processFED (DTDDUData &dduData, const std::vector< DTROS25Data > &rosData, int dduID) |
void | processROS25 (DTROS25Data &data, int dduID, int ros) |
void | TimeHistos (std::string histoType) |
virtual | ~DTDataIntegrityTask () |
Public Member Functions inherited from DTDataMonitorInterface | |
DTDataMonitorInterface () | |
virtual | ~DTDataMonitorInterface () |
Private Member Functions | |
void | bookHistos (const int fedMin, const int fedMax) |
void | bookHistos (std::string folder, DTROChainCoding code) |
void | bookHistosROS25 (DTROChainCoding code) |
void | channelsInCEROS (int cerosId, int chMask, std::vector< int > &channels) |
void | channelsInROS (int cerosMask, std::vector< int > &channels) |
std::string | topFolder (bool isFEDIntegrity) const |
Private Attributes | |
DTROChainCoding | coding |
DQMStore * | dbe |
std::map< std::string, std::map< int, MonitorElement * > > | dduHistos |
std::map< std::string, std::map< int, DTTimeEvolutionHisto * > > | dduTimeHistos |
bool | doTimeHisto |
bool | eventErrorFlag |
std::set< int > | fedBXIds |
std::string | fedIntegrityFolder |
bool | getSCInfo |
MonitorElement * | hCorruptionSummary |
MonitorElement * | hFEDEntry |
MonitorElement * | hFEDFatal |
MonitorElement * | hFEDNonFatal |
MonitorElement * | hTTSSummary |
std::multimap< std::string, std::string >::iterator | it |
int | mode |
int | myPrevEv |
int | myPrevFifoVal [7] |
int | myPrevRosVal |
int | myPrevTtsVal |
std::multimap< std::string, std::string > | names |
MonitorElement * | nEventMonitor |
int | nevents |
int | neventsDDU |
int | nEventsLS |
int | neventsROS25 |
std::string | outputFile |
edm::ParameterSet | parameters |
double | rob_max [25] |
std::map< std::string, std::map< int, MonitorElement * > > | robHistos |
std::map< int, std::set< int > > | rosBxIdsPerFED |
std::map< std::string, std::map< int, MonitorElement * > > | rosHistos |
std::map< int, std::set< int > > | rosL1AIdsPerFED |
std::map< std::string, std::map< int, MonitorElement * > > | rosSHistos |
std::map< std::string, std::map< int, DTTimeEvolutionHisto * > > | rosTimeHistos |
float | trigger_counter |
Class for DT Data Integrity.
Definition at line 37 of file DTDataIntegrityTask.h.
|
explicit |
Definition at line 35 of file DTDataIntegrityTask.cc.
References edm::hlt::Exception, fedIntegrityFolder, getSCInfo, edm::ParameterSet::getUntrackedParameter(), LogTrace, mode, neventsDDU, neventsROS25, postBeginJob(), preBeginLumi(), preEndLumi(), preProcessEvent(), dtDQMClient_cfg::processingMode, edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPreBeginLumi(), edm::ActivityRegistry::watchPreEndLumi(), and edm::ActivityRegistry::watchPreProcessEvent().
|
virtual |
|
private |
Definition at line 104 of file DTDataIntegrityTask.cc.
References DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookFloat(), dbe, hCorruptionSummary, hFEDEntry, hFEDFatal, hFEDNonFatal, hTTSSummary, nEventMonitor, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), and topFolder().
Referenced by bookHistosROS25(), and postBeginJob().
|
private |
|
private |
Definition at line 526 of file DTDataIntegrityTask.cc.
References bookHistos(), getSCInfo, and mode.
Referenced by postBeginJob().
|
private |
Definition at line 1184 of file DTDataIntegrityTask.cc.
Referenced by processROS25().
|
private |
Definition at line 1193 of file DTDataIntegrityTask.cc.
Referenced by processROS25().
bool DTDataIntegrityTask::eventHasErrors | ( | ) | const |
Definition at line 1148 of file DTDataIntegrityTask.cc.
References eventErrorFlag.
Referenced by DTDataErrorFilter::hltFilter().
|
virtual |
Implements DTDataMonitorInterface.
Definition at line 1155 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDEntry.
|
virtual |
Implements DTDataMonitorInterface.
Definition at line 1162 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDFatal.
|
virtual |
Implements DTDataMonitorInterface.
Definition at line 1169 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDNonFatal.
void DTDataIntegrityTask::postBeginJob | ( | ) |
Definition at line 1262 of file DTDataIntegrityTask.cc.
References bookHistos(), bookHistosROS25(), dbe, LogTrace, FEDNumbering::MAXDTFEDID, FEDNumbering::MINDTFEDID, cppFunctionSkipper::operator, DTROChainCoding::setDDU(), and DTROChainCoding::setROS().
Referenced by DTDataIntegrityTask().
void DTDataIntegrityTask::postEndJob | ( | ) |
void DTDataIntegrityTask::preBeginLumi | ( | const edm::LuminosityBlockID & | ls, |
const edm::Timestamp & | iTime | ||
) |
Definition at line 1230 of file DTDataIntegrityTask.cc.
References nEventsLS.
Referenced by DTDataIntegrityTask().
void DTDataIntegrityTask::preEndLumi | ( | const edm::LuminosityBlockID & | ls, |
const edm::Timestamp & | iTime | ||
) |
Definition at line 1236 of file DTDataIntegrityTask.cc.
References dduTimeHistos, edm::LuminosityBlockID::luminosityBlock(), nEventsLS, and rosTimeHistos.
Referenced by DTDataIntegrityTask().
void DTDataIntegrityTask::preProcessEvent | ( | const edm::EventID & | iEvtid, |
const edm::Timestamp & | iTime | ||
) |
Definition at line 1204 of file DTDataIntegrityTask.cc.
References eventErrorFlag, fedBXIds, MonitorElement::Fill(), LogTrace, python.multivaluedict::map(), nEventMonitor, nevents, nEventsLS, rosBxIdsPerFED, and rosL1AIdsPerFED.
Referenced by DTDataIntegrityTask().
|
virtual |
Implements DTDataMonitorInterface.
Definition at line 861 of file DTDataIntegrityTask.cc.
References DTDDUSecondStatusWord::busyROSPAF(), FEDHeader::bxID(), DTDDUSecondStatusWord::bxIDError(), FEDTrailer::check(), FEDHeader::check(), DTDDUData::crcErrorBit(), dduHistos, dduTimeHistos, fedBXIds, DTDDUSecondStatusWord::fifoAlmostFull(), DTDDUSecondStatusWord::fifoFull(), MonitorElement::Fill(), DTDDUData::getDDUHeader(), DTROChainCoding::getDDUID(), DTDDUData::getDDUTrailer(), DTDDUData::getFirstStatusWord(), DTDDUData::getSecondStatusWord(), hCorruptionSummary, hFEDEntry, hFEDFatal, hTTSSummary, i, DTDDUSecondStatusWord::inputFifoAlmostFull(), DTDDUSecondStatusWord::inputFifoFull(), DTDDUSecondStatusWord::l1AIDError(), FEDTrailer::lenght(), LogTrace, FEDHeader::lvl1ID(), mode, neventsDDU, DTDDUSecondStatusWord::outOfSynchROSError(), DTDDUSecondStatusWord::outputFifoAlmostFull(), DTDDUSecondStatusWord::outputFifoFull(), rosBxIdsPerFED, rosL1AIdsPerFED, DTDDUSecondStatusWord::rosList(), DTROChainCoding::setDDU(), FEDHeader::triggerType(), FEDTrailer::ttsBits(), and DTDDUSecondStatusWord::warningROSPAF().
|
virtual |
Implements DTDataMonitorInterface.
Definition at line 538 of file DTDataIntegrityTask.cc.
References DTROBHeaderWord::bunchID(), channelsInCEROS(), channelsInROS(), eventErrorFlag, DTROSTrailerWord::EventWordCount(), MonitorElement::Fill(), FirstRos, DTROChainCoding::getDDUID(), DTROChainCoding::getROB(), DTROS25Data::getROBHeaders(), DTROS25Data::getROBTrailers(), DTROChainCoding::getROS(), DTROS25Data::getROSDebugs(), DTROS25Data::getROSErrors(), DTROS25Data::getROSHeader(), DTROChainCoding::getROSID(), DTROS25Data::getROSTrailer(), DTROChainCoding::getSCID(), getSCInfo, DTROS25Data::getSCPrivHeader(), DTROS25Data::getSCTrailer(), DTROS25Data::getTDCData(), DTROS25Data::getTDCError(), DTROSTrailerWord::l1AFifoOccupancy(), LogTrace, mode, nevents, neventsROS25, DTLocalTriggerSectorCollectorHeaderWord::NumberOf16bitWords(), DTTDCMeasurementWord::PC(), ResetCount_unfolded, DTROBHeaderWord::robID(), rosBxIdsPerFED, rosHistos, rosL1AIdsPerFED, rosSHistos, rosTimeHistos, ROSWords_t(), DTROChainCoding::setDDU(), DTROChainCoding::setROB(), DTROChainCoding::setROS(), DTROSTrailerWord::TPX(), DTROSHeaderWord::TTCEventCounter(), and DTLocalTriggerTrailerWord::wordCount().
void DTDataIntegrityTask::TimeHistos | ( | std::string | histoType | ) |
Definition at line 490 of file DTDataIntegrityTask.cc.
References newFWLiteAna::bin, dbe, DQMStore::get(), MonitorElement::getBinContent(), MonitorElement::getNbinsX(), MonitorElement::getNbinsY(), it, j, names, and MonitorElement::setAxisRange().
|
private |
Definition at line 1173 of file DTDataIntegrityTask.cc.
References fedIntegrityFolder, and mode.
Referenced by bookHistos().
|
private |
Definition at line 91 of file DTDataIntegrityTask.h.
|
private |
Definition at line 89 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), postBeginJob(), and TimeHistos().
|
private |
Definition at line 96 of file DTDataIntegrityTask.h.
Referenced by processFED().
|
private |
Definition at line 114 of file DTDataIntegrityTask.h.
Referenced by preEndLumi(), and processFED().
|
private |
Definition at line 82 of file DTDataIntegrityTask.h.
|
private |
Definition at line 135 of file DTDataIntegrityTask.h.
Referenced by eventHasErrors(), preProcessEvent(), and processROS25().
|
private |
Definition at line 138 of file DTDataIntegrityTask.h.
Referenced by preProcessEvent(), and processFED().
|
private |
Definition at line 143 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and topFolder().
|
private |
Definition at line 84 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS25(), DTDataIntegrityTask(), and processROS25().
|
private |
Definition at line 108 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 105 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedEntry(), and processFED().
|
private |
Definition at line 106 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedFatal(), and processFED().
|
private |
Definition at line 107 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and fedNonFatal().
|
private |
Definition at line 111 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 77 of file DTDataIntegrityTask.h.
Referenced by TimeHistos().
|
private |
Definition at line 142 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS25(), DTDataIntegrityTask(), processFED(), processROS25(), and topFolder().
|
private |
Definition at line 126 of file DTDataIntegrityTask.h.
|
private |
Definition at line 131 of file DTDataIntegrityTask.h.
|
private |
Definition at line 130 of file DTDataIntegrityTask.h.
|
private |
Definition at line 129 of file DTDataIntegrityTask.h.
|
private |
Definition at line 76 of file DTDataIntegrityTask.h.
Referenced by TimeHistos().
|
private |
Definition at line 94 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and preProcessEvent().
|
private |
Definition at line 86 of file DTDataIntegrityTask.h.
Referenced by preProcessEvent(), and processROS25().
|
private |
Definition at line 119 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), processFED(), and ~DTDataIntegrityTask().
|
private |
Definition at line 117 of file DTDataIntegrityTask.h.
Referenced by preBeginLumi(), preEndLumi(), and preProcessEvent().
|
private |
Definition at line 120 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and processROS25().
|
private |
Definition at line 122 of file DTDataIntegrityTask.h.
|
private |
Definition at line 79 of file DTDataIntegrityTask.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 123 of file DTDataIntegrityTask.h.
|
private |
Definition at line 102 of file DTDataIntegrityTask.h.
|
private |
Definition at line 137 of file DTDataIntegrityTask.h.
Referenced by preProcessEvent(), processFED(), and processROS25().
|
private |
Definition at line 100 of file DTDataIntegrityTask.h.
Referenced by processROS25().
|
private |
Definition at line 139 of file DTDataIntegrityTask.h.
Referenced by preProcessEvent(), processFED(), and processROS25().
|
private |
Definition at line 98 of file DTDataIntegrityTask.h.
Referenced by processROS25().
|
private |
Definition at line 115 of file DTDataIntegrityTask.h.
Referenced by preEndLumi(), and processROS25().
|
private |
Definition at line 121 of file DTDataIntegrityTask.h.