BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::DacCol Class Reference

#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.
 
 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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ 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

Definition at line 16 of file InstallArea/include/CalibData/CalibData/DacCol.h.

16{}

Member Function Documentation

◆ getDacs() [1/2]

const std::vector< unsigned > * CalibData::DacCol::getDacs ( ) const
inline

Definition at line 18 of file Calibration/CalibData/CalibData-00-01-18/CalibData/DacCol.h.

18{return &m_dacs;}

◆ getDacs() [2/2]

const std::vector< unsigned > * CalibData::DacCol::getDacs ( ) const
inline

Definition at line 18 of file InstallArea/include/CalibData/CalibData/DacCol.h.

18{return &m_dacs;}

◆ 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)
Definition: EvtCyclic3.cc:118

◆ update() [2/2]

void CalibData::DacCol::update ( const DacCol other)

Deep copy.


The documentation for this class was generated from the following files: