Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CalibData::DacCol Class Reference

#include <DacCol.h>

List of all members.

Public Member Functions

 DacCol (std::vector< int > *vals)
 DacCol (std::vector< unsigned > *vals=0)
 DacCol (std::vector< int > *vals)
 DacCol (std::vector< unsigned > *vals=0)
const std::vector< unsigned > * getDacs () const
const std::vector< unsigned > * getDacs () const
void update (const DacCol *other)
 Deep copy.
void update (const DacCol *other)
 Deep copy.
 ~DacCol ()
 ~DacCol ()

Private Attributes

std::vector< unsigned > m_dacs
std::vector< unsigned > m_dacs


Detailed Description

Keeps track of a collection of dac settings, typically used for collecting calibration data for a single range


Constructor & Destructor Documentation

CalibData::DacCol::DacCol std::vector< unsigned > *  vals = 0  ) 
 

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  ) 
 

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   }

CalibData::DacCol::~DacCol  )  [inline]
 

00016 {}

CalibData::DacCol::DacCol std::vector< unsigned > *  vals = 0  ) 
 

CalibData::DacCol::DacCol std::vector< int > *  vals  ) 
 

CalibData::DacCol::~DacCol  )  [inline]
 

00016 {}


Member Function Documentation

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

00018 {return &m_dacs;}

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

00018 {return &m_dacs;}

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

Deep copy.

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

Deep copy.

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   }


Member Data Documentation

std::vector<unsigned> CalibData::DacCol::m_dacs [private]
 

std::vector<unsigned> CalibData::DacCol::m_dacs [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 19:15:30 2011 for BOSS6.5.5 by  doxygen 1.3.9.1