Common CSC DQM Module that uses CSCDQM Framework. More...
#include <CSCMonitorModule.h>
Public Member Functions | |
cscdqm::MonitorObject * | bookMonitorObject (const cscdqm::HistoBookRequest &p_req) |
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 |
virtual | ~CSCMonitorModule () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze Event. More... | |
void | beginJob () |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
Begin the run. More... | |
void | endJob () |
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
void | setup () |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Private Attributes | |
cscdqm::Configuration | config |
DQMStore * | dbe |
cscdqm::Dispatcher * | dispatcher |
edm::InputTag | inputTag |
const CSCCrateMap * | pcrate |
bool | prebookEffParams |
bool | processDcsScalers |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Common CSC DQM Module that uses CSCDQM Framework.
Definition at line 69 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, dbe, dispatcher, edm::ParameterSet::exists(), edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), cscdqm::Dispatcher::init(), INPUT_TAG_LABEL, inputTag, cscdqm::Dispatcher::maskHWElements(), cppFunctionSkipper::operator, prebookEffParams, and processDcsScalers.
|
virtual |
|
protectedvirtual |
Analyze Event.
Implements edm::EDAnalyzer.
Definition at line 75 of file CSCMonitorModule.cc.
References cscdqm::HWStandbyType::applyMeM(), cscdqm::HWStandbyType::applyMeP(), DcsStatus::CSCm, DcsStatus::CSCp, dispatcher, edm::EventSetup::get(), edm::Event::getByLabel(), inputTag, pcrate, cscdqm::HWStandbyType::process, processDcsScalers, and edm::ESHandle< class >::product().
|
inlineprotectedvirtual |
EDAnalyzer Implementation
Reimplemented from edm::EDAnalyzer.
Definition at line 115 of file CSCMonitorModule.h.
|
inlineprotectedvirtual |
|
protectedvirtual |
Begin the run.
Reimplemented from edm::EDAnalyzer.
Definition at line 62 of file CSCMonitorModule.cc.
References dispatcher, prebookEffParams, and cscdqm::Dispatcher::updateFractionAndEfficiencyHistos().
|
virtual |
Book Monitor Object on Request.
req | Request. |
Implements cscdqm::MonitorObjectProvider.
Definition at line 106 of file CSCMonitorModule.cc.
References DQMStore::book1D(), DQMStore::book2D(), DQMStore::book3D(), DQMStore::bookFloat(), DQMStore::bookInt(), DQMStore::bookProfile(), DQMStore::bookProfile2D(), DQMStore::bookString(), dbe, cscdqm::HistoBookRequest::default_float, cscdqm::HistoBookRequest::default_int, cscdqm::HistoBookRequest::default_string, DIR_CRTINFO, DIR_DAQINFO, DIR_DCSINFO, DIR_EVENTINFO, 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, cscdqm::INT, cscdqm::h::keys, cscdqm::HistoBookRequest::lowX, cscdqm::HistoBookRequest::lowY, cscdqm::HistoBookRequest::lowZ, mergeVDriftHistosByStation::name, cscdqm::HistoBookRequest::nchX, cscdqm::HistoBookRequest::nchY, cscdqm::HistoBookRequest::nchZ, NULL, cscdqm::HistoBookRequest::option, scaleCards::path, cscdqm::PROFILE, cscdqm::PROFILE2D, cscdqm::Utility::regexMatch(), DQMStore::setCurrentFolder(), cscdqm::STRING, and cscdqm::HistoBookRequest::title.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlinevirtual |
MonitorObjectProvider Implementation
Implements cscdqm::MonitorObjectProvider.
Definition at line 98 of file CSCMonitorModule.h.
References CSCCrateMap::detId(), MAX_CRATE_ID, MAX_DMB_SLOT, pcrate, and DetId::rawId().
|
inlineprotected |
Definition at line 117 of file CSCMonitorModule.h.
|
private |
Definition at line 82 of file CSCMonitorModule.h.
Referenced by CSCMonitorModule().
|
private |
Definition at line 84 of file CSCMonitorModule.h.
Referenced by bookMonitorObject(), and CSCMonitorModule().
|
private |
Definition at line 83 of file CSCMonitorModule.h.
Referenced by analyze(), beginRun(), CSCMonitorModule(), and ~CSCMonitorModule().
|
private |
Definition at line 85 of file CSCMonitorModule.h.
Referenced by analyze(), and CSCMonitorModule().
|
private |
Pointer to crate mapping from database
Definition at line 90 of file CSCMonitorModule.h.
Referenced by analyze(), and getCSCDetId().
|
private |
Definition at line 86 of file CSCMonitorModule.h.
Referenced by beginRun(), and CSCMonitorModule().
|
private |
Definition at line 87 of file CSCMonitorModule.h.
Referenced by analyze(), and CSCMonitorModule().