#include <DTDataIntegrityTask.h>
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginLuminosityBlock (const edm::LuminosityBlock &ls, const edm::EventSetup &es) override |
DTDataIntegrityTask (const edm::ParameterSet &ps) | |
void | endLuminosityBlock (const edm::LuminosityBlock &ls, const edm::EventSetup &es) override |
bool | eventHasErrors () const |
void | fedEntry (int dduID) |
void | fedFatal (int dduID) |
void | fedNonFatal (int dduID) |
void | processFED (DTuROSFEDData &data, int fed) |
void | processFED (DTDDUData &dduData, const std::vector< DTROS25Data > &rosData, int dduID) |
void | processROS25 (DTROS25Data &data, int dduID, int ros) |
void | processuROS (DTuROSROSData &data, int fed, int uRos) |
void | TimeHistos (DQMStore::IBooker &, std::string histoType) |
~DTDataIntegrityTask () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Protected Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Private Types | |
enum | histoTypes { uROSEventLength =0, uROSError =1, TDCError =4, TTSValues =7 } |
Private Member Functions | |
void | bookHistos (DQMStore::IBooker &, const int fedMin, const int fedMax) |
void | bookHistos (DQMStore::IBooker &, std::string folder, DTROChainCoding code) |
void | bookHistos (DQMStore::IBooker &, std::string folder, const int fed) |
void | bookHistosROS (DQMStore::IBooker &, const int wheel, const int ros) |
void | bookHistosROS25 (DQMStore::IBooker &, DTROChainCoding code) |
void | bookHistosuROS (DQMStore::IBooker &, const int fed, const int uRos) |
void | channelsInCEROS (int cerosId, int chMask, std::vector< int > &channels) |
void | channelsInROS (int cerosMask, std::vector< int > &channels) |
int | theDDU (int crate, int slot, int link, bool tenDDU) |
int | theROS (int slot, int link) |
std::string | topFolder (bool isFEDIntegrity) const |
Class for DT Data Integrity.
Definition at line 43 of file DTDataIntegrityTask.h.
|
private |
Enumerator | |
---|---|
uROSEventLength | |
uROSError | |
TDCError | |
TTSValues |
Definition at line 125 of file DTDataIntegrityTask.h.
DTDataIntegrityTask::DTDataIntegrityTask | ( | const edm::ParameterSet & | ps | ) |
Definition at line 31 of file DTDataIntegrityTask.cc.
References checkUros, dduToken, Exception, FEDIDmax, FEDIDmin, fedIntegrityFolder, fedToken, edm::ParameterSet::getParameter(), getSCInfo, edm::ParameterSet::getUntrackedParameter(), LogTrace, FEDNumbering::MAXDTFEDID, FEDNumbering::MAXDTUROSFEDID, FEDNumbering::MINDTFEDID, FEDNumbering::MINDTUROSFEDID, mode, neventsFED, neventsuROS, and ros25Token.
|
override |
|
override |
Definition at line 1858 of file DTDataIntegrityTask.cc.
References checkUros, dduToken, DOCESLOTS, eventErrorFlag, fedBXIds, FEDIDmax, FEDIDmin, fedToken, MonitorElement::Fill(), edm::Event::getByToken(), DTDDUData::getDDUHeader(), DTuROSFEDData::getfed(), DTuROSROSData::getslot(), DTuROSFEDData::getslotsize(), DTuROSFEDData::getuROS(), RecoTauValidation_cfi::header, mps_fire::i, edm::HandleBase::isValid(), LogTrace, genParticles_cff::map, mode, nEventMonitor, nevents, nEventsLS, processFED(), processROS25(), processuROS(), ros25Token, rosBxIdsPerFED, rosL1AIdsPerFED, and FEDHeader::sourceID().
|
override |
|
overrideprotected |
Definition at line 103 of file DTDataIntegrityTask.cc.
References bookHistos(), bookHistosROS(), bookHistosROS25(), bookHistosuROS(), checkUros, FEDIDmax, FEDIDmin, LogTrace, mode, NuROS, DTROChainCoding::setDDU(), DTROChainCoding::setROS(), and makeMuonMisalignmentScenario::wheel.
|
private |
checkUros
Definition at line 162 of file DTDataIntegrityTask.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookFloat(), checkUros, fedHistos, FEDIDmax, FEDIDmin, fedTimeHistos, printsummarytable::folder, DTROChainCoding::getDDU(), DTROChainCoding::getDDUID(), DTROChainCoding::getROB(), DTROChainCoding::getROS(), DTROChainCoding::getROSID(), DTROChainCoding::getSCID(), hCorruptionSummary, hFEDEntry, hFEDFatal, hFEDNonFatal, trackerHits::histo, hTTSSummary, LogTrace, mode, names, nEventMonitor, rosHistos, rosTimeHistos, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), summaryHistos, topFolder(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms(), and bookHistosROS25().
|
private |
|
private |
|
private |
Definition at line 725 of file DTDataIntegrityTask.cc.
References DQMStore::IBooker::book2D(), trackerHits::histo, plotFactory::keyHisto, mode, MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), TDCError, topFolder(), uROSError, and urosHistos.
Referenced by bookHistograms().
|
private |
Definition at line 715 of file DTDataIntegrityTask.cc.
References bookHistos(), getSCInfo, and mode.
Referenced by bookHistograms().
|
private |
Definition at line 807 of file DTDataIntegrityTask.cc.
References DQMStore::IBooker::book1D(), FEDIDmin, trackerHits::histo, plotFactory::keyHisto, mode, MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), topFolder(), TTSValues, uROSEventLength, urosHistos, and urosTimeHistos.
Referenced by bookHistograms().
|
private |
Definition at line 1787 of file DTDataIntegrityTask.cc.
References globals_cff::x1.
Referenced by processROS25().
|
private |
Definition at line 1796 of file DTDataIntegrityTask.cc.
References globals_cff::x1.
Referenced by processROS25().
|
override |
Definition at line 1813 of file DTDataIntegrityTask.cc.
References checkUros, fedTimeHistos, edm::LuminosityBlockBase::luminosityBlock(), nEventsLS, rosTimeHistos, and urosTimeHistos.
bool DTDataIntegrityTask::eventHasErrors | ( | ) | const |
void DTDataIntegrityTask::fedEntry | ( | int | dduID | ) |
Definition at line 1758 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDEntry.
void DTDataIntegrityTask::fedFatal | ( | int | dduID | ) |
Definition at line 1765 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDFatal.
void DTDataIntegrityTask::fedNonFatal | ( | int | dduID | ) |
Definition at line 1772 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDNonFatal.
void DTDataIntegrityTask::processFED | ( | DTuROSFEDData & | data, |
int | fed | ||
) |
Definition at line 1400 of file DTDataIntegrityTask.cc.
References fedHistos, FEDIDmax, fedTimeHistos, MonitorElement::Fill(), DTuROSFEDData::getBXId(), DTuROSFEDData::getevtlgth(), DTuROSFEDData::getnslots(), DTuROSFEDData::getTTS(), hFEDEntry, LogTrace, mode, and neventsFED.
Referenced by analyze().
void DTDataIntegrityTask::processFED | ( | DTDDUData & | dduData, |
const std::vector< DTROS25Data > & | rosData, | ||
int | dduID | ||
) |
Definition at line 1475 of file DTDataIntegrityTask.cc.
References DTDDUSecondStatusWord::busyROSPAF(), FEDHeader::bxID(), DTDDUSecondStatusWord::bxIDError(), FEDHeader::check(), FEDTrailer::check(), DTDDUData::crcErrorBit(), fedBXIds, fedHistos, FEDIDmax, FEDIDmin, fedTimeHistos, DTDDUSecondStatusWord::fifoAlmostFull(), DTDDUSecondStatusWord::fifoFull(), MonitorElement::Fill(), FEDTrailer::fragmentLength(), DTDDUData::getDDUHeader(), DTROChainCoding::getDDUID(), DTDDUData::getDDUTrailer(), DTDDUData::getFirstStatusWord(), DTDDUData::getSecondStatusWord(), hCorruptionSummary, RecoTauValidation_cfi::header, hFEDEntry, hFEDFatal, hTTSSummary, mps_fire::i, DTDDUSecondStatusWord::inputFifoAlmostFull(), DTDDUSecondStatusWord::inputFifoFull(), DTDDUSecondStatusWord::l1AIDError(), LogTrace, FEDHeader::lvl1ID(), mode, neventsFED, DTDDUSecondStatusWord::outOfSynchROSError(), DTDDUSecondStatusWord::outputFifoAlmostFull(), DTDDUSecondStatusWord::outputFifoFull(), rosBxIdsPerFED, rosL1AIdsPerFED, DTDDUSecondStatusWord::rosList(), DTROChainCoding::setDDU(), FEDHeader::triggerType(), FEDTrailer::ttsBits(), DTDDUSecondStatusWord::warningROSPAF(), and globals_cff::x1.
void DTDataIntegrityTask::processROS25 | ( | DTROS25Data & | data, |
int | dduID, | ||
int | ros | ||
) |
Definition at line 1115 of file DTDataIntegrityTask.cc.
References DTROBHeaderWord::bunchID(), channelsInCEROS(), channelsInROS(), eventErrorFlag, DTROSTrailerWord::EventWordCount(), MonitorElement::Fill(), DTROChainCoding::getDDUID(), DTROChainCoding::getROB(), DTROS25Data::getROBHeaders(), DTROS25Data::getROBTrailers(), DTROChainCoding::getROS(), DTROS25Data::getROSDebugs(), DTROS25Data::getROSErrors(), DTROS25Data::getROSHeader(), DTROChainCoding::getROSID(), DTROS25Data::getROSTrailer(), DTROChainCoding::getSCID(), getSCInfo, DTROS25Data::getSCTrailer(), DTROS25Data::getTDCData(), DTROS25Data::getTDCError(), DTROSTrailerWord::l1AFifoOccupancy(), LogTrace, mode, neventsuROS, DTTDCMeasurementWord::PC(), DTROBHeaderWord::robID(), rosBxIdsPerFED, rosHistos, rosL1AIdsPerFED, rosTimeHistos, DTROChainCoding::setDDU(), DTROChainCoding::setROB(), DTROChainCoding::setROS(), summaryHistos, DTROSTrailerWord::TPX(), DTROSHeaderWord::TTCEventCounter(), and DTLocalTriggerTrailerWord::wordCount().
Referenced by analyze().
void DTDataIntegrityTask::processuROS | ( | DTuROSROSData & | data, |
int | fed, | ||
int | uRos | ||
) |
Definition at line 844 of file DTDataIntegrityTask.cc.
References stringResolutionProvider_cfi::bin, relativeConstraints::error, fedHistos, FEDIDmin, MonitorElement::Fill(), HcalObjRepresent::Fill(), RemoveAddSevLevel::flag, DTuROSROSData::getboardId(), DTuROSROSData::geterror(), DTuROSROSData::geterrorROBID(), DTuROSROSData::geterrors(), DTuROSROSData::geterrorTDCID(), DTuROSROSData::getokxflag(), DTuROSROSData::gettrailer(), DTuROSROSData::getuserWord(), plotFactory::keyHisto, LogTrace, mode, neventsuROS, SimDataFormats::CaloAnalysis::sc, summaryHistos, TDCError, theDDU(), theROS(), TTSValues, uROSError, uROSEventLength, urosHistos, urosTimeHistos, makeMuonMisalignmentScenario::wheel, and globals_cff::x1.
Referenced by analyze().
|
private |
Definition at line 1940 of file DTDataIntegrityTask.cc.
References FEDNumbering::MAXDTUROSFEDID, FEDNumbering::MINDTUROSFEDID, and theROS().
Referenced by processuROS().
|
private |
Definition at line 1970 of file DTDataIntegrityTask.cc.
Referenced by processuROS(), and theDDU().
void DTDataIntegrityTask::TimeHistos | ( | DQMStore::IBooker & | , |
std::string | histoType | ||
) |
|
private |
Definition at line 1776 of file DTDataIntegrityTask.cc.
References fedIntegrityFolder, printsummarytable::folder, and mode.
Referenced by bookHistos(), bookHistosROS(), and bookHistosuROS().
|
private |
Definition at line 104 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), DTDataIntegrityTask(), and endLuminosityBlock().
|
private |
Definition at line 108 of file DTDataIntegrityTask.h.
|
private |
Definition at line 180 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 100 of file DTDataIntegrityTask.h.
|
private |
Definition at line 169 of file DTDataIntegrityTask.h.
Referenced by analyze(), eventHasErrors(), and processROS25().
|
private |
Definition at line 172 of file DTDataIntegrityTask.h.
Referenced by analyze(), and processFED().
|
private |
Definition at line 113 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), processFED(), and processuROS().
|
private |
Definition at line 154 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), DTDataIntegrityTask(), and processFED().
|
private |
Definition at line 153 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), bookHistosuROS(), DTDataIntegrityTask(), processFED(), and processuROS().
|
private |
Definition at line 177 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and topFolder().
|
private |
Definition at line 137 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), endLuminosityBlock(), and processFED().
|
private |
Definition at line 184 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 102 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS25(), DTDataIntegrityTask(), and processROS25().
|
private |
Definition at line 131 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 128 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedEntry(), and processFED().
|
private |
Definition at line 129 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedFatal(), and processFED().
|
private |
Definition at line 130 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and fedNonFatal().
|
private |
Definition at line 134 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 91 of file DTDataIntegrityTask.h.
|
private |
Definition at line 151 of file DTDataIntegrityTask.h.
|
private |
Definition at line 176 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), bookHistosROS(), bookHistosROS25(), bookHistosuROS(), DTDataIntegrityTask(), processFED(), processROS25(), processuROS(), and topFolder().
|
private |
Definition at line 160 of file DTDataIntegrityTask.h.
|
private |
Definition at line 165 of file DTDataIntegrityTask.h.
|
private |
Definition at line 164 of file DTDataIntegrityTask.h.
|
private |
Definition at line 163 of file DTDataIntegrityTask.h.
|
private |
Definition at line 90 of file DTDataIntegrityTask.h.
Referenced by bookHistos().
|
private |
Definition at line 111 of file DTDataIntegrityTask.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 106 of file DTDataIntegrityTask.h.
Referenced by analyze().
|
private |
Definition at line 145 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), processFED(), and ~DTDataIntegrityTask().
|
private |
Definition at line 143 of file DTDataIntegrityTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 146 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), processROS25(), and processuROS().
|
private |
Definition at line 157 of file DTDataIntegrityTask.h.
Referenced by bookHistograms().
|
private |
Definition at line 149 of file DTDataIntegrityTask.h.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader::CreateTree2().
|
private |
Definition at line 93 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 150 of file DTDataIntegrityTask.h.
|
private |
Definition at line 121 of file DTDataIntegrityTask.h.
|
private |
Definition at line 182 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 171 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processROS25().
|
private |
Definition at line 117 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processROS25().
|
private |
Definition at line 173 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processROS25().
|
private |
Definition at line 138 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), endLuminosityBlock(), and processROS25().
|
private |
Definition at line 115 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), processROS25(), and processuROS().
|
private |
Definition at line 148 of file DTDataIntegrityTask.h.
|
private |
Definition at line 119 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS(), bookHistosuROS(), and processuROS().
|
private |
Definition at line 140 of file DTDataIntegrityTask.h.
Referenced by bookHistosuROS(), endLuminosityBlock(), and processuROS().