#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 | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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 DTskim_cfg::processingMode.
|
override |
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< dtdi::Void > >.
Definition at line 969 of file DTDataIntegrityTask.cc.
References DOCESLOTS, MillePedeFileConverter_cfg::e, errorX, FEDIDmax, FEDIDmin, fedToken, dqm::impl::MonitorElement::Fill(), ntuplemaker::fill, 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, NuROS, and makeMuonMisalignmentScenario::wheel.
|
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, HltBtagPostValidation_cff::histoName, mode, nEventMonitor, dqm::implementation::NavigatorBase::setCurrentFolder(), summaryHistos, cond::impl::to_string(), topFolder(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
private |
|
private |
Definition at line 307 of file DTDataIntegrityTask.cc.
References dqm::implementation::IBooker::book2D(), timingPdfMaker::histo, HltBtagPostValidation_cff::histoName, createfilelist::int, plotFactory::keyHisto, MainPageGenerator::link, mode, dqm::implementation::NavigatorBase::setCurrentFolder(), relativeConstraints::station, TDCError, cond::impl::to_string(), topFolder(), uROSError, urosHistos, and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
private |
Definition at line 497 of file DTDataIntegrityTask.cc.
References dqm::implementation::IBooker::book1D(), FEDIDmin, timingPdfMaker::histo, HltBtagPostValidation_cff::histoName, plotFactory::keyHisto, mode, dqm::implementation::NavigatorBase::setCurrentFolder(), cond::impl::to_string(), topFolder(), TTSValues, uROSEventLength, urosHistos, and urosTimeHistos.
Referenced by bookHistograms().
|
override |
|
override |
Definition at line 949 of file DTDataIntegrityTask.cc.
References fedTimeHistos, eostools::ls(), nEventsLS, and urosTimeHistos.
void DTDataIntegrityTask::processFED | ( | DTuROSFEDData & | data, |
int | fed | ||
) |
Definition at line 836 of file DTDataIntegrityTask.cc.
References data, errorX, fedHistos, FEDIDmax, FEDIDmin, fedTimeHistos, dqm::impl::MonitorElement::Fill(), hFEDEntry, hFEDFatal, LogTrace, mode, neventsFED, nLinksForFatal, and makeMuonMisalignmentScenario::wheel.
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, data, relativeConstraints::error, errorX, fedHistos, FEDIDmin, dqm::impl::MonitorElement::Fill(), HcalObjRepresent::Fill(), RemoveAddSevLevel::flag, plotFactory::keyHisto, MainPageGenerator::link, LogTrace, mode, neventsuROS, summaryHistos, TDCError, theDDU(), theROS(), TTSValues, uROSError, uROSEventLength, urosHistos, urosTimeHistos, makeMuonMisalignmentScenario::wheel, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by analyze().
|
private |
Definition at line 1010 of file DTDataIntegrityTask.cc.
References MainPageGenerator::link, FEDNumbering::MAXDTUROSFEDID, FEDNumbering::MINDTUROSFEDID, and theROS().
Referenced by processuROS().
|
private |
Definition at line 1041 of file DTDataIntegrityTask.cc.
References MainPageGenerator::link.
Referenced by processuROS(), and theDDU().
void DTDataIntegrityTask::TimeHistos | ( | DQMStore::IBooker & | , |
std::string | histoType | ||
) |
|
private |
Definition at line 934 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().