#include <DTDataIntegrityTask.h>
Protected Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
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 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 { uROSEventLenght =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 | 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) |
std::string | topFolder (bool isFEDIntegrity) const |
Class for DT Data Integrity.
Definition at line 43 of file DTDataIntegrityTask.h.
|
private |
Enumerator | |
---|---|
uROSEventLenght | |
uROSError | |
TDCError | |
TTSValues |
Definition at line 120 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 1738 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, nEventMonitor, nevents, nEventsLS, processFED(), processROS25(), processuROS(), ros25Token, rosBxIdsPerFED, rosL1AIdsPerFED, and FEDHeader::sourceID().
|
override |
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 102 of file DTDataIntegrityTask.cc.
References bookHistos(), bookHistosROS25(), bookHistosuROS(), checkUros, FEDIDmax, FEDIDmin, LogTrace, mode, NuROS, DTROChainCoding::setDDU(), and DTROChainCoding::setROS().
|
private |
Definition at line 154 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 664 of file DTDataIntegrityTask.cc.
References bookHistos(), getSCInfo, and mode.
Referenced by bookHistograms().
|
private |
Definition at line 674 of file DTDataIntegrityTask.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), counter, FEDIDmin, trackerHits::histo, plotFactory::keyHisto, mode, MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), TDCError, topFolder(), TTSValues, uROSError, uROSEventLenght, urosHistos, and urosTimeHistos.
Referenced by bookHistograms().
|
private |
Definition at line 1667 of file DTDataIntegrityTask.cc.
References globals_cff::x1.
Referenced by processROS25().
|
private |
Definition at line 1676 of file DTDataIntegrityTask.cc.
References globals_cff::x1.
Referenced by processROS25().
|
override |
Definition at line 1693 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 1638 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDEntry.
void DTDataIntegrityTask::fedFatal | ( | int | dduID | ) |
Definition at line 1645 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDFatal.
void DTDataIntegrityTask::fedNonFatal | ( | int | dduID | ) |
Definition at line 1652 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDNonFatal.
void DTDataIntegrityTask::processFED | ( | DTuROSFEDData & | data, |
int | fed | ||
) |
Definition at line 1280 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 1355 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 995 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 790 of file DTDataIntegrityTask.cc.
References relativeConstraints::error, fedHistos, FEDIDmin, MonitorElement::Fill(), HcalObjRepresent::Fill(), RemoveAddSevLevel::flag, DTuROSROSData::geterror(), DTuROSROSData::geterrorROBID(), DTuROSROSData::geterrors(), DTuROSROSData::geterrorTDCID(), DTuROSROSData::getokxflag(), DTuROSROSData::gettrailer(), DTuROSROSData::getuserWord(), LogTrace, mode, neventsuROS, summaryHistos, TDCError, TTSValues, uROSError, uROSEventLenght, urosHistos, urosTimeHistos, and globals_cff::x1.
Referenced by analyze().
void DTDataIntegrityTask::TimeHistos | ( | DQMStore::IBooker & | , |
std::string | histoType | ||
) |
|
private |
Definition at line 1656 of file DTDataIntegrityTask.cc.
References fedIntegrityFolder, printsummarytable::folder, and mode.
Referenced by bookHistos(), and bookHistosuROS().
|
private |
Definition at line 99 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), DTDataIntegrityTask(), and endLuminosityBlock().
|
private |
Definition at line 103 of file DTDataIntegrityTask.h.
|
private |
Definition at line 175 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 95 of file DTDataIntegrityTask.h.
|
private |
Definition at line 164 of file DTDataIntegrityTask.h.
Referenced by analyze(), eventHasErrors(), and processROS25().
|
private |
Definition at line 167 of file DTDataIntegrityTask.h.
Referenced by analyze(), and processFED().
|
private |
Definition at line 108 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), processFED(), and processuROS().
|
private |
Definition at line 149 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), DTDataIntegrityTask(), and processFED().
|
private |
Definition at line 148 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), bookHistosuROS(), DTDataIntegrityTask(), processFED(), and processuROS().
|
private |
Definition at line 172 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and topFolder().
|
private |
Definition at line 132 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), endLuminosityBlock(), and processFED().
|
private |
Definition at line 179 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 97 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS25(), DTDataIntegrityTask(), and processROS25().
|
private |
Definition at line 126 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 123 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedEntry(), and processFED().
|
private |
Definition at line 124 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedFatal(), and processFED().
|
private |
Definition at line 125 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and fedNonFatal().
|
private |
Definition at line 129 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 90 of file DTDataIntegrityTask.h.
|
private |
Definition at line 146 of file DTDataIntegrityTask.h.
|
private |
Definition at line 171 of file DTDataIntegrityTask.h.
Referenced by bookHistograms(), bookHistos(), bookHistosROS25(), bookHistosuROS(), DTDataIntegrityTask(), processFED(), processROS25(), processuROS(), and topFolder().
|
private |
Definition at line 155 of file DTDataIntegrityTask.h.
|
private |
Definition at line 160 of file DTDataIntegrityTask.h.
|
private |
Definition at line 159 of file DTDataIntegrityTask.h.
|
private |
Definition at line 158 of file DTDataIntegrityTask.h.
|
private |
Definition at line 89 of file DTDataIntegrityTask.h.
Referenced by bookHistos().
|
private |
Definition at line 106 of file DTDataIntegrityTask.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 101 of file DTDataIntegrityTask.h.
Referenced by analyze().
|
private |
Definition at line 140 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), processFED(), and ~DTDataIntegrityTask().
|
private |
Definition at line 138 of file DTDataIntegrityTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 141 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), processROS25(), and processuROS().
|
private |
Definition at line 152 of file DTDataIntegrityTask.h.
Referenced by bookHistograms().
|
private |
Definition at line 144 of file DTDataIntegrityTask.h.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader::CreateTree2().
|
private |
Definition at line 92 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 145 of file DTDataIntegrityTask.h.
|
private |
Definition at line 116 of file DTDataIntegrityTask.h.
|
private |
Definition at line 177 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 166 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processROS25().
|
private |
Definition at line 112 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processROS25().
|
private |
Definition at line 168 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processROS25().
|
private |
Definition at line 133 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), endLuminosityBlock(), and processROS25().
|
private |
Definition at line 110 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), processROS25(), and processuROS().
|
private |
Definition at line 143 of file DTDataIntegrityTask.h.
|
private |
Definition at line 114 of file DTDataIntegrityTask.h.
Referenced by bookHistosuROS(), and processuROS().
|
private |
Definition at line 135 of file DTDataIntegrityTask.h.
Referenced by bookHistosuROS(), endLuminosityBlock(), and processuROS().