MagnitudeError< DataType > Class Template Reference

#include <Magnitudes.hxx>

Inheritance diagram for MagnitudeError< DataType >:
Inheritance graph
[legend]
Collaboration diagram for MagnitudeError< DataType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MagnitudeError ()
 Constructor just sets the method name.
virtual ~MagnitudeError ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
 Source are the data columns for the flux and error in that flux.
void setTarget (IntMap &cols, StringMap units)
 Target is the column for the magnitude error.
void doit2 (TableData< DataType > &inpData, TableData< DataType > &data, int row1, int row2)
 Fill up the data column for the magnitude error.
void doit (TableData< DataType > &data, int row1, int row2)

Private Attributes

int mFluxColno
int mFluxErrColno
int mMagErrColno
int mFluxTblno
int mFluxErrTblno

Detailed Description

template<typename DataType>
class MagnitudeError< DataType >

Implements method to determine the errors in magnitudes from the errors in the original fluxes and the fluxes themselves.


Constructor & Destructor Documentation

template<typename DataType >
MagnitudeError< DataType >::MagnitudeError (  )  [inline]

Constructor just sets the method name.

template<typename DataType >
virtual MagnitudeError< DataType >::~MagnitudeError (  )  [inline, virtual]

Destructor.


Member Function Documentation

template<typename DataType >
void MagnitudeError< DataType >::doit ( TableData< DataType > &  data,
int  row1,
int  row2 
) [inline, virtual]

Run the data method. This fills up the appropriate columns in the TableData object over the given row range where row>=row1 and row<row2

Implements DataMethod< DataType >.

template<typename DataType >
void MagnitudeError< DataType >::doit2 ( TableData< DataType > &  inpData,
TableData< DataType > &  data,
int  row1,
int  row2 
) [inline, virtual]
template<typename DataType >
void MagnitudeError< DataType >::setSource ( IntMap tbls,
IntMap cols,
StringMap  units 
) [inline, virtual]
template<typename DataType >
void MagnitudeError< DataType >::setTarget ( IntMap cols,
StringMap  units 
) [inline, virtual]

Target is the column for the magnitude error.

Implements DataMethod< DataType >.

References MagnitudeError< DataType >::mMagErrColno.


Member Data Documentation

template<typename DataType >
int MagnitudeError< DataType >::mFluxColno [private]
template<typename DataType >
int MagnitudeError< DataType >::mFluxErrColno [private]
template<typename DataType >
int MagnitudeError< DataType >::mFluxErrTblno [private]
template<typename DataType >
int MagnitudeError< DataType >::mFluxTblno [private]
template<typename DataType >
int MagnitudeError< DataType >::mMagErrColno [private]

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