NumDetectors< DataType > Class Template Reference

#include <NumDetectors.hxx>

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

List of all members.

Public Member Functions

 NumDetectors (const FitsFile &aFile)
 Constructor takes a FitsFile object.
virtual ~NumDetectors ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
 There are not input data columns.
void setTarget (IntMap &cols, StringMap units)
 Target is data column corresponding to the number of detectors.
void doit (TableData< DataType > &data, int row1, int row2)
 Fill up data column for the number of detectors.
void doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2)

Private Attributes

int colNo
int mNum

Detailed Description

template<typename DataType>
class NumDetectors< DataType >

Implements method to determine the number of detectors from a FITS file - assuming, of course that the agreed structure is used, ie FITS file has a primary HDU which contains just camera wide specifics, and one extension HDU per detector.


Constructor & Destructor Documentation

template<typename DataType >
NumDetectors< DataType >::NumDetectors ( const FitsFile aFile  )  [inline]

Constructor takes a FitsFile object.

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

Destructor.


Member Function Documentation

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

Fill up data column for the number of detectors.

Implements DataMethod< DataType >.

References TableData< DataType >::assign(), NumDetectors< DataType >::colNo, and NumDetectors< DataType >::mNum.

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

There are not input data columns.

Implements DataMethod< DataType >.

template<typename DataType >
void NumDetectors< DataType >::setTarget ( IntMap cols,
StringMap  units 
) [inline, virtual]

Target is data column corresponding to the number of detectors.

Implements DataMethod< DataType >.

References NumDetectors< DataType >::colNo.


Member Data Documentation

template<typename DataType >
int NumDetectors< DataType >::colNo [private]
template<typename DataType >
int NumDetectors< DataType >::mNum [private]

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