CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
37 
38 
39 #include <vector>
40 #include <string>
41 #include <map>
42 
43 class DQMStore;
45 
46 class GetLumi;
47 
48 //
49 // class declaration
50 //
51 
53  public:
54  explicit LogMessageMonitor(const edm::ParameterSet&);
56 
57  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
58 
59 
60  private:
61  virtual void beginJob() ;
62  virtual void analyze(const edm::Event&, const edm::EventSetup&);
63  virtual void endJob() ;
64 
65  virtual void beginRun(edm::Run const&, edm::EventSetup const&);
66  virtual void endRun(edm::Run const&, edm::EventSetup const&);
67  virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
68  virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
69 
70  // ----------member data ---------------------------
72 
73  std::string histname; //for naming the histograms according to algorithm used
74 
77 
78  std::map<std::string,int> modulesMap;
79 
80  // from parameters
82  std::vector<std::string> modules_vector_;
83  std::vector<std::string> categories_vector_;
84 
87 
88  // MEs
89  std::vector<MonitorElement*> ModulesErrorsVsBXlumi;
90  std::vector<MonitorElement*> ModulesWarningsVsBXlumi;
91 
93 
96 
97 };
virtual void endJob()
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
LogMessageMonitor(const edm::ParameterSet &)
MonitorElement * CategoriesVsModules
std::vector< std::string > categories_vector_
std::vector< MonitorElement * > ModulesWarningsVsBXlumi
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
std::map< std::string, int > modulesMap
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
std::vector< MonitorElement * > ModulesErrorsVsBXlumi
edm::ParameterSet conf_
virtual void endRun(edm::Run const &, edm::EventSetup const &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< std::vector< edm::ErrorSummaryEntry > > errorToken_
virtual void beginJob()
GenericTriggerEventFlag * genTriggerEventFlag_
std::vector< std::string > modules_vector_
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
std::string pluginsMonName_
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: Run.h:41