#include <DTDataIntegrityTask.h>
Protected Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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 |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Class for DT Data Integrity.
Definition at line 39 of file DTDataIntegrityTask.h.
|
private |
Enumerator | |
---|---|
uROSEventLength | |
uROSError | |
TDCError | |
TTSValues |
Definition at line 117 of file DTDataIntegrityTask.h.
DTDataIntegrityTask::DTDataIntegrityTask | ( | const edm::ParameterSet & | ps | ) |
Definition at line 30 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, DTskim_cfg::processingMode, and ros25Token.
|
override |
|
override |
Definition at line 1853 of file DTDataIntegrityTask.cc.
References checkUros, dduToken, DOCESLOTS, eventErrorFlag, fedBXIds, FEDIDmax, FEDIDmin, fedToken, dqm::impl::MonitorElement::Fill(), edm::Event::getByToken(), DTDDUData::getDDUHeader(), DTuROSFEDData::getfed(), DTuROSROSData::getslot(), DTuROSFEDData::getslotsize(), DTuROSFEDData::getuROS(), RecoTauValidation_cfi::header, mps_fire::i, edm::HandleBase::isValid(), dqmiolumiharvest::j, LogTrace, genParticles_cff::map, mode, nEventMonitor, nevents, nEventsLS, processFED(), processROS25(), processuROS(), ros25Token, rosBxIdsPerFED, rosL1AIdsPerFED, and FEDHeader::sourceID().
|
override |
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 96 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 157 of file DTDataIntegrityTask.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), dqm::dqmstoreimpl::DQMStore::IBooker::bookFloat(), checkUros, fedHistos, FEDIDmax, FEDIDmin, fedTimeHistos, printsummarytable::folder, newFWLiteAna::fullName, DTROChainCoding::getDDU(), DTROChainCoding::getDDUID(), DTROChainCoding::getROB(), DTROChainCoding::getROS(), DTROChainCoding::getROSID(), DTROChainCoding::getSCID(), hCorruptionSummary, hFEDEntry, hFEDFatal, hFEDNonFatal, timingPdfMaker::histo, HltBtagPostValidation_cff::histoName, hTTSSummary, LogTrace, mode, names, nEventMonitor, rosHistos, rosTimeHistos, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), summaryHistos, topFolder(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms(), and bookHistosROS25().
|
private |
|
private |
|
private |
Definition at line 719 of file DTDataIntegrityTask.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), timingPdfMaker::histo, HltBtagPostValidation_cff::histoName, plotFactory::keyHisto, MainPageGenerator::link, mode, dqm::impl::MonitorElement::setBinLabel(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), TDCError, topFolder(), uROSError, and urosHistos.
Referenced by bookHistograms().
|
private |
Definition at line 710 of file DTDataIntegrityTask.cc.
References bookHistos(), getSCInfo, and mode.
Referenced by bookHistograms().
|
private |
Definition at line 804 of file DTDataIntegrityTask.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), FEDIDmin, timingPdfMaker::histo, HltBtagPostValidation_cff::histoName, plotFactory::keyHisto, mode, dqm::impl::MonitorElement::setBinLabel(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), topFolder(), TTSValues, uROSEventLength, urosHistos, and urosTimeHistos.
Referenced by bookHistograms().
|
private |
Definition at line 1785 of file DTDataIntegrityTask.cc.
References testProducerWithPsetDescEmpty_cfi::x1.
Referenced by processROS25().
|
private |
Definition at line 1794 of file DTDataIntegrityTask.cc.
References testProducerWithPsetDescEmpty_cfi::x1.
Referenced by processROS25().
|
override |
Definition at line 1809 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 1768 of file DTDataIntegrityTask.cc.
References dqm::impl::MonitorElement::Fill(), and hFEDEntry.
void DTDataIntegrityTask::fedFatal | ( | int | dduID | ) |
Definition at line 1771 of file DTDataIntegrityTask.cc.
References dqm::impl::MonitorElement::Fill(), and hFEDFatal.
void DTDataIntegrityTask::fedNonFatal | ( | int | dduID | ) |
Definition at line 1774 of file DTDataIntegrityTask.cc.
References dqm::impl::MonitorElement::Fill(), and hFEDNonFatal.
void DTDataIntegrityTask::processFED | ( | DTuROSFEDData & | data, |
int | fed | ||
) |
Definition at line 1403 of file DTDataIntegrityTask.cc.
References fedHistos, FEDIDmax, fedTimeHistos, dqm::impl::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 1479 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(), dqm::impl::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 testProducerWithPsetDescEmpty_cfi::x1.
void DTDataIntegrityTask::processROS25 | ( | DTROS25Data & | data, |
int | dduID, | ||
int | ros | ||
) |
Definition at line 1117 of file DTDataIntegrityTask.cc.
References DTROBHeaderWord::bunchID(), channelsInCEROS(), channelsInROS(), eventErrorFlag, DTROSTrailerWord::EventWordCount(), dqm::impl::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 841 of file DTDataIntegrityTask.cc.
References newFWLiteAna::bin, relativeConstraints::error, fedHistos, FEDIDmin, dqm::impl::MonitorElement::Fill(), HcalObjRepresent::Fill(), RemoveAddSevLevel::flag, DTuROSROSData::getboardId(), DTuROSROSData::geterror(), DTuROSROSData::geterrorROBID(), DTuROSROSData::geterrors(), DTuROSROSData::geterrorTDCID(), DTuROSROSData::getokxflag(), DTuROSROSData::gettrailer(), DTuROSROSData::getuserWord(), plotFactory::keyHisto, MainPageGenerator::link, LogTrace, mode, neventsuROS, SimDataFormats::CaloAnalysis::sc, summaryHistos, TDCError, theDDU(), theROS(), TTSValues, uROSError, uROSEventLength, urosHistos, urosTimeHistos, makeMuonMisalignmentScenario::wheel, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by analyze().
|
private |
Definition at line 1937 of file DTDataIntegrityTask.cc.
References FEDNumbering::MAXDTUROSFEDID, FEDNumbering::MINDTUROSFEDID, and theROS().
Referenced by processuROS().
|
private |
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 96 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), DTDataIntegrityTask(), and endLuminosityBlock().
|
private |
Definition at line 100 of file DTDataIntegrityTask.h.
|
private |
Definition at line 172 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 92 of file DTDataIntegrityTask.h.
|
private |
Definition at line 161 of file DTDataIntegrityTask.h.
Referenced by analyze(), eventHasErrors(), and processROS25().
|
private |
Definition at line 164 of file DTDataIntegrityTask.h.
Referenced by analyze(), and processFED().
|
private |
Definition at line 105 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), processFED(), and processuROS().
|
private |
Definition at line 146 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), DTDataIntegrityTask(), and processFED().
|
private |
Definition at line 145 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), bookHistosuROS(), DTDataIntegrityTask(), processFED(), and processuROS().
|
private |
Definition at line 169 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and topFolder().
|
private |
Definition at line 129 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), endLuminosityBlock(), and processFED().
|
private |
Definition at line 176 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 94 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS25(), DTDataIntegrityTask(), and processROS25().
|
private |
Definition at line 123 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 120 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedEntry(), and processFED().
|
private |
Definition at line 121 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedFatal(), and processFED().
|
private |
Definition at line 122 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and fedNonFatal().
|
private |
Definition at line 126 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 83 of file DTDataIntegrityTask.h.
|
private |
Definition at line 143 of file DTDataIntegrityTask.h.
|
private |
Definition at line 168 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), bookHistosROS(), bookHistosROS25(), bookHistosuROS(), DTDataIntegrityTask(), processFED(), processROS25(), processuROS(), and topFolder().
|
private |
Definition at line 152 of file DTDataIntegrityTask.h.
|
private |
Definition at line 157 of file DTDataIntegrityTask.h.
|
private |
Definition at line 156 of file DTDataIntegrityTask.h.
|
private |
Definition at line 155 of file DTDataIntegrityTask.h.
|
private |
Definition at line 82 of file DTDataIntegrityTask.h.
Referenced by bookHistos().
|
private |
Definition at line 103 of file DTDataIntegrityTask.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 98 of file DTDataIntegrityTask.h.
Referenced by analyze().
|
private |
Definition at line 137 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), processFED(), and ~DTDataIntegrityTask().
|
private |
Definition at line 135 of file DTDataIntegrityTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 138 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), processROS25(), and processuROS().
|
private |
Definition at line 149 of file DTDataIntegrityTask.h.
Referenced by bookHistograms().
|
private |
Definition at line 141 of file DTDataIntegrityTask.h.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader::CreateTree2().
|
private |
Definition at line 85 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 142 of file DTDataIntegrityTask.h.
|
private |
Definition at line 113 of file DTDataIntegrityTask.h.
|
private |
Definition at line 174 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 163 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processROS25().
|
private |
Definition at line 109 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processROS25().
|
private |
Definition at line 165 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processROS25().
|
private |
Definition at line 130 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), endLuminosityBlock(), and processROS25().
|
private |
Definition at line 107 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), processROS25(), and processuROS().
|
private |
Definition at line 140 of file DTDataIntegrityTask.h.
|
private |
Definition at line 111 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS(), bookHistosuROS(), and processuROS().
|
private |
Definition at line 132 of file DTDataIntegrityTask.h.
Referenced by bookHistosuROS(), endLuminosityBlock(), and processuROS().