#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::LumiCache > > | |
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 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 |
const int | FEDIDmax |
const 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 | 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 42 of file DTDataIntegrityTask.h.
|
private |
Enumerator | |
---|---|
uROSEventLength | |
uROSError | |
TDCError | |
TTSValues |
Definition at line 90 of file DTDataIntegrityTask.h.
DTDataIntegrityTask::DTDataIntegrityTask | ( | const edm::ParameterSet & | ps | ) |
Definition at line 29 of file DTDataIntegrityTask.cc.
References Exception, fedIntegrityFolder, fedToken, edm::ParameterSet::getUntrackedParameter(), LogTrace, mode, nLinksForFatal, and dtCalibOfflineSelection_cff::processingMode.
|
override |
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< dtdi::LumiCache > >.
Definition at line 970 of file DTDataIntegrityTask.cc.
References DOCESLOTS, MillePedeFileConverter_cfg::e, errorX, FEDIDmax, FEDIDmin, fedToken, EcalPhiSymFlatTableProducers_cfi::fill, dqm::impl::MonitorElement::Fill(), DTuROSFEDData::getfed(), DTuROSROSData::getslot(), DTuROSFEDData::getslotsize(), DTuROSFEDData::getuROS(), edm::HandleBase::isValid(), dqmiolumiharvest::j, LogTrace, mode, nEventMonitor, nevents, processFED(), processuROS(), and FCDTask_cfi::slot.
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< dtdi::LumiCache > >.
Definition at line 78 of file DTDataIntegrityTask.cc.
References bookHistos(), bookHistosROS(), bookHistosuROS(), FEDIDmax, FEDIDmin, LogTrace, mode, NuROS, and makeMuonMisalignmentScenario::wheel.
|
private |
Definition at line 117 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, to_string(), topFolder(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
private |
|
private |
Definition at line 306 of file DTDataIntegrityTask.cc.
References dqm::implementation::IBooker::book2D(), timingPdfMaker::histo, HltBtagPostValidation_cff::histoName, createfilelist::int, plotFactory::keyHisto, mode, nano_mu_digi_cff::sector, dqm::implementation::NavigatorBase::setCurrentFolder(), relativeConstraints::station, TDCError, to_string(), topFolder(), uROSError, urosHistos, and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
private |
Definition at line 496 of file DTDataIntegrityTask.cc.
References dqm::implementation::IBooker::book1D(), FEDIDmin, timingPdfMaker::histo, HltBtagPostValidation_cff::histoName, plotFactory::keyHisto, mode, dqm::implementation::NavigatorBase::setCurrentFolder(), to_string(), topFolder(), TTSValues, uROSEventLength, urosHistos, and urosTimeHistos.
Referenced by bookHistograms().
|
override |
Definition at line 944 of file DTDataIntegrityTask.cc.
|
override |
Definition at line 949 of file DTDataIntegrityTask.cc.
References fedTimeHistos, relval_nano::ls, and urosTimeHistos.
void DTDataIntegrityTask::processFED | ( | DTuROSFEDData & | data, |
int | fed | ||
) |
Definition at line 834 of file DTDataIntegrityTask.cc.
References data, errorX, fedHistos, FEDIDmax, FEDIDmin, fedTimeHistos, dqm::impl::MonitorElement::Fill(), hFEDEntry, hFEDFatal, LogTrace, mode, nLinksForFatal, and makeMuonMisalignmentScenario::wheel.
Referenced by analyze().
void DTDataIntegrityTask::processuROS | ( | DTuROSROSData & | data, |
int | fed, | ||
int | uRos | ||
) |
Definition at line 527 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, LogTrace, mode, nano_mu_digi_cff::sector, summaryHistos, TDCError, theDDU(), theROS(), TTSValues, uROSError, uROSEventLength, urosHistos, urosTimeHistos, makeMuonMisalignmentScenario::wheel, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by analyze().
|
private |
Definition at line 1011 of file DTDataIntegrityTask.cc.
References FCDTask_cfi::crate, FEDNumbering::MAXDTUROSFEDID, FEDNumbering::MINDTUROSFEDID, FCDTask_cfi::slot, and theROS().
Referenced by processuROS().
|
private |
Definition at line 1042 of file DTDataIntegrityTask.cc.
References FCDTask_cfi::slot.
Referenced by processuROS(), and theDDU().
void DTDataIntegrityTask::TimeHistos | ( | DQMStore::IBooker & | , |
std::string | histoType | ||
) |
|
private |
Definition at line 935 of file DTDataIntegrityTask.cc.
References fedIntegrityFolder, printsummarytable::folder, and mode.
Referenced by bookHistos(), bookHistosROS(), and bookHistosuROS().
|
private |
Definition at line 75 of file DTDataIntegrityTask.h.
|
private |
Definition at line 110 of file DTDataIntegrityTask.h.
Referenced by analyze(), processFED(), and processuROS().
|
private |
Definition at line 82 of file DTDataIntegrityTask.h.
Referenced by processFED(), and processuROS().
|
private |
Definition at line 108 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), and processFED().
|
private |
Definition at line 107 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), bookHistosuROS(), processFED(), and processuROS().
|
private |
Definition at line 118 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and topFolder().
|
private |
Definition at line 97 of file DTDataIntegrityTask.h.
Referenced by globalEndLuminosityBlock(), and processFED().
|
private |
Definition at line 121 of file DTDataIntegrityTask.h.
Referenced by analyze(), and DTDataIntegrityTask().
|
private |
Definition at line 93 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 94 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processFED().
|
private |
Definition at line 117 of file DTDataIntegrityTask.h.
Referenced by analyze(), bookHistograms(), bookHistos(), bookHistosROS(), bookHistosuROS(), DTDataIntegrityTask(), processFED(), processuROS(), and topFolder().
|
private |
Definition at line 80 of file DTDataIntegrityTask.h.
Referenced by analyze(), and bookHistos().
|
private |
Definition at line 77 of file DTDataIntegrityTask.h.
Referenced by analyze().
|
private |
Definition at line 111 of file DTDataIntegrityTask.h.
Referenced by DTDataIntegrityTask(), and processFED().
|
private |
Definition at line 114 of file DTDataIntegrityTask.h.
Referenced by bookHistograms().
|
private |
Definition at line 84 of file DTDataIntegrityTask.h.
Referenced by bookHistos(), and processuROS().
|
private |
Definition at line 86 of file DTDataIntegrityTask.h.
Referenced by bookHistosROS(), bookHistosuROS(), and processuROS().
|
private |
Definition at line 99 of file DTDataIntegrityTask.h.
Referenced by bookHistosuROS(), globalEndLuminosityBlock(), and processuROS().