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