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 
17 class MonitorElement;
18 
20  public:
21 
24 
26  ~DQMMessageLogger() override;
27 
29  void analyze(const edm::Event&, const edm::EventSetup&) override;
30 
31  protected:
32 
33  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
34 
35  private:
36 
37 
38  // ----------member data ---------------------------
39 
40  // Switch for verbosity
42 
43  std::map<std::string,int> moduleMap;
44  std::map<std::string,int> categoryMap;
45  std::map<std::string,int> categoryWCount;
46  std::map<std::string,int> categoryECount;
47  // from parameters
48  std::vector<std::string> categories_vector;
51 
52  //The histos
59 
60 
61 };
62 #endif
63 
64 
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 > moduleMap
std::map< std::string, int > categoryMap
std::map< std::string, int > categoryECount
std::string directoryName
std::map< std::string, int > categoryWCount
std::vector< std::string > categories_vector
MonitorElement * modules_errors
MonitorElement * categories_warnings
DQMMessageLogger(const edm::ParameterSet &)
Constructor.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: Run.h:43
~DQMMessageLogger() override
Destructor.