CMS 3D CMS Logo

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