#include <DTDataIntegrityTask.h>
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginJob () override |
void | beginLuminosityBlock (const edm::LuminosityBlock &ls, const edm::EventSetup &es) override |
DTDataIntegrityTask (const edm::ParameterSet &ps) | |
void | endJob () override |
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 (std::string histoType) |
virtual | ~DTDataIntegrityTask () |
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 | |
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 (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Class for DT Data Integrity.
Definition at line 39 of file DTDataIntegrityTask.h.
DTDataIntegrityTask::DTDataIntegrityTask | ( | const edm::ParameterSet & | ps | ) |
Definition at line 34 of file DTDataIntegrityTask.cc.
References dduToken, edm::hlt::Exception, fedIntegrityFolder, edm::ParameterSet::getParameter(), getSCInfo, edm::ParameterSet::getUntrackedParameter(), LogTrace, mode, neventsDDU, neventsROS25, dtDQMClient_cfg::processingMode, and ros25Token.
|
virtual |
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 1265 of file DTDataIntegrityTask.cc.
References dduToken, eventErrorFlag, fedBXIds, MonitorElement::Fill(), edm::Event::getByToken(), DTDDUData::getDDUHeader(), i, edm::HandleBase::isValid(), j, LogTrace, python.multivaluedict::map(), nEventMonitor, nevents, nEventsLS, processFED(), processROS25(), ros25Token, rosBxIdsPerFED, rosL1AIdsPerFED, and FEDHeader::sourceID().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1229 of file DTDataIntegrityTask.cc.
References bookHistos(), bookHistosROS25(), dbe, FEDIDMax, FEDIDmin, LogTrace, FEDNumbering::MAXDTFEDID, FEDNumbering::MINDTFEDID, cppFunctionSkipper::operator, DTROChainCoding::setDDU(), and DTROChainCoding::setROS().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1197 of file DTDataIntegrityTask.cc.
References nEventsLS.
|
private |
Definition at line 98 of file DTDataIntegrityTask.cc.
References dbe, hCorruptionSummary, hFEDEntry, hFEDFatal, hFEDNonFatal, hTTSSummary, nEventMonitor, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), and topFolder().
Referenced by beginJob(), and bookHistosROS25().
|
private |
|
private |
Definition at line 520 of file DTDataIntegrityTask.cc.
References bookHistos(), getSCInfo, and mode.
Referenced by beginJob().
|
private |
Definition at line 1177 of file DTDataIntegrityTask.cc.
Referenced by processROS25().
|
private |
Definition at line 1186 of file DTDataIntegrityTask.cc.
Referenced by processROS25().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 89 of file DTDataIntegrityTask.cc.
References LogTrace.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1203 of file DTDataIntegrityTask.cc.
References dduTimeHistos, edm::LuminosityBlockBase::luminosityBlock(), nEventsLS, and rosTimeHistos.
bool DTDataIntegrityTask::eventHasErrors | ( | ) | const |
Definition at line 1141 of file DTDataIntegrityTask.cc.
References eventErrorFlag.
Referenced by DTDataErrorFilter::hltFilter().
void DTDataIntegrityTask::fedEntry | ( | int | dduID | ) |
Definition at line 1148 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDEntry.
void DTDataIntegrityTask::fedFatal | ( | int | dduID | ) |
Definition at line 1155 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDFatal.
void DTDataIntegrityTask::fedNonFatal | ( | int | dduID | ) |
Definition at line 1162 of file DTDataIntegrityTask.cc.
References MonitorElement::Fill(), and hFEDNonFatal.
void DTDataIntegrityTask::processFED | ( | DTDDUData & | dduData, |
const std::vector< DTROS25Data > & | rosData, | ||
int | dduID | ||
) |
Definition at line 854 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 532 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().
Referenced by analyze().
void DTDataIntegrityTask::TimeHistos | ( | std::string | histoType | ) |
Definition at line 484 of file DTDataIntegrityTask.cc.
References newFWLiteAna::bin, dbe, MonitorElement::getBinContent(), MonitorElement::getNbinsX(), MonitorElement::getNbinsY(), it, j, names, and MonitorElement::setAxisRange().
|
private |
Definition at line 1166 of file DTDataIntegrityTask.cc.
References fedIntegrityFolder, and mode.
Referenced by bookHistos().
|
private |
Definition at line 94 of file DTDataIntegrityTask.h.
|
private |
Definition at line 92 of file DTDataIntegrityTask.h.
Referenced by beginJob(), bookHistos(), and TimeHistos().
|
private |
Definition at line 99 of file DTDataIntegrityTask.h.
Referenced by processFED().
|
private |
Definition at line 117 of file DTDataIntegrityTask.h.
Referenced by endLuminosityBlock(), and processFED().
|
private |
Definition at line 153 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 85 of file DTDataIntegrityTask.h.
|
private |
Definition at line 142 of file DTDataIntegrityTask.h.
Referenced by analyze(), eventHasErrors(), and processROS25().
|
private |
Definition at line 145 of file DTDataIntegrityTask.h.
Referenced by analyze(), and processFED().
|
private |
Definition at line 129 of file DTDataIntegrityTask.h.
Referenced by beginJob(), and processFED().
|
private |
Definition at line 128 of file DTDataIntegrityTask.h.
Referenced by beginJob(), and processFED().
|
private |
Definition at line 150 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and topFolder().
|
private |
Definition at line 87 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS25(), DTDataIntegrityTask(), and processROS25().
|
private |
Definition at line 111 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 108 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedEntry(), and processFED().
|
private |
Definition at line 109 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), fedFatal(), and processFED().
|
private |
Definition at line 110 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and fedNonFatal().
|
private |
Definition at line 114 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 80 of file DTDataIntegrityTask.h.
Referenced by TimeHistos().
|
private |
Definition at line 149 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS25(), DTDataIntegrityTask(), processFED(), processROS25(), and topFolder().
|
private |
Definition at line 133 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 136 of file DTDataIntegrityTask.h.
|
private |
Definition at line 79 of file DTDataIntegrityTask.h.
Referenced by TimeHistos().
|
private |
Definition at line 97 of file DTDataIntegrityTask.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 89 of file DTDataIntegrityTask.h.
Referenced by analyze(), and processROS25().
|
private |
Definition at line 122 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), processFED(), and ~DTDataIntegrityTask().
|
private |
Definition at line 120 of file DTDataIntegrityTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 123 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and processROS25().
|
private |
Definition at line 125 of file DTDataIntegrityTask.h.
|
private |
Definition at line 82 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 126 of file DTDataIntegrityTask.h.
|
private |
Definition at line 105 of file DTDataIntegrityTask.h.
|
private |
Definition at line 155 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 144 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processROS25().
|
private |
Definition at line 103 of file DTDataIntegrityTask.h.
Referenced by processROS25().
|
private |
Definition at line 146 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processROS25().
|
private |
Definition at line 101 of file DTDataIntegrityTask.h.
Referenced by processROS25().
|
private |
Definition at line 118 of file DTDataIntegrityTask.h.
Referenced by endLuminosityBlock(), and processROS25().
|
private |
Definition at line 124 of file DTDataIntegrityTask.h.