CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DQMSummary.h
Go to the documentation of this file.
1 #ifndef CondFormats_DQMObjects_DQMSummary_h
2 #define CondFormats_DQMObjects_DQMSummary_h
3 
5 
6 #include <iostream>
7 #include <string>
8 #include <vector>
9 
10 /*
11  * \class DQMSummary
12  *
13  * hosting DQM information
14  *
15  * \author Salvatore Di Guida (diguida) - CERN (Mar-27-2009)
16  *
17 */
18 
19 class DQMSummary {
20 public:
21  long long m_run;
22  struct RunItem {
23  long long m_lumisec;
24  struct LumiItem {
28  double m_status;
29 
31  };
32  std::vector<LumiItem> m_lumisummary;
33 
35  };
37  virtual ~DQMSummary() {}
38  std::vector<RunItem> m_summary;
39  void printAllValues() const {
40  std::cout << "run number = " << m_run << std::endl;
41  std::vector<RunItem>::const_iterator runIt;
42  for (runIt = m_summary.begin(); runIt != m_summary.end(); ++runIt) {
43  std::cout << "--- lumisection = " << runIt->m_lumisec << std::endl;
44  std::vector<RunItem::LumiItem>::const_iterator lumiIt;
45  for (lumiIt = runIt->m_lumisummary.begin(); lumiIt != runIt->m_lumisummary.end(); ++lumiIt) {
46  std::cout << "------ subsystem: " << lumiIt->m_subsystem << ", report content: " << lumiIt->m_reportcontent
47  << ", type: " << lumiIt->m_type << ", status = " << lumiIt->m_status << std::endl;
48  }
49  }
50  }
51 
53 };
54 
55 #endif
std::vector< RunItem > m_summary
Definition: DQMSummary.h:38
virtual ~DQMSummary()
Definition: DQMSummary.h:37
void printAllValues() const
Definition: DQMSummary.h:39
std::vector< LumiItem > m_lumisummary
Definition: DQMSummary.h:32
long long m_run
Definition: DQMSummary.h:21
long long m_lumisec
Definition: DQMSummary.h:23
#define COND_SERIALIZABLE
Definition: Serializable.h:39
tuple cout
Definition: gather_cfg.py:144