Common CSC DQM Module that uses CSCDQM Framework. More...
#include <CSCMonitorModule.h>
Public Member Functions | |
cscdqm::MonitorObject * | bookMonitorObject (const cscdqm::HistoBookRequest &p_req) override |
Book Monitor Object on Request. More... | |
CSCMonitorModule (const edm::ParameterSet &ps) | |
Constructor. More... | |
bool | getCSCDetId (const unsigned int crateId, const unsigned int dmbId, CSCDetId &detId) const override |
~CSCMonitorModule () override | |
Destructor. More... | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Public Member Functions inherited from cscdqm::MonitorObjectProvider | |
virtual | ~MonitorObjectProvider ()(false) |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
Begin the run. More... | |
void | beginJob () |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Book Histograms in the beginRun. More... | |
void | endJob () |
void | endRun (const edm::Run &r, const edm::EventSetup &c) override |
void | setup () |
Private Attributes | |
cscdqm::Configuration | config |
cscdqm::Dispatcher * | dispatcher |
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 77 of file CSCMonitorModule.h.
CSCMonitorModule::CSCMonitorModule | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Global stuff
ps | Parameters. |
Definition at line 25 of file CSCMonitorModule.cc.
References dispatcher, edm::ParameterSet::exists(), edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), cscdqm::Dispatcher::init(), INPUT_TAG_LABEL, inputTag, maskedHW, prebookEffParams, and processDcsScalers.
|
override |
|
overrideprotected |
Begin the run.
Definition at line 88 of file CSCMonitorModule.cc.
References cscdqm::HWStandbyType::applyMeM(), cscdqm::HWStandbyType::applyMeP(), DcsStatus::CSCm, DcsStatus::CSCp, dispatcher, edm::EventSetup::get(), edm::Event::getByToken(), inputTag, pcrate, cscdqm::HWStandbyType::process, processDcsScalers, and edm::ESHandle< T >::product().
Referenced by setup().
|
inlineprotected |
|
inlineoverrideprotected |
Definition at line 134 of file CSCMonitorModule.h.
|
overrideprotected |
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).
Definition at line 125 of file CSCMonitorModule.cc.
References cscdqm::Dispatcher::book(), dispatcher, cuy::ib, ibooker, maskedHW, cscdqm::Dispatcher::maskHWElements(), prebookEffParams, and cscdqm::Dispatcher::updateFractionAndEfficiencyHistos().
Referenced by endJob().
|
overridevirtual |
Book Monitor Object on Request.
req | Request. |
Implements cscdqm::MonitorObjectProvider.
Definition at line 154 of file CSCMonitorModule.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::book3D(), DQMStore::IBooker::bookFloat(), DQMStore::IBooker::bookInt(), DQMStore::IBooker::bookProfile(), DQMStore::IBooker::bookProfile2D(), DQMStore::IBooker::bookString(), DQMStore::IBooker::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, dataset::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, callgraph::path, cscdqm::PROFILE, cscdqm::PROFILE2D, cscdqm::Utility::regexMatch(), DQMStore::IBooker::setCurrentFolder(), cscdqm::STRING, AlCaHLTBitMon_QueryRunRegistry::string, and cscdqm::HistoBookRequest::title.
Referenced by getCSCDetId().
|
inlineprotected |
|
inlineoverrideprotected |
Definition at line 135 of file CSCMonitorModule.h.
|
inlineoverridevirtual |
MonitorObjectProvider Implementation
Implements cscdqm::MonitorObjectProvider.
Definition at line 113 of file CSCMonitorModule.h.
References bookMonitorObject(), CSCCrateMap::detId(), MAX_CRATE_ID, MAX_DMB_SLOT, and DetId::rawId().
|
inlineprotected |
Definition at line 132 of file CSCMonitorModule.h.
References analyze(), EnergyCorrector::c, and MillePedeFileConverter_cfg::e.
|
private |
Definition at line 90 of file CSCMonitorModule.h.
|
private |
Definition at line 91 of file CSCMonitorModule.h.
Referenced by analyze(), bookHistograms(), CSCMonitorModule(), and ~CSCMonitorModule().
|
private |
Definition at line 93 of file CSCMonitorModule.h.
Referenced by bookHistograms(), and bookMonitorObject().
|
private |
Definition at line 94 of file CSCMonitorModule.h.
Referenced by analyze(), and CSCMonitorModule().
|
private |
Definition at line 101 of file CSCMonitorModule.h.
Referenced by bookHistograms(), and CSCMonitorModule().
|
private |
Pointer to crate mapping from database
Definition at line 99 of file CSCMonitorModule.h.
Referenced by analyze().
|
private |
Definition at line 95 of file CSCMonitorModule.h.
Referenced by bookHistograms(), and CSCMonitorModule().
|
private |
Definition at line 96 of file CSCMonitorModule.h.
Referenced by analyze(), and CSCMonitorModule().