CMS 3D CMS Logo

DQMMessageLoggerClient.h
Go to the documentation of this file.
1 
2 #ifndef DQMMESSAGELOGGERCLIENT_H
3 #define DQMMESSAGELOGGERCLIENT_H
4 
8 #include <vector>
9 #include <string>
10 #include <map>
11 
13 public:
16  // Constructor
18  // Destructor
19  ~DQMMessageLoggerClient() override;
20 
21 protected:
22  void beginJob() override;
23  //void beginRun(const edm::Run&, const edm::EventSetup&);
24 
25  void beginRun(const edm::Run &, const edm::EventSetup &) override;
26 
27  // Get the analysis
28  void analyze(const edm::Event &, const edm::EventSetup &) override;
29 
30  // Save the histos
31  void endRun(const edm::Run &, const edm::EventSetup &) override;
32  void endJob() override;
33 
34 private:
35  void fillHistograms();
36 
37  // ----------member data ---------------------------
38 
39  DQMStore *theDbe;
42 
43  std::vector<std::string> binLabel;
44  std::vector<Double_t> binContent;
45 
48 
49  MonitorElement *modulesErrorsFound;
50  MonitorElement *modulesWarningsFound;
51  MonitorElement *categoriesErrorsFound;
52  MonitorElement *categoriesWarningsFound;
53 };
54 #endif
dqm::legacy::DQMStore DQMStore
MonitorElement * modulesErrorsFound
DQMMessageLoggerClient(const edm::ParameterSet &)
std::vector< std::string > binLabel
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * categoriesErrorsFound
MonitorElement * categoriesWarningsFound
void beginRun(const edm::Run &, const edm::EventSetup &) override
~DQMMessageLoggerClient() override
MonitorElement * modulesWarningsFound
dqm::legacy::MonitorElement MonitorElement
std::vector< Double_t > binContent
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition: Run.h:45