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") )
134 if(errors->size()==0){
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;
218 for (
size_t imodule = 0; imodule < nModules; imodule++)
222 for (
size_t icategories = 0; icategories < nCategories; icategories++)
234 int BXlumiBin = BXlumiParameters.
getParameter<
int>(
"BXlumiBin");
235 double BXlumiMin = BXlumiParameters.
getParameter<
double>(
"BXlumiMin");
236 double BXlumiMax = BXlumiParameters.
getParameter<
double>(
"BXlumiMax");
239 for(std::map<std::string,int>::const_iterator it =
modulesMap.begin();
244 histname =
"errorsVsBXlumi_" + it->first;
252 histname =
"warningVsBXlumi_" + it->first;
276 if(outputMEsInRootFile)
T getParameter(std::string const &) const
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
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
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
virtual void endRun(edm::Run const &, edm::EventSetup const &)
double getValue(const edm::Event &)
void addDefault(ParameterSetDescription const &psetDescription)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
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 save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
edm::EDGetTokenT< std::vector< edm::ErrorSummaryEntry > > errorToken_
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
GenericTriggerEventFlag * genTriggerEventFlag_
std::vector< std::string > modules_vector_
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
std::string pluginsMonName_
void showDirStructure(void) const
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)