CMS 3D CMS Logo

DQMMessageLogger.h
Go to the documentation of this file.
1 
2 #ifndef DQMMESSAGELOGGER_H
3 #define DQMMESSAGELOGGER_H
4 
13 #include <vector>
14 #include <string>
15 #include <map>
16 
18 public:
21 
23  ~DQMMessageLogger() override;
24 
26  void analyze(const edm::Event &, const edm::EventSetup &) override;
27 
28 protected:
29  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
30 
31 private:
32  // ----------member data ---------------------------
33 
34  // Switch for verbosity
36 
37  std::map<std::string, int> moduleMap;
38  std::map<std::string, int> categoryMap;
39  std::map<std::string, int> categoryWCount;
40  std::map<std::string, int> categoryECount;
41  // from parameters
42  std::vector<std::string> categories_vector;
45 
46  //The histos
53 };
54 #endif
std::map< std::string, int > categoryMap
std::string metname
MonitorElement * total_warnings
edm::EDGetTokenT< std::vector< edm::ErrorSummaryEntry > > errorSummary_
MonitorElement * total_errors
MonitorElement * modules_warnings
MonitorElement * categories_errors
void analyze(const edm::Event &, const edm::EventSetup &) override
Get the analysis.
std::map< std::string, int > categoryECount
std::string directoryName
std::map< std::string, int > moduleMap
std::vector< std::string > categories_vector
MonitorElement * modules_errors
MonitorElement * categories_warnings
std::map< std::string, int > categoryWCount
DQMMessageLogger(const edm::ParameterSet &)
Constructor.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: Run.h:45
~DQMMessageLogger() override
Destructor.