82 , pluginsMonName_ ( iConfig.getParameter<
std::
string> (
"pluginsMonName") )
83 , modules_vector_ ( iConfig.getParameter<
std::vector<
std::
string> >(
"modules") )
84 , categories_vector_ ( iConfig.getParameter<
std::vector<
std::
string> >(
"categories") )
85 , doWarningsPlots_ ( iConfig.getParameter<
bool> (
"doWarningsPlots") )
86 , doPUmonitoring_ ( iConfig.getParameter<
bool> (
"doPUmonitoring") )
146 for(
size_t i = 0,
n = errors->size();
i <
n ;
i++){
151 size_t pos = s.find(
':');
153 std::map<std::string,int>::const_iterator it =
modulesMap.find(s_module);
166 TString
module = it->first;
167 TString
category = (*errors)[
i].category;
220 for (
size_t imodule = 0; imodule < nModules; imodule++)
224 for (
size_t icategories = 0; icategories < nCategories; icategories++)
236 int BXlumiBin = BXlumiParameters.
getParameter<
int>(
"BXlumiBin");
237 double BXlumiMin = BXlumiParameters.
getParameter<
double>(
"BXlumiMin");
238 double BXlumiMax = BXlumiParameters.
getParameter<
double>(
"BXlumiMax");
241 for(std::map<std::string,int>::const_iterator it =
modulesMap.begin();
246 histname =
"errorsVsBXlumi_" + it->first;
254 histname =
"warningVsBXlumi_" + it->first;
278 if(outputMEsInRootFile)
T getParameter(std::string const &) const
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
LogMessageMonitor(const edm::ParameterSet &)
MonitorElement * CategoriesVsModules
MonitorElement * bookProfile(Args &&...args)
std::vector< std::string > categories_vector_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< MonitorElement * > ModulesWarningsVsBXlumi
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)
std::map< std::string, int > modulesMap
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)
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
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.
void analyze(const edm::Event &, const edm::EventSetup &) override
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
edm::EDGetTokenT< std::vector< edm::ErrorSummaryEntry > > errorToken_
void showDirStructure() const
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
GenericTriggerEventFlag * genTriggerEventFlag_
std::vector< std::string > modules_vector_
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
std::string pluginsMonName_
void endRun(edm::Run const &, edm::EventSetup const &) override
void initRun(const edm::Run &run, const edm::EventSetup &setup)
To be called from beginRun() methods.
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
~LogMessageMonitor() override