#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 (DTDDUData &dduData, const std::vector< DTROS25Data > &rosData, int dduID) |
void | processROS25 (DTROS25Data &data, int dduID, int ros) |
void | TimeHistos (DQMStore::IBooker &, std::string histoType) |
virtual | ~DTDataIntegrityTask () |
Public Member Functions inherited from thread_unsafe::DQMEDAnalyzer | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) final |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
DQMEDAnalyzer (void) | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 Member Functions | |
void | bookHistos (DQMStore::IBooker &, const int fedMin, const int fedMax) |
void | bookHistos (DQMStore::IBooker &, std::string folder, DTROChainCoding code) |
void | bookHistosROS25 (DQMStore::IBooker &, 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 |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Class for DT Data Integrity.
Definition at line 41 of file DTDataIntegrityTask.h.
DTDataIntegrityTask::DTDataIntegrityTask | ( | const edm::ParameterSet & | ps | ) |
Definition at line 31 of file DTDataIntegrityTask.cc.
References dduToken, Exception, FEDIDMax, FEDIDmin, fedIntegrityFolder, edm::ParameterSet::getParameter(), getSCInfo, edm::ParameterSet::getUntrackedParameter(), LogTrace, FEDNumbering::MAXDTFEDID, FEDNumbering::MINDTFEDID, mode, neventsDDU, neventsROS25, dtDQMClient_cfg::processingMode, and ros25Token.
|
virtual |
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 1143 of file DTDataIntegrityTask.cc.
References dduToken, eventErrorFlag, fedBXIds, MonitorElement::Fill(), edm::Event::getByToken(), DTDDUData::getDDUHeader(), i, edm::HandleBase::isValid(), j, LogTrace, nEventMonitor, nevents, nEventsLS, processFED(), processROS25(), ros25Token, rosBxIdsPerFED, rosL1AIdsPerFED, and FEDHeader::sourceID().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1111 of file DTDataIntegrityTask.cc.
References nEventsLS.
|
overrideprotectedvirtual |
Implements thread_unsafe::DQMEDAnalyzer.
Definition at line 88 of file DTDataIntegrityTask.cc.
References bookHistos(), bookHistosROS25(), FEDIDMax, FEDIDmin, LogTrace, DTROChainCoding::setDDU(), and DTROChainCoding::setROS().
|
private |
Definition at line 118 of file DTDataIntegrityTask.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookFloat(), hCorruptionSummary, hFEDEntry, hFEDFatal, hFEDNonFatal, hTTSSummary, nEventMonitor, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), and topFolder().
Referenced by bookHistograms(), and bookHistosROS25().
|
private |
|
private |
Definition at line 480 of file DTDataIntegrityTask.cc.
References bookHistos(), getSCInfo, and mode.
Referenced by bookHistograms().
|
private |
Definition at line 1091 of file DTDataIntegrityTask.cc.
Referenced by processROS25().
|
private |
Definition at line 1100 of file DTDataIntegrityTask.cc.
Referenced by processROS25().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1117 of file DTDataIntegrityTask.cc.
References dduTimeHistos, edm::LuminosityBlockBase::luminosityBlock(), nEventsLS, and rosTimeHistos.
bool DTDataIntegrityTask::eventHasErrors | ( | ) | const |
void DTDataIntegrityTask::fedEntry | ( | int | dduID | ) |
Definition at line 1062 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDEntry.
void DTDataIntegrityTask::fedFatal | ( | int | dduID | ) |
Definition at line 1069 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDFatal.
void DTDataIntegrityTask::fedNonFatal | ( | int | dduID | ) |
Definition at line 1076 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDNonFatal.
void DTDataIntegrityTask::processFED | ( | DTDDUData & | dduData, |
const std::vector< DTROS25Data > & | rosData, | ||
int | dduID | ||
) |
Definition at line 771 of file DTDataIntegrityTask.cc.
References DTDDUSecondStatusWord::busyROSPAF(), FEDHeader::bxID(), DTDDUSecondStatusWord::bxIDError(), FEDTrailer::check(), FEDHeader::check(), DTDDUData::crcErrorBit(), dduHistos, dduTimeHistos, fedBXIds, FEDIDMax, FEDIDmin, 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().
Referenced by analyze().
void DTDataIntegrityTask::processROS25 | ( | DTROS25Data & | data, |
int | dduID, | ||
int | ros | ||
) |
Definition at line 489 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, neventsROS25, DTTDCMeasurementWord::PC(), DTROBHeaderWord::robID(), rosBxIdsPerFED, rosHistos, rosL1AIdsPerFED, rosSHistos, rosTimeHistos, DTROChainCoding::setDDU(), DTROChainCoding::setROB(), DTROChainCoding::setROS(), DTROSTrailerWord::TPX(), DTROSHeaderWord::TTCEventCounter(), and DTLocalTriggerTrailerWord::wordCount().
Referenced by analyze().
void DTDataIntegrityTask::TimeHistos | ( | DQMStore::IBooker & | , |
std::string | histoType | ||
) |
|
private |
Definition at line 1080 of file DTDataIntegrityTask.cc.
References fedIntegrityFolder, hlt_dqm_clientPB-live_cfg::folder, and mode.
Referenced by bookHistos().
|
private |
Definition at line 95 of file DTDataIntegrityTask.h.
|
private |
Definition at line 100 of file DTDataIntegrityTask.h.
Referenced by processFED().
|
private |
Definition at line 118 of file DTDataIntegrityTask.h.
Referenced by endLuminosityBlock(), and processFED().
|
private |
Definition at line 154 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 89 of file DTDataIntegrityTask.h.
|
private |
Definition at line 143 of file DTDataIntegrityTask.h.
Referenced by analyze(), eventHasErrors(), and processROS25().
|
private |
Definition at line 146 of file DTDataIntegrityTask.h.
Referenced by analyze(), and processFED().
|
private |
Definition at line 130 of file DTDataIntegrityTask.h.
Referenced by bookHistograms(), DTDataIntegrityTask(), and processFED().
|
private |
Definition at line 129 of file DTDataIntegrityTask.h.
Referenced by bookHistograms(), DTDataIntegrityTask(), and processFED().
|
private |
Definition at line 151 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and topFolder().
|
private |
Definition at line 91 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS25(), DTDataIntegrityTask(), and processROS25().
|
private |
Definition at line 112 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 109 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedEntry(), and processFED().
|
private |
Definition at line 110 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedFatal(), and processFED().
|
private |
Definition at line 111 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and fedNonFatal().
|
private |
Definition at line 115 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 84 of file DTDataIntegrityTask.h.
|
private |
Definition at line 150 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS25(), DTDataIntegrityTask(), processFED(), processROS25(), and topFolder().
|
private |
Definition at line 134 of file DTDataIntegrityTask.h.
|
private |
Definition at line 139 of file DTDataIntegrityTask.h.
|
private |
Definition at line 138 of file DTDataIntegrityTask.h.
|
private |
Definition at line 137 of file DTDataIntegrityTask.h.
|
private |
Definition at line 83 of file DTDataIntegrityTask.h.
|
private |
Definition at line 98 of file DTDataIntegrityTask.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 93 of file DTDataIntegrityTask.h.
Referenced by analyze().
|
private |
Definition at line 123 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), processFED(), and ~DTDataIntegrityTask().
|
private |
Definition at line 121 of file DTDataIntegrityTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 124 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and processROS25().
|
private |
Definition at line 126 of file DTDataIntegrityTask.h.
|
private |
Definition at line 86 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 127 of file DTDataIntegrityTask.h.
|
private |
Definition at line 106 of file DTDataIntegrityTask.h.
|
private |
Definition at line 156 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 145 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processROS25().
|
private |
Definition at line 104 of file DTDataIntegrityTask.h.
Referenced by processROS25().
|
private |
Definition at line 147 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processROS25().
|
private |
Definition at line 102 of file DTDataIntegrityTask.h.
Referenced by processROS25().
|
private |
Definition at line 119 of file DTDataIntegrityTask.h.
Referenced by endLuminosityBlock(), and processROS25().
|
private |
Definition at line 125 of file DTDataIntegrityTask.h.