CMS 3D CMS Logo

LogMessageMonitor.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: LogMessageMonitor
4 // Class: LogMessageMonitor
5 //
13 //
14 // Original Author: Mia Tosi,40 3-B32,+41227671609,
15 // Created: Thu Mar 8 14:34:13 CET 2012
16 //
17 //
18 
19 // system include files
20 #include <memory>
21 
22 // user include files
27 
31 
33 
35 
36 #include <vector>
37 #include <string>
38 #include <map>
39 
41 
42 class GetLumi;
43 
44 //
45 // class declaration
46 //
47 
49 public:
50  explicit LogMessageMonitor(const edm::ParameterSet&);
51  ~LogMessageMonitor() override;
52 
53  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
54 
55 private:
56  // virtual void beginJob() ;
57  void analyze(const edm::Event&, const edm::EventSetup&) override;
58  void endJob() override;
59 
60  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
61 
62  // ----------member data ---------------------------
64 
65  std::string histname; //for naming the histograms according to algorithm used
66 
69 
70  std::map<std::string, int> modulesMap;
71 
72  // from parameters
74  std::vector<std::string> modules_vector_;
75  std::vector<std::string> categories_vector_;
76 
79 
80  // MEs
81  std::vector<MonitorElement*> ModulesErrorsVsBXlumi;
82  std::vector<MonitorElement*> ModulesWarningsVsBXlumi;
83 
85 
88 };
LogMessageMonitor::ModulesWarningsVsBXlumi
std::vector< MonitorElement * > ModulesWarningsVsBXlumi
Definition: LogMessageMonitor.h:82
LogMessageMonitor::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: LogMessageMonitor.cc:268
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
LogMessageMonitor::LogMessageMonitor
LogMessageMonitor(const edm::ParameterSet &)
Definition: LogMessageMonitor.cc:77
DQMOneEDAnalyzer
Definition: DQMOneEDAnalyzer.h:20
LogMessageMonitor::conf_
edm::ParameterSet conf_
Definition: LogMessageMonitor.h:68
LogMessageMonitor::endJob
void endJob() override
Definition: LogMessageMonitor.cc:259
LogMessageMonitor::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: LogMessageMonitor.cc:187
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
LogMessageMonitor::CategoriesVsModules
MonitorElement * CategoriesVsModules
Definition: LogMessageMonitor.h:84
LogMessageMonitor::categories_vector_
std::vector< std::string > categories_vector_
Definition: LogMessageMonitor.h:75
DQMOneEDAnalyzer.h
LogMessageMonitor::ModulesErrorsVsBXlumi
std::vector< MonitorElement * > ModulesErrorsVsBXlumi
Definition: LogMessageMonitor.h:81
MakerMacros.h
GetLumi
Definition: GetLumi.h:21
dqm::legacy::DQMStore
Definition: DQMStore.h:728
LogMessageMonitor::histname
std::string histname
Definition: LogMessageMonitor.h:65
LogMessageMonitor::lumiDetails_
GetLumi * lumiDetails_
Definition: LogMessageMonitor.h:77
LogMessageMonitor::modulesMap
std::map< std::string, int > modulesMap
Definition: LogMessageMonitor.h:70
EDGetToken.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
edm::ParameterSet
Definition: ParameterSet.h:47
LogMessageMonitor::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: LogMessageMonitor.cc:107
Event.h
LogMessageMonitor::modules_vector_
std::vector< std::string > modules_vector_
Definition: LogMessageMonitor.h:74
GenericTriggerEventFlag
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
Definition: GenericTriggerEventFlag.h:42
LogMessageMonitor::doWarningsPlots_
bool doWarningsPlots_
Definition: LogMessageMonitor.h:86
edm::EventSetup
Definition: EventSetup.h:58
LogMessageMonitor
Definition: LogMessageMonitor.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LogMessageMonitor::errorToken_
edm::EDGetTokenT< std::vector< edm::ErrorSummaryEntry > > errorToken_
Definition: LogMessageMonitor.h:63
LogMessageMonitor::pluginsMonName_
std::string pluginsMonName_
Definition: LogMessageMonitor.h:73
LogMessageMonitor::doPUmonitoring_
bool doPUmonitoring_
Definition: LogMessageMonitor.h:87
ErrorSummaryEntry.h
Frameworkfwd.h
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
LogMessageMonitor::genTriggerEventFlag_
GenericTriggerEventFlag * genTriggerEventFlag_
Definition: LogMessageMonitor.h:78
ConsumesCollector.h
ParameterSet.h
LogMessageMonitor::dqmStore_
DQMStore * dqmStore_
Definition: LogMessageMonitor.h:67
edm::Event
Definition: Event.h:73
LogMessageMonitor::~LogMessageMonitor
~LogMessageMonitor() override
Definition: LogMessageMonitor.cc:94