80 pluginsMonName_(iConfig.getParameter<
std::
string>(
"pluginsMonName")),
83 doWarningsPlots_(iConfig.getParameter<
bool>(
"doWarningsPlots")),
84 doPUmonitoring_(iConfig.getParameter<
bool>(
"doPUmonitoring")) {
134 for (
size_t i = 0,
n =
errors->size();
i <
n;
i++) {
138 size_t pos =
s.find(
':');
140 std::map<std::string, int>::const_iterator it =
modulesMap.find(s_module);
153 TString
module = it->first;
154 TString
category = (*errors)[
i].category;
207 for (
size_t imodule = 0; imodule < nModules; imodule++)
211 for (
size_t icategories = 0; icategories <
nCategories; icategories++)
228 for (std::map<std::string, int>::const_iterator it =
modulesMap.begin(); it !=
modulesMap.end(); ++it,
i++) {
231 histname =
"errorsVsBXlumi_" + it->first;
240 histname =
"warningVsBXlumi_" + it->first;
262 if (outputMEsInRootFile) {
T getParameter(std::string const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
LogMessageMonitor(const edm::ParameterSet &)
MonitorElement * CategoriesVsModules
virtual void setCurrentFolder(std::string const &fullpath)
std::vector< std::string > categories_vector_
#define DEFINE_FWK_MODULE(type)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< MonitorElement * > ModulesWarningsVsBXlumi
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
std::vector< MonitorElement * > ModulesErrorsVsBXlumi
double getValue(const edm::Event &)
void addDefault(ParameterSetDescription const &psetDescription)
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())
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
bool accept(const edm::Event &event, const edm::EventSetup &setup)
To be called from analyze/filter() methods.
std::map< std::string, int > modulesMap
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< std::vector< edm::ErrorSummaryEntry > > errorToken_
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
GenericTriggerEventFlag * genTriggerEventFlag_
std::vector< std::string > modules_vector_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
std::string pluginsMonName_
DQM_DEPRECATED void save(std::string const &filename, std::string const &path="")
void initRun(const edm::Run &run, const edm::EventSetup &setup)
To be called from beginRun() methods.
~LogMessageMonitor() override
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)