46 dcstoken = consumes<DcsStatusCollection>(
edm::InputTag(
"scalersRawToDigi"));
52 if (ps.
exists(
"MASKEDHW")) {
105 DcsStatusCollection::const_iterator dcsStatusItr = dcsStatus->begin();
106 for (; dcsStatusItr != dcsStatus->end(); ++dcsStatusItr) {
192 name =
"reportSummaryMap";
198 name, req.
title, req.
nchX, req.
lowX, req.
highX, req.
nchY, req.
lowY, req.
highY, req.
nchZ, req.
lowZ, req.
highZ));
cscdqm::Configuration config
void init()
Initialize Dispatcher: book histograms, init processor, etc.
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
const edm::EventSetup & c
void applyMeM(bool ready)
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())
const edm::ESGetToken< CSCCrateMap, CSCCrateMapRcd > hcrateToken_
virtual void setCurrentFolder(std::string const &fullpath)
static const char DIR_DAQINFO[]
cscdqm::MonitorObject implementation used in CSCMonitorModuleCmn
bool getByToken(EDGetToken token, Handle< PROD > &result) const
CSCMonitorModule(const edm::ParameterSet &ps)
Constructor.
void updateFractionAndEfficiencyHistos()
On demand update fraction and efficiency MOs.
virtual void Fill(float x)=0
Monitoring Object interface used to cover Root object and provide common interface to EventProcessor ...
bool exists(std::string const ¶meterName) const
checks if a parameter exists
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Book Histograms in the beginRun.
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Begin the run.
cscdqm::Dispatcher * dispatcher
std::vector< std::string > maskedHW
static bool regexMatch(const std::string &expression, const std::string &message)
Match RegExp expression string against string message and return result.
CSCDQM Framework frontend and Histogram Cache controller.
MonitorElement * bookString(TString const &name, TString const &value, FUNC onbooking=NOOP())
unsigned int maskHWElements(std::vector< std::string > &tokens)
Mask HW elements from the efficiency calculations. Can be applied on runtime!
void applyMeP(bool ready)
const HistoId getId() const
Get Histogram ID.
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())
static const char DIR_DCSINFO[]
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
const CSCCrateMap * pcrate
static const char INPUT_TAG_LABEL[]
Global stuff.
std::string default_string
static const char DIR_EVENTINFO[]
virtual const std::string getPath() const
Get path part of the histogram (used only for DDUs and CSCs)
static const char DIR_CRTINFO[]
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
T const * product() const
T getParameter(std::string const &) const
MonitorElement * bookInt(TString const &name, FUNC onbooking=NOOP())
~CSCMonitorModule() override
Destructor.
DQMStore::IBooker * ibooker
virtual const std::string getName() const
Get processed histogram name. It can include additional parameter in formated name. This Name is being constructed from raw name and additional parameter.
std::string fullPath() const
cscdqm::MonitorObject * bookMonitorObject(const cscdqm::HistoBookRequest &p_req) override
Book Monitor Object on Request.
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, 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())
static const HistoName keys[]