47 dcstoken = consumes<DcsStatusCollection>(
edm::InputTag(
"scalersRawToDigi") );
53 if (ps.
exists(
"MASKEDHW")) {
106 DcsStatusCollection::const_iterator dcsStatusItr = dcsStatus->begin();
107 for (; dcsStatusItr != dcsStatus->end(); ++dcsStatusItr) {
175 if (req.
hdef->
getId() == cscdqm::h::PAR_REPORT_SUMMARY ||
176 req.
hdef->
getId() == cscdqm::h::PAR_CRT_SUMMARY ||
177 req.
hdef->
getId() == cscdqm::h::PAR_DAQ_SUMMARY ||
178 req.
hdef->
getId() == cscdqm::h::PAR_DCS_SUMMARY) {
201 if (req.
hdef->
getId() == cscdqm::h::EMU_CSC_STATS_SUMMARY) {
204 name =
"reportSummaryMap";
209 me =
new CSCMonitorObject(
ibooker->
book3D(name, req.
title, req.
nchX, req.
lowX, req.
highX, req.
nchY, req.
lowY, req.
highY, req.
nchZ, req.
lowZ, req.
highZ));
215 me =
new CSCMonitorObject(
ibooker->
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 * bookProfile(Args &&...args)
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 ...
virtual ~CSCMonitorModule()
Destructor.
MonitorElement * bookInt(Args &&...args)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
MonitorElement * bookString(Args &&...args)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Book Histograms in the beginRun.
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.
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)
Begin the run.
tuple path
else: Piece not in the list, fine.
const HistoId getId() const
Get Histogram ID.
cscdqm::MonitorObject * bookMonitorObject(const cscdqm::HistoBookRequest &p_req)
Book Monitor Object on Request.
static const char DIR_DCSINFO[]
MonitorElement * bookProfile2D(Args &&...args)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
MonitorElement * book1D(Args &&...args)
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)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
static const char DIR_CRTINFO[]
T const * product() const
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.
MonitorElement * bookFloat(Args &&...args)
std::string fullPath() const
MonitorElement * book3D(Args &&...args)
static const HistoName keys[]