Go to the documentation of this file.
35 config.setBOOKING_XML_FILE(
fp.fullPath());
45 dcstoken = consumes<DcsStatusCollection>(
edm::InputTag(
"scalersRawToDigi"));
51 if (ps.
exists(
"MASKEDHW")) {
98 if (
e.getByToken(dcstoken, dcsStatus)) {
101 if (
e.getByToken(dcstoken, dcsStatus)) {
103 DcsStatusCollection::const_iterator dcsStatusItr = dcsStatus->begin();
104 for (; dcsStatusItr != dcsStatus->end(); ++dcsStatusItr) {
166 if (req.
hdef->
getId() == cscdqm::h::PAR_REPORT_SUMMARY || req.
hdef->
getId() == cscdqm::h::PAR_CRT_SUMMARY ||
167 req.
hdef->
getId() == cscdqm::h::PAR_DAQ_SUMMARY || req.
hdef->
getId() == cscdqm::h::PAR_DCS_SUMMARY) {
187 if (req.
hdef->
getId() == cscdqm::h::EMU_CSC_STATS_SUMMARY) {
190 name =
"reportSummaryMap";
196 name, req.
title, req.
nchX, req.
lowX, req.
highX, req.
nchY, req.
lowY, req.
highY, req.
nchZ, req.
lowZ, req.
highZ));
static const char DIR_CRTINFO[]
T const * product() const
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
std::vector< std::string > maskedHW
MonitorElement * bookProfile2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, double lowZ, double highZ, char const *option="s", FUNC onbooking=NOOP())
virtual void setCurrentFolder(std::string const &fullpath)
void updateFractionAndEfficiencyHistos()
On demand update fraction and efficiency MOs.
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
static bool regexMatch(const std::string &expression, const std::string &message)
Match RegExp expression string against string message and return result.
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Begin the run.
T getUntrackedParameter(std::string const &, T const &) const
static const char DIR_DCSINFO[]
cscdqm::MonitorObject implementation used in CSCMonitorModuleCmn
dqm::implementation::IBooker IBooker
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
bool exists(std::string const ¶meterName) const
checks if a parameter exists
MonitorElement * bookString(TString const &name, TString const &value, FUNC onbooking=NOOP())
DQMStore::IBooker * ibooker
unsigned int maskHWElements(std::vector< std::string > &tokens)
Mask HW elements from the efficiency calculations. Can be applied on runtime!
MonitorElement * bookInt(TString const &name, FUNC onbooking=NOOP())
cscdqm::Dispatcher * dispatcher
~CSCMonitorModule() override
Destructor.
const HistoId getId() const
Get Histogram ID.
void applyMeM(bool ready)
const CSCCrateMap * pcrate
virtual const std::string getName() const
Get processed histogram name. It can include additional parameter in formated name....
T getParameter(std::string const &) const
cscdqm::MonitorObject * bookMonitorObject(const cscdqm::HistoBookRequest &p_req) override
Book Monitor Object on Request.
virtual const std::string getPath() const
Get path part of the histogram (used only for DDUs and CSCs)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Book Histograms in the beginRun.
void applyMeP(bool ready)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * book3D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, FUNC onbooking=NOOP())
void init()
Initialize Dispatcher: book histograms, init processor, etc.
CSCDQM Framework frontend and Histogram Cache controller.
static const char INPUT_TAG_LABEL[]
Global stuff.
Monitoring Object interface used to cover Root object and provide common interface to EventProcessor ...
static const char DIR_EVENTINFO[]
std::string default_string
static const char DIR_DAQINFO[]
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
CSCMonitorModule(const edm::ParameterSet &ps)
Constructor.