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 | |
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 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 |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer<> | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMOneEDAnalyzer<> | |
edm::EDPutTokenT< DQMToken > | runToken_ |
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 config, edm::EDConsumerBase::consumesCollector(), dispatcher, edm::ParameterSet::exists(), personalPlayback::fp, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), cscdqm::Dispatcher::init(), INPUT_TAG_LABEL, inputTag, HLT_FULL_cff::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(), DcsStatus::CSCm, DcsStatus::CSCp, dispatcher, edm::Event::getByToken(), edm::EventSetup::getHandle(), hcrateToken_, inputTag, pcrate, cscdqm::HWStandbyType::process, processDcsScalers, and edm::ESHandle< class >::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::MonitorObject::Fill(), 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, mergeVDriftHistosByStation::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, fed_dqm_sourceclient-live_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 CSCCrateMap::detId(), MAX_CRATE_ID, MAX_DMB_SLOT, pcrate, and DetId::rawId().
|
private |
Definition at line 83 of file CSCMonitorModule.h.
Referenced by CSCMonitorModule(), and zMuMuValidation.ZMuMuValidation::trackcollection().
|
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().