43 if (ps.
exists(
"MASKEDHW")) {
87 if (e.
getByLabel(
"scalersRawToDigi", dcsStatus)) {
88 DcsStatusCollection::const_iterator dcsStatusItr = dcsStatus->begin();
89 for (; dcsStatusItr != dcsStatus->end(); ++dcsStatusItr) {
125 if (req.
hdef->
getId() == cscdqm::h::PAR_REPORT_SUMMARY ||
126 req.
hdef->
getId() == cscdqm::h::PAR_CRT_SUMMARY ||
127 req.
hdef->
getId() == cscdqm::h::PAR_DAQ_SUMMARY ||
128 req.
hdef->
getId() == cscdqm::h::PAR_DCS_SUMMARY) {
147 if (req.
hdef->
getId() == cscdqm::h::EMU_CSC_STATS_SUMMARY) {
149 name =
"reportSummaryMap";
154 me =
new CSCMonitorObject(
dbe->
book3D(name, req.
title, req.
nchX, req.
lowX, req.
highX, req.
nchY, req.
lowY, req.
highY, req.
nchZ, req.
lowZ, req.
highZ));
160 me =
new CSCMonitorObject(
dbe->
bookProfile2D(name, req.
title, req.
nchX, req.
lowX, req.
highX, req.
nchY, req.
lowY, req.
highY, req.
nchZ, req.
lowZ, req.
highZ, req.
option.c_str()));
cscdqm::Configuration config
void init()
Initialize Dispatcher: book histograms, init processor, etc.
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void applyMeM(bool ready)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
static const char DIR_DAQINFO[]
cscdqm::MonitorObject implementation used in CSCMonitorModuleCmn
CSCMonitorModule(const edm::ParameterSet &ps)
Constructor.
MonitorElement * book3D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ)
Book 3D histogram.
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 ...
virtual ~CSCMonitorModule()
Destructor.
bool exists(std::string const ¶meterName) const
checks if a parameter exists
cscdqm::Dispatcher * dispatcher
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.
void beginRun(const edm::Run &r, const edm::EventSetup &c)
Begin the run.
MonitorElement * bookFloat(const char *name)
Book float.
unsigned int maskHWElements(std::vector< std::string > &tokens)
Mask HW elements from the efficiency calculations. Can be applied on runtime!
void applyMeP(bool ready)
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze Event.
const HistoId getId() const
Get Histogram ID.
cscdqm::MonitorObject * bookMonitorObject(const cscdqm::HistoBookRequest &p_req)
Book Monitor Object on Request.
MonitorElement * bookString(const char *name, const char *value)
Book string.
static const char DIR_DCSINFO[]
const CSCCrateMap * pcrate
static const char INPUT_TAG_LABEL[]
Global stuff.
std::string default_string
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
static const char DIR_EVENTINFO[]
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual const std::string getPath() const
Get path part of the histogram (used only for DDUs and CSCs)
static const char DIR_CRTINFO[]
T const * product() const
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
MonitorElement * bookInt(const char *name)
Book int.
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
static const HistoName keys[]
void setCurrentFolder(const std::string &fullpath)
MonitorElement * bookProfile2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, const char *option="s")