#include <DacCol.h>
Public Member Functions | |
DacCol (std::vector< unsigned > *vals=0) | |
DacCol (std::vector< int > *vals) | |
~DacCol () | |
const std::vector< unsigned > * | getDacs () const |
void | update (const DacCol *other) |
Deep copy. | |
Private Attributes | |
std::vector< unsigned > | m_dacs |
Definition at line 11 of file DacCol.h.
CalibData::DacCol::DacCol | ( | std::vector< unsigned > * | vals = 0 |
) |
Definition at line 7 of file DacCol.cxx.
References m_dacs.
00007 { 00008 if (vals) { 00009 m_dacs.clear(); 00010 for (unsigned int iDac = 0; iDac < vals->size(); iDac++) { 00011 m_dacs.push_back((*vals)[iDac]); 00012 } 00013 } 00014 }
CalibData::DacCol::DacCol | ( | std::vector< int > * | vals | ) |
Definition at line 15 of file DacCol.cxx.
References m_dacs.
00015 { 00016 if (vals) { 00017 m_dacs.clear(); 00018 for (unsigned int iDac = 0; iDac < vals->size(); iDac++) { 00019 unsigned val = (*vals)[iDac]; 00020 m_dacs.push_back(val); 00021 } 00022 } 00023 }
const std::vector<unsigned>* CalibData::DacCol::getDacs | ( | ) | const [inline] |
void CalibData::DacCol::update | ( | const DacCol * | other | ) |
Deep copy.
Definition at line 25 of file DacCol.cxx.
References m_dacs, and EvtCyclic3::other().
00025 { 00026 m_dacs.clear(); 00027 for (unsigned int iDac = 0; iDac < other->m_dacs.size(); iDac++) { 00028 m_dacs.push_back((other->m_dacs)[iDac]); 00029 } 00030 }
std::vector<unsigned> CalibData::DacCol::m_dacs [private] |