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 
36 
37 #include <vector>
38 #include <string>
39 #include <map>
40 
42 
43 class GetLumi;
44 
45 //
46 // class declaration
47 //
48 
50 public:
51  explicit LogMessageMonitor(const edm::ParameterSet&);
52  ~LogMessageMonitor() override;
53 
54  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
55 
56 private:
57  // virtual void beginJob() ;
58  void analyze(const edm::Event&, const edm::EventSetup&) override;
59  void endJob() override;
60 
61  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
62 
63  // ----------member data ---------------------------
65 
66  std::string histname; //for naming the histograms according to algorithm used
67 
70 
71  std::map<std::string, int> modulesMap;
72 
73  // from parameters
75  std::vector<std::string> modules_vector_;
76  std::vector<std::string> categories_vector_;
77 
80 
81  // MEs
82  std::vector<MonitorElement*> ModulesErrorsVsBXlumi;
83  std::vector<MonitorElement*> ModulesWarningsVsBXlumi;
84 
86 
89 };
LogMessageMonitor::ModulesWarningsVsBXlumi
std::vector< MonitorElement * > ModulesWarningsVsBXlumi
Definition: LogMessageMonitor.h:83
LogMessageMonitor::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: LogMessageMonitor.cc:271
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:69
LogMessageMonitor::endJob
void endJob() override
Definition: LogMessageMonitor.cc:262
LogMessageMonitor::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: LogMessageMonitor.cc:190
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
LogMessageMonitor::CategoriesVsModules
MonitorElement * CategoriesVsModules
Definition: LogMessageMonitor.h:85
LogMessageMonitor::categories_vector_
std::vector< std::string > categories_vector_
Definition: LogMessageMonitor.h:76
DQMOneEDAnalyzer.h
LogMessageMonitor::ModulesErrorsVsBXlumi
std::vector< MonitorElement * > ModulesErrorsVsBXlumi
Definition: LogMessageMonitor.h:82
MakerMacros.h
GetLumi
Definition: GetLumi.h:21
dqm::legacy::DQMStore
Definition: DQMStore.h:727
LogMessageMonitor::histname
std::string histname
Definition: LogMessageMonitor.h:66
Service.h
LogMessageMonitor::lumiDetails_
GetLumi * lumiDetails_
Definition: LogMessageMonitor.h:78
LogMessageMonitor::modulesMap
std::map< std::string, int > modulesMap
Definition: LogMessageMonitor.h:71
ErrorSummaryEntry.h
EDGetToken.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
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:75
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:87
edm::EventSetup
Definition: EventSetup.h:57
LogMessageMonitor
Definition: LogMessageMonitor.h:49
LogMessageMonitor::errorToken_
edm::EDGetTokenT< std::vector< edm::ErrorSummaryEntry > > errorToken_
Definition: LogMessageMonitor.h:64
LogMessageMonitor::pluginsMonName_
std::string pluginsMonName_
Definition: LogMessageMonitor.h:74
LogMessageMonitor::doPUmonitoring_
bool doPUmonitoring_
Definition: LogMessageMonitor.h:88
Frameworkfwd.h
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
LogMessageMonitor::genTriggerEventFlag_
GenericTriggerEventFlag * genTriggerEventFlag_
Definition: LogMessageMonitor.h:79
ConsumesCollector.h
ParameterSet.h
LogMessageMonitor::dqmStore_
DQMStore * dqmStore_
Definition: LogMessageMonitor.h:68
edm::Event
Definition: Event.h:73
LogMessageMonitor::~LogMessageMonitor
~LogMessageMonitor() override
Definition: LogMessageMonitor.cc:94