CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMMonitoringService.h
Go to the documentation of this file.
1 #ifndef DQMServices_StreamerIO_DQMMonitoringService_h
2 #define DQMServices_StreamerIO_DQMMonitoringService_h
3 
12 
13 #include "boost/filesystem.hpp"
14 
15 #include <string>
16 #include <vector>
17 #include <map>
18 #include <queue>
19 #include <sstream>
20 #include <chrono>
21 #include <unordered_map>
22 
23 #include <boost/filesystem.hpp>
24 #include <boost/format.hpp>
25 #include <boost/property_tree/json_parser.hpp>
26 #include <boost/property_tree/ptree.hpp>
27 
28 /*
29  * This service is very similar to the FastMonitoringService in the HLT,
30  * except that it is used for monitoring online DQM applications
31  */
32 
33 namespace dqmservices {
34 
35 using boost::property_tree::ptree;
36 
38  public:
41 
42  void registerExtra(std::string name, ptree data);
43  void reportLumiSection(int run, int lumi);
44  void reportEvents(int nevts);
45 
46  private:
50  int fseq_;
51  long nevents_;
52 
53  ptree extra_;
54  ptree ps_info_;
55 
57  std::chrono::high_resolution_clock::time_point last_report_time_;
58 
59  void reportLumiSectionUnsafe(int run, int lumi);
60 
62  void fillProcessInfoStatus();
64 };
65 
66 } // end-of-namespace
67 
68 #endif
tuple lumi
Definition: fjr2json.py:35
void registerExtra(std::string name, ptree data)
tuple path
else: Piece not in the list, fine.
void reportLumiSection(int run, int lumi)
std::chrono::high_resolution_clock::time_point last_report_time_
void reportLumiSectionUnsafe(int run, int lumi)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
DQMMonitoringService(const edm::ParameterSet &, edm::ActivityRegistry &)
int nevts
Definition: jetmet_cfg.py:3