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