#include <DacCol.h>
Keeps track of a collection of dac settings, typically used for collecting calibration data for a single range
Definition at line 12 of file Calibration/CalibData/include/CalibData/DacCol.h.
◆ DacCol() [1/6]
| CalibData::DacCol::DacCol |
( |
std::vector< unsigned > * | vals = 0 | ) |
|
Definition at line 8 of file DacCol.cxx.
8 {
9 if ( vals )
10 {
11 m_dacs.clear();
12 for ( unsigned int iDac = 0; iDac < vals->size(); iDac++ )
13 { m_dacs.push_back( ( *vals )[iDac] ); }
14 }
15 }
Referenced by update().
◆ DacCol() [2/6]
| CalibData::DacCol::DacCol |
( |
std::vector< int > * | vals | ) |
|
Definition at line 16 of file DacCol.cxx.
16 {
17 if ( vals )
18 {
19 m_dacs.clear();
20 for ( unsigned int iDac = 0; iDac < vals->size(); iDac++ )
21 {
22 unsigned val = ( *vals )[iDac];
23 m_dacs.push_back( val );
24 }
25 }
26 }
◆ ~DacCol() [1/3]
| CalibData::DacCol::~DacCol |
( |
| ) |
|
|
inline |
◆ DacCol() [3/6]
| CalibData::DacCol::DacCol |
( |
std::vector< unsigned > * | vals = 0 | ) |
|
◆ DacCol() [4/6]
| CalibData::DacCol::DacCol |
( |
std::vector< int > * | vals | ) |
|
◆ ~DacCol() [2/3]
| CalibData::DacCol::~DacCol |
( |
| ) |
|
|
inline |
◆ DacCol() [5/6]
| CalibData::DacCol::DacCol |
( |
std::vector< unsigned > * | vals = 0 | ) |
|
◆ DacCol() [6/6]
| CalibData::DacCol::DacCol |
( |
std::vector< int > * | vals | ) |
|
◆ ~DacCol() [3/3]
| CalibData::DacCol::~DacCol |
( |
| ) |
|
|
inline |
◆ getDacs() [1/3]
| const std::vector< unsigned > * CalibData::DacCol::getDacs |
( |
| ) |
const |
|
inline |
◆ getDacs() [2/3]
| const std::vector< unsigned > * CalibData::DacCol::getDacs |
( |
| ) |
const |
|
inline |
◆ getDacs() [3/3]
| const std::vector< unsigned > * CalibData::DacCol::getDacs |
( |
| ) |
const |
|
inline |
◆ update() [1/3]
| void CalibData::DacCol::update |
( |
const DacCol * | other | ) |
|
Deep copy.
Definition at line 28 of file DacCol.cxx.
28 {
29 m_dacs.clear();
30 for (
unsigned int iDac = 0; iDac <
other->m_dacs.size(); iDac++ )
31 { m_dacs.push_back( (
other->m_dacs )[iDac] ); }
32 }
Index other(Index i, Index j)
◆ update() [2/3]
| void CalibData::DacCol::update |
( |
const DacCol * | other | ) |
|
◆ update() [3/3]
| void CalibData::DacCol::update |
( |
const DacCol * | other | ) |
|
The documentation for this class was generated from the following files: