BOSS 8.0.0
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.
 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 12 of file Calibration/CalibData/include/CalibData/DacCol.h.

Constructor & Destructor Documentation

◆ 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

Definition at line 17 of file Calibration/CalibData/include/CalibData/DacCol.h.

17{}

◆ 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

Member Function Documentation

◆ getDacs() [1/3]

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

Definition at line 19 of file Calibration/CalibData/include/CalibData/DacCol.h.

19{ return &m_dacs; }

◆ getDacs() [2/3]

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

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibData/DacCol.h.

19{ return &m_dacs; }

◆ getDacs() [3/3]

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

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibData/DacCol.h.

19{ return &m_dacs; }

◆ 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)

Deep copy.

◆ update() [3/3]

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

Deep copy.


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