IllumTable Class Reference

Class to encapsulate the illumination data. More...

#include <IllumTable.hxx>

Collaboration diagram for IllumTable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IllumTable (unsigned aNumXi, unsigned aNumEta, std::string aFilterName)
 ~IllumTable ()
 Destructor removes all data.
unsigned getNumEtas () const
 Get the number of rows in the table.
unsigned getNumXis () const
 Get the number of columns in the table.
std::string getFilterName () const
 Get the filter name.
void assignMag (unsigned aCol, unsigned aRow, double aValue)
void assignXi (unsigned aIdx, double aValue)
void assignEta (unsigned aIdx, double aValue)
void setXiIntervall (double aXiVal)
 Get the value in the data type as determined at compile time.
void setEtaIntervall (double aEtaVal)
 Get the value in the data type as determined at compile time.
IntervallgetXiIntervall ()
 Get the value in the data type as determined at compile time.
IntervallgetEtaIntervall ()
 Get the value in the data type as determined at compile time.
const double & getMag (unsigned aCol, unsigned aRow) const
 Get the value in the data type as determined at compile time.
double & getXi (unsigned aIdx)
 Get the value in the data type as determined at compile time.
double & getEta (unsigned aIdx)
 Get the value in the data type as determined at compile time.

Private Types

typedef std::map< double,
unsigned
DoubleUintMap
typedef std::map< unsigned,
double > 
UintDoubleMap

Private Member Functions

void writeToMag (unsigned aCol, unsigned aRow, double aValue)
void writeToXi (unsigned aIdx, double aValue)
void writeToEta (unsigned aIdx, double aValue)
void writeXiIntervall (double aXiVal)
void writeEtaIntervall (double aEtaVal)
const double & readMag (unsigned aCol, unsigned aRow) const
double & readXi (unsigned aIdx)
double & readEta (unsigned aIdx)
IntervallreadXiIntervall ()
IntervallreadEtaIntervall ()

Private Attributes

unsigned mNumXi
unsigned mNumEta
std::string mFilterName
DoubleUintMap mXi
UintDoubleMap mXiInv
DoubleUintMap mEta
UintDoubleMap mEtaInv
Intervall mXiIvall
Intervall mEtaIvall
double ** mDelMagAry
 Data goes here.

Detailed Description

Class to encapsulate the illumination data.


Member Typedef Documentation

typedef std::map<double, unsigned> IllumTable::DoubleUintMap [private]
typedef std::map<unsigned, double> IllumTable::UintDoubleMap [private]

Constructor & Destructor Documentation

IllumTable::IllumTable ( unsigned  aNumXi,
unsigned  aNumEta,
std::string  aFilterName 
) [inline]

Construct using number of Xi values (columns) and number of Eta values (rows) for each delMag

References mDelMagAry, mNumEta, and mNumXi.

IllumTable::~IllumTable (  )  [inline]

Destructor removes all data.

References mDelMagAry, and mNumXi.


Member Function Documentation

void IllumTable::assignEta ( unsigned  aIdx,
double  aValue 
) [inline]

References writeToEta().

Referenced by extractSources().

void IllumTable::assignMag ( unsigned  aCol,
unsigned  aRow,
double  aValue 
) [inline]

References writeToMag().

Referenced by extractSources().

void IllumTable::assignXi ( unsigned  aIdx,
double  aValue 
) [inline]

References writeToXi().

Referenced by extractSources().

double& IllumTable::getEta ( unsigned  aIdx  )  [inline]

Get the value in the data type as determined at compile time.

References readEta().

Intervall& IllumTable::getEtaIntervall (  )  [inline]

Get the value in the data type as determined at compile time.

References readEtaIntervall().

Referenced by CalibratedVSAMagnitude< DataType >::doit2(), and CalibratedMagnitude< DataType >::doit2().

std::string IllumTable::getFilterName (  )  const [inline]

Get the filter name.

References mFilterName.

Referenced by extractSources().

const double& IllumTable::getMag ( unsigned  aCol,
unsigned  aRow 
) const [inline]

Get the value in the data type as determined at compile time.

References readMag().

Referenced by CalibratedVSAMagnitude< DataType >::doit2(), and CalibratedMagnitude< DataType >::doit2().

unsigned IllumTable::getNumEtas (  )  const [inline]

Get the number of rows in the table.

References mNumEta.

unsigned IllumTable::getNumXis (  )  const [inline]

Get the number of columns in the table.

References mNumXi.

double& IllumTable::getXi ( unsigned  aIdx  )  [inline]

Get the value in the data type as determined at compile time.

References readXi().

Intervall& IllumTable::getXiIntervall (  )  [inline]

Get the value in the data type as determined at compile time.

References readXiIntervall().

Referenced by CalibratedVSAMagnitude< DataType >::doit2(), and CalibratedMagnitude< DataType >::doit2().

double& IllumTable::readEta ( unsigned  aIdx  )  [inline, private]

References mEtaInv.

Referenced by getEta().

Intervall& IllumTable::readEtaIntervall (  )  [inline, private]

References mEtaIvall.

Referenced by getEtaIntervall().

const double& IllumTable::readMag ( unsigned  aCol,
unsigned  aRow 
) const [inline, private]

References mDelMagAry.

Referenced by getMag().

double& IllumTable::readXi ( unsigned  aIdx  )  [inline, private]

References mXiInv.

Referenced by getXi().

Intervall& IllumTable::readXiIntervall (  )  [inline, private]

References mXiIvall.

Referenced by getXiIntervall().

void IllumTable::setEtaIntervall ( double  aEtaVal  )  [inline]

Get the value in the data type as determined at compile time.

References writeEtaIntervall().

Referenced by CalibratedVSAMagnitude< DataType >::doit2(), and CalibratedMagnitude< DataType >::doit2().

void IllumTable::setXiIntervall ( double  aXiVal  )  [inline]

Get the value in the data type as determined at compile time.

References writeXiIntervall().

Referenced by CalibratedVSAMagnitude< DataType >::doit2(), and CalibratedMagnitude< DataType >::doit2().

void IllumTable::writeEtaIntervall ( double  aEtaVal  )  [inline, private]
void IllumTable::writeToEta ( unsigned  aIdx,
double  aValue 
) [inline, private]

References mEta, and mEtaInv.

Referenced by assignEta().

void IllumTable::writeToMag ( unsigned  aCol,
unsigned  aRow,
double  aValue 
) [inline, private]

References mDelMagAry.

Referenced by assignMag().

void IllumTable::writeToXi ( unsigned  aIdx,
double  aValue 
) [inline, private]

References mXi, and mXiInv.

Referenced by assignXi().

void IllumTable::writeXiIntervall ( double  aXiVal  )  [inline, private]

Member Data Documentation

double** IllumTable::mDelMagAry [private]

Data goes here.

Referenced by IllumTable(), readMag(), writeToMag(), and ~IllumTable().

Referenced by writeEtaIntervall(), and writeToEta().

std::string IllumTable::mFilterName [private]

Referenced by getFilterName().

Referenced by getNumEtas(), and IllumTable().

Referenced by getNumXis(), IllumTable(), and ~IllumTable().

Referenced by writeToXi(), and writeXiIntervall().

Referenced by readXi(), writeToXi(), and writeXiIntervall().


The documentation for this class was generated from the following file:
Generated on Mon Oct 4 10:39:33 2010 for WfcamSrc by  doxygen 1.6.3