CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
cscdqm::LVIMeasType Struct Reference

#include <CSCDQM_DCSData.h>

Public Member Functions

LVIMeasTypeoperator= (const LVIMeasType &m)
 

Public Attributes

DCSAddressType adr
 
DCSBoardType board
 
unsigned int boardId
 
float nominal_v
 
float value
 

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
 
std::ostream & operator<< (std::ostream &out, const LVIMeasType &m)
 

Detailed Description

LV I measurement

Definition at line 127 of file CSCDQM_DCSData.h.

Member Function Documentation

LVIMeasType& cscdqm::LVIMeasType::operator= ( const LVIMeasType m)
inline

Definition at line 147 of file CSCDQM_DCSData.h.

References adr, board, boardId, nominal_v, and value.

147  {
148  adr = m.adr;
149  board = m.board;
150  boardId = m.boardId;
151  nominal_v = m.nominal_v;
152  value = m.value;
153  return *this;
154  }
unsigned int boardId
Definition: value.py:1
DCSAddressType adr
template<class Archive >
void cscdqm::LVIMeasType::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 157 of file CSCDQM_DCSData.h.

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

Definition at line 157 of file CSCDQM_DCSData.h.

std::ostream& operator<< ( std::ostream &  out,
const LVIMeasType m 
)
friend

Definition at line 135 of file CSCDQM_DCSData.h.

135  {
136  std::ostringstream os;
137  os << m.adr << " ";
138  os << DCSBoardUtility(m.board);
139  if (m.board == CFEB) {
140  os << m.boardId;
141  }
142  os << " " << m.nominal_v << "V";
143  os << " " << m.value << "A";
144  return out << os.str();
145  }

Member Data Documentation

DCSAddressType cscdqm::LVIMeasType::adr

Definition at line 129 of file CSCDQM_DCSData.h.

Referenced by operator=().

DCSBoardType cscdqm::LVIMeasType::board

Definition at line 130 of file CSCDQM_DCSData.h.

Referenced by operator=().

unsigned int cscdqm::LVIMeasType::boardId

Definition at line 131 of file CSCDQM_DCSData.h.

Referenced by operator=().

float cscdqm::LVIMeasType::nominal_v

Definition at line 132 of file CSCDQM_DCSData.h.

Referenced by operator=().

float cscdqm::LVIMeasType::value