GalacticCoords< DataType > Class Template Reference

#include <GalacticCoords.hxx>

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

List of all members.

Public Member Functions

 GalacticCoords ()
 Constructor just sets the method name.
virtual ~GalacticCoords ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
 Source data columns are those with the RA and DEC.
void setTarget (IntMap &cols, StringMap units)
 Target columns are those corresponding to galactic l and b.
void doit (TableData< DataType > &data, int row1, int row2)
 Fill up the Galactic coordinates columns.
void doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2)

Private Attributes

int lColno
int bColno
int raColno
int decColno
double mDecFact
double mRAFact
double mlFact
double mbFact
Converter converter

Detailed Description

template<typename DataType>
class GalacticCoords< DataType >

Implements method to fill up the data columns corresponding to the Galactic coordinates (l, b). Note: the code is an in house implemetation of the formula (perhaps SLALIB should be considered).


Constructor & Destructor Documentation

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

Constructor just sets the method name.

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

Destructor.


Member Function Documentation

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

Member Data Documentation

template<typename DataType >
int GalacticCoords< DataType >::bColno [private]
template<typename DataType >
Converter GalacticCoords< DataType >::converter [private]
template<typename DataType >
int GalacticCoords< DataType >::decColno [private]
template<typename DataType >
int GalacticCoords< DataType >::lColno [private]
template<typename DataType >
double GalacticCoords< DataType >::mbFact [private]
template<typename DataType >
double GalacticCoords< DataType >::mDecFact [private]
template<typename DataType >
double GalacticCoords< DataType >::mlFact [private]
template<typename DataType >
double GalacticCoords< DataType >::mRAFact [private]
template<typename DataType >
int GalacticCoords< DataType >::raColno [private]

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