CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Public Attributes | Private Member Functions | Friends
DQMSummary Class Reference

#include <DQMSummary.h>

Classes

struct  RunItem
 

Public Member Functions

 DQMSummary ()
 
void printAllValues () const
 
virtual ~DQMSummary ()
 

Public Attributes

long long m_run
 
std::vector< RunItemm_summary
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 19 of file DQMSummary.h.

Constructor & Destructor Documentation

◆ DQMSummary()

DQMSummary::DQMSummary ( )
inline

Definition at line 36 of file DQMSummary.h.

36 {}

◆ ~DQMSummary()

virtual DQMSummary::~DQMSummary ( )
inlinevirtual

Definition at line 37 of file DQMSummary.h.

37 {}

Member Function Documentation

◆ printAllValues()

void DQMSummary::printAllValues ( ) const
inline

Definition at line 39 of file DQMSummary.h.

References gather_cfg::cout, m_run, and m_summary.

39  {
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  }
std::vector< RunItem > m_summary
Definition: DQMSummary.h:38
long long m_run
Definition: DQMSummary.h:21

◆ serialize()

template<class Archive >
void DQMSummary::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 52 of file DQMSummary.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 52 of file DQMSummary.h.

Member Data Documentation

◆ m_run

long long DQMSummary::m_run

Definition at line 21 of file DQMSummary.h.

Referenced by printAllValues(), and DQMSummaryReader::readData().

◆ m_summary

std::vector<RunItem> DQMSummary::m_summary

Definition at line 38 of file DQMSummary.h.

Referenced by printAllValues(), and DQMSummaryReader::readData().