CMS 3D CMS Logo

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
DQMSummary
Definition: DQMSummary.h:19
gather_cfg.cout
cout
Definition: gather_cfg.py:144
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
DQMSummary::DQMSummary
DQMSummary()
Definition: DQMSummary.h:36
DQMSummary::~DQMSummary
virtual ~DQMSummary()
Definition: DQMSummary.h:37
DQMSummary::RunItem::LumiItem
Definition: DQMSummary.h:24
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMSummary::RunItem::LumiItem::m_type
std::string m_type
Definition: DQMSummary.h:27
DQMSummary::RunItem::LumiItem::m_reportcontent
std::string m_reportcontent
Definition: DQMSummary.h:26
DQMSummary::m_run
long long m_run
Definition: DQMSummary.h:21
Serializable.h
DQMSummary::RunItem::LumiItem::m_subsystem
std::string m_subsystem
Definition: DQMSummary.h:25
DQMSummary::RunItem::m_lumisec
long long m_lumisec
Definition: DQMSummary.h:23
DQMSummary::m_summary
std::vector< RunItem > m_summary
Definition: DQMSummary.h:38
DQMSummary::RunItem
Definition: DQMSummary.h:22
DQMSummary::RunItem::LumiItem::m_status
double m_status
Definition: DQMSummary.h:28
DQMSummary::printAllValues
void printAllValues() const
Definition: DQMSummary.h:39
DQMSummary::RunItem::m_lumisummary
std::vector< LumiItem > m_lumisummary
Definition: DQMSummary.h:32