CMS 3D CMS Logo

Public Member Functions | Public Attributes

Data Struct Reference

#include <RegressionTestPayload.h>

List of all members.

Public Member Functions

 Data ()
 Data (int seed)
bool operator!= (const Data &rhs) const
bool operator== (const Data &rhs) const

Public Attributes

MonitorElementHistogram1D
std::string lastTimestamp
std::vector< int > m_a
int m_i
std::string m_s

Detailed Description

Definition at line 4 of file RegressionTestPayload.h.


Constructor & Destructor Documentation

Data::Data ( )

Definition at line 4 of file RegressionTestPayload.cc.

Referenced by TagProbeFitter::makeEfficiencyPlot2D().

          :
  m_i(-1),
  m_s(""),
  m_a(){
}
Data::Data ( int  seed)

Definition at line 10 of file RegressionTestPayload.cc.

References i, m_a, and m_s.

                    :
  m_i(seed),
  m_s(""),
  m_a(){
  std::stringstream ss;
  ss << "Data_"<<seed;
  m_s = ss.str();
  for( int i=0;i<seed;i++){
    m_a.push_back(i);
  }
}

Member Function Documentation

bool Data::operator!= ( const Data rhs) const

Definition at line 28 of file RegressionTestPayload.cc.

References operator==().

                                            {
  return !operator==( rhs );
}
bool Data::operator== ( const Data rhs) const

Definition at line 22 of file RegressionTestPayload.cc.

References m_a, m_i, and m_s.

Referenced by operator!=().

                                            {
  if( m_i != rhs.m_i ) return false;
  if( m_s != rhs.m_s ) return false;
  if( m_a != rhs.m_a ) return false;
  return true;
}

Member Data Documentation

Definition at line 32 of file XmasToDQMSource.h.

std::string Data::lastTimestamp

Definition at line 29 of file XmasToDQMSource.h.

std::vector<int> Data::m_a

Definition at line 9 of file RegressionTestPayload.h.

Referenced by Data(), and operator==().

int Data::m_i

Definition at line 7 of file RegressionTestPayload.h.

Referenced by operator==().

std::string Data::m_s

Definition at line 8 of file RegressionTestPayload.h.

Referenced by Data(), and operator==().