Common CSC DQM Module that uses CSCDQM Framework
More...
#include <CSCMonitorModule.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
Begin the run. More... | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Book Histograms in the beginRun. More... | |
Protected Member Functions inherited from DQMOneEDAnalyzer<> | |
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 Attributes | |
cscdqm::Configuration | config |
cscdqm::Dispatcher * | dispatcher |
const edm::ESGetToken< CSCCrateMap, CSCCrateMapRcd > | hcrateToken_ |
DQMStore::IBooker * | ibooker |
edm::InputTag | inputTag |
std::vector< std::string > | maskedHW |
const CSCCrateMap * | pcrate |
bool | prebookEffParams |
bool | processDcsScalers |
Common CSC DQM Module that uses CSCDQM Framework
Definition at line 73 of file CSCMonitorModule.h.
CSCMonitorModule::CSCMonitorModule | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Global stuff
ps | Parameters. |
Definition at line 25 of file CSCMonitorModule.cc.
References edm::EDConsumerBase::consumesCollector(), dispatcher, edm::ParameterSet::exists(), personalPlayback::fp, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), cscdqm::Dispatcher::init(), INPUT_TAG_LABEL, ProducerED_cfi::InputTag, inputTag, maskedHW, submitPVValidationJobs::params, prebookEffParams, and processDcsScalers.
|
override |
|
overrideprotectedvirtual |
Begin the run.
EDAnalyzer Implementation
Use esConsumes to get crate mapping
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 87 of file CSCMonitorModule.cc.
References cscdqm::HWStandbyType::applyMeM(), cscdqm::HWStandbyType::applyMeP(), DummyCfis::c, DcsStatus::CSCm, DcsStatus::CSCp, dispatcher, MillePedeFileConverter_cfg::e, hcrateToken_, inputTag, pcrate, cscdqm::HWStandbyType::process, processDcsScalers, and edm::ESHandle< T >::product().
|
overrideprotectedvirtual |
Book Histograms in the beginRun.
ib | - DQMStore::IBooker interface access object |
edm::Run | const & - not used |
edm::EventSetup | const & - not used |
Store pointer to IBooker to use it in ::bookMonitorObject() callback function used by the Dispatcher::book() method
Call Dispatcher histogram booking method to pre-boook all available histograms before processing data. New PREBOOK_ALL_HISTOS config option should be set to true (default). That should disable original CSC on-the-fly histo booking during data processing. Changed for multi-threaded framework compatibility. (pre-booking of all histos is not most efficient way for CSCi DQM).
Implements DQMOneEDAnalyzer<>.
Definition at line 123 of file CSCMonitorModule.cc.
References cscdqm::Dispatcher::book(), dispatcher, cuy::ib, ibooker, maskedHW, cscdqm::Dispatcher::maskHWElements(), prebookEffParams, and cscdqm::Dispatcher::updateFractionAndEfficiencyHistos().
|
overridevirtual |
Book Monitor Object on Request.
req | Request. |
Implements cscdqm::MonitorObjectProvider.
Definition at line 149 of file CSCMonitorModule.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::book3D(), dqm::implementation::IBooker::bookFloat(), dqm::implementation::IBooker::bookInt(), dqm::implementation::IBooker::bookProfile(), dqm::implementation::IBooker::bookProfile2D(), dqm::implementation::IBooker::bookString(), dqm::implementation::NavigatorBase::cd(), cscdqm::HistoBookRequest::default_float, cscdqm::HistoBookRequest::default_int, cscdqm::HistoBookRequest::default_string, DIR_CRTINFO, DIR_DAQINFO, DIR_DCSINFO, DIR_EVENTINFO, cscdqm::h::EMU_CSC_STATS_SUMMARY, cscdqm::FLOAT, cscdqm::HistoBookRequest::folder, cscdqm::HistoDef::getId(), cscdqm::HistoDef::getName(), cscdqm::HistoDef::getPath(), cscdqm::H1D, cscdqm::H2D, cscdqm::H3D, cscdqm::HistoBookRequest::hdef, cscdqm::HistoBookRequest::highX, cscdqm::HistoBookRequest::highY, cscdqm::HistoBookRequest::highZ, cscdqm::HistoBookRequest::htype, ibooker, cscdqm::INT, cscdqm::h::keys, cscdqm::HistoBookRequest::lowX, cscdqm::HistoBookRequest::lowY, cscdqm::HistoBookRequest::lowZ, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, cscdqm::HistoBookRequest::nchX, cscdqm::HistoBookRequest::nchY, cscdqm::HistoBookRequest::nchZ, cscdqm::HistoBookRequest::option, cscdqm::h::PAR_CRT_SUMMARY, cscdqm::h::PAR_DAQ_SUMMARY, cscdqm::h::PAR_DCS_SUMMARY, cscdqm::h::PAR_REPORT_SUMMARY, castor_dqm_sourceclient_file_cfg::path, cscdqm::PROFILE, cscdqm::PROFILE2D, cscdqm::Utility::regexMatch(), dqm::implementation::NavigatorBase::setCurrentFolder(), cscdqm::STRING, AlCaHLTBitMon_QueryRunRegistry::string, and cscdqm::HistoBookRequest::title.
|
inlineoverridevirtual |
MonitorObjectProvider Implementation
Implements cscdqm::MonitorObjectProvider.
Definition at line 107 of file CSCMonitorModule.h.
References hcalRecHitTable_cff::detId, CSCCrateMap::detId(), MAX_CRATE_ID, MAX_DMB_SLOT, and pcrate.
|
private |
Definition at line 83 of file CSCMonitorModule.h.
Referenced by confdb.HLTProcess::addEras(), confdb.HLTProcess::addGlobalOptions(), confdb.HLTProcess::build_source(), confdb.HLTProcess::buildOptions(), confdb.HLTProcess::customize(), confdb.HLTProcess::dump(), confdb.HLTProcess::fixPrescales(), pkg.AbstractPkg::generate(), pkg.AbstractPkg::get_kwds(), confdb.HLTProcess::getPathList(), confdb.HLTProcess::getRawConfigurationFromDB(), confdb.HLTProcess::getSetupConfigurationFromDB(), confdb.HLTProcess::instrumentDQM(), confdb.HLTProcess::instrumentErrorEventType(), confdb.HLTProcess::instrumentOpenMode(), confdb.HLTProcess::instrumentTiming(), confdb.HLTProcess::loadCffCommand(), confdb.HLTProcess::loadSetupCff(), confdb.HLTProcess::overrideGlobalTag(), confdb.HLTProcess::overrideL1MenuXml(), confdb.HLTProcess::overrideOutput(), confdb.HLTProcess::overrideProcessName(), pkg.AbstractPkg::parse_etags(), confdb.HLTProcess::runL1Emulator(), and confdb.HLTProcess::specificCustomize().
|
private |
Definition at line 84 of file CSCMonitorModule.h.
Referenced by analyze(), bookHistograms(), CSCMonitorModule(), and ~CSCMonitorModule().
|
private |
Definition at line 91 of file CSCMonitorModule.h.
Referenced by analyze().
|
private |
Definition at line 86 of file CSCMonitorModule.h.
Referenced by bookHistograms(), and bookMonitorObject().
|
private |
Definition at line 87 of file CSCMonitorModule.h.
Referenced by analyze(), and CSCMonitorModule().
|
private |
Definition at line 96 of file CSCMonitorModule.h.
Referenced by bookHistograms(), and CSCMonitorModule().
|
private |
Pointer to crate mapping from database
Definition at line 94 of file CSCMonitorModule.h.
Referenced by analyze(), and getCSCDetId().
|
private |
Definition at line 88 of file CSCMonitorModule.h.
Referenced by bookHistograms(), and CSCMonitorModule().
|
private |
Definition at line 89 of file CSCMonitorModule.h.
Referenced by analyze(), and CSCMonitorModule().