#include <DTDataIntegrityTask.h>
Protected Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< dtdi::Void > > | |
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) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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, const int fed) |
void | bookHistosROS (DQMStore::IBooker &, const int wheel, const int ros) |
void | bookHistosuROS (DQMStore::IBooker &, const int fed, const int uRos) |
int | theDDU (int crate, int slot, int link, bool tenDDU) |
int | theROS (int slot, int link) |
std::string | topFolder (bool isFEDIntegrity) const |
Private Attributes | |
bool | doTimeHisto |
int | errorX [6][12][5] = {{{0}}} |
std::map< std::string, std::map< int, MonitorElement * > > | fedHistos |
int | FEDIDmax |
int | FEDIDmin |
std::string | fedIntegrityFolder |
std::map< std::string, std::map< int, DTTimeEvolutionHisto * > > | fedTimeHistos |
edm::EDGetTokenT < DTuROSFEDDataCollection > | fedToken |
MonitorElement * | hFEDEntry |
MonitorElement * | hFEDFatal |
int | mode |
MonitorElement * | nEventMonitor |
int | nevents |
int | neventsFED |
int | nEventsLS |
int | neventsuROS |
int | nLinksForFatal |
const int | NuROS = 12 |
std::map< std::string, std::map< int, MonitorElement * > > | summaryHistos |
std::map< unsigned int, MonitorElement * > | urosHistos |
std::map< unsigned int, DTTimeEvolutionHisto * > | urosTimeHistos |
Class for DT Data Integrity at Online DQM (Single Thread) expected to monitor uROS Class with MEs vs Time/LS
Definition at line 40 of file DTDataIntegrityTask.h.
|
private |
Enumerator | |
---|---|
uROSEventLength | |
uROSError | |
TDCError | |
TTSValues |
Definition at line 88 of file DTDataIntegrityTask.h.
DTDataIntegrityTask::DTDataIntegrityTask | ( | const edm::ParameterSet & | ps | ) |
Definition at line 33 of file DTDataIntegrityTask.cc.
References Exception, FEDIDmax, FEDIDmin, fedIntegrityFolder, fedToken, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LogTrace, FEDNumbering::MAXDTUROSFEDID, FEDNumbering::MINDTUROSFEDID, mode, neventsFED, neventsuROS, nLinksForFatal, and dtDQMClient_cfg::processingMode.
|
override |
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< dtdi::Void > >.
Definition at line 965 of file DTDataIntegrityTask.cc.
References DOCESLOTS, errorX, FEDIDmax, FEDIDmin, fedToken, PVValHelper::fill(), dqm::impl::MonitorElement::Fill(), edm::Event::getByToken(), DTuROSFEDData::getfed(), DTuROSROSData::getslot(), DTuROSFEDData::getslotsize(), DTuROSFEDData::getuROS(), edm::HandleBase::isValid(), dqmiolumiharvest::j, LogTrace, mode, nEventMonitor, nevents, nEventsLS, processFED(), and processuROS().
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< dtdi::Void > >.
Definition at line 79 of file DTDataIntegrityTask.cc.
References bookHistos(), bookHistosROS(), bookHistosuROS(), FEDIDmax, FEDIDmin, LogTrace, mode, and NuROS.
|
private |
Definition at line 118 of file DTDataIntegrityTask.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookFloat(), FEDIDmax, FEDIDmin, hFEDEntry, hFEDFatal, timingPdfMaker::histo, mode, nEventMonitor, dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), summaryHistos, and topFolder().
Referenced by bookHistograms().
|
private |
|
private |
Definition at line 307 of file DTDataIntegrityTask.cc.
References dqm::implementation::IBooker::book2D(), plotFactory::keyHisto, MainPageGenerator::link, mode, dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), relativeConstraints::station, TDCError, topFolder(), uROSError, and urosHistos.
Referenced by bookHistograms().
|
private |
Definition at line 497 of file DTDataIntegrityTask.cc.
References dqm::implementation::IBooker::book1D(), FEDIDmin, plotFactory::keyHisto, mode, dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), topFolder(), TTSValues, uROSEventLength, urosHistos, and urosTimeHistos.
Referenced by bookHistograms().
|
override |
|
override |
Definition at line 945 of file DTDataIntegrityTask.cc.
References fedTimeHistos, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), nEventsLS, and urosTimeHistos.
void DTDataIntegrityTask::processFED | ( | DTuROSFEDData & | data, |
int | fed | ||
) |
Definition at line 831 of file DTDataIntegrityTask.cc.
References errorX, fedHistos, FEDIDmax, FEDIDmin, fedTimeHistos, dqm::impl::MonitorElement::Fill(), DTuROSFEDData::getBXId(), DTuROSFEDData::getevtlgth(), DTuROSFEDData::getnslots(), hFEDEntry, hFEDFatal, LogTrace, mode, neventsFED, and nLinksForFatal.
Referenced by analyze().
void DTDataIntegrityTask::processuROS | ( | DTuROSROSData & | data, |
int | fed, | ||
int | uRos | ||
) |
Definition at line 528 of file DTDataIntegrityTask.cc.
References funct::abs(), newFWLiteAna::bin, relativeConstraints::error, errorX, fedHistos, FEDIDmin, dqm::impl::MonitorElement::Fill(), HcalObjRepresent::Fill(), DTuROSROSData::getboardId(), DTuROSROSData::geterror(), DTuROSROSData::geterrorROBID(), DTuROSROSData::geterrors(), DTuROSROSData::geterrorTDCID(), DTuROSROSData::getokxflag(), DTuROSROSData::gettrailer(), DTuROSROSData::getuserWord(), plotFactory::keyHisto, MainPageGenerator::link, LogTrace, mode, neventsuROS, summaryHistos, TDCError, theDDU(), theROS(), TTSValues, uROSError, uROSEventLength, urosHistos, urosTimeHistos, and relativeConstraints::value.
Referenced by analyze().
|
private |
Definition at line 1006 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 930 of file DTDataIntegrityTask.cc.
References fedIntegrityFolder, printsummarytable::folder, and mode.
Referenced by bookHistos(), bookHistosROS(), and bookHistosuROS().
|
private |
Definition at line 73 of file DTDataIntegrityTask.h.
|
private |
Definition at line 108 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processuROS().
|
private |
Definition at line 80 of file DTDataIntegrityTask.h.
Referenced by processFED(), and processuROS().
|
private |
Definition at line 106 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), DTDataIntegrityTask(), and processFED().
|
private |
Definition at line 105 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), bookHistosuROS(), DTDataIntegrityTask(), processFED(), and processuROS().
|
private |
Definition at line 116 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and topFolder().
|
private |
Definition at line 95 of file DTDataIntegrityTask.h.
Referenced by globalEndLuminosityBlock(), and processFED().
|
private |
Definition at line 119 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 91 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 92 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 115 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), bookHistosROS(), bookHistosuROS(), DTDataIntegrityTask(), processFED(), processuROS(), and topFolder().
|
private |
Definition at line 78 of file DTDataIntegrityTask.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 75 of file DTDataIntegrityTask.h.
Referenced by analyze().
|
private |
Definition at line 102 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), processFED(), and ~DTDataIntegrityTask().
|
mutableprivate |
Definition at line 100 of file DTDataIntegrityTask.h.
Referenced by analyze(), globalBeginLuminosityBlock(), and globalEndLuminosityBlock().
|
private |
Definition at line 103 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and processuROS().
|
private |
Definition at line 109 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and processFED().
|
private |
Definition at line 112 of file DTDataIntegrityTask.h.
Referenced by bookHistograms().
|
private |
Definition at line 82 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processuROS().
|
private |
Definition at line 84 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS(), bookHistosuROS(), and processuROS().
|
private |
Definition at line 97 of file DTDataIntegrityTask.h.
Referenced by bookHistosuROS(), globalEndLuminosityBlock(), and processuROS().