TelRunNum< DataType > Class Template Reference

Implements method to determine Tel Run Number. More...

#include <TelRunNum.hxx>

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

List of all members.

Public Member Functions

 TelRunNum (const FitsFile &aFile)
virtual ~TelRunNum ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
 There are no source data columns.
void setTarget (IntMap &cols, StringMap units)
 Target is the data column with the tel run number.
void doit (TableData< DataType > &data, int rowBegin, int rowEnd)
 Fill up data column for tel run number.
void doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2)

Private Attributes

int mCol
std::string mFileName
std::string mRunNum

Detailed Description

template<typename DataType>
class TelRunNum< DataType >

Implements method to determine Tel Run Number.


Constructor & Destructor Documentation

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

Constructor takes a FitsFile object and extracts the tel run number either from the name of the file that is encoded in the object or from a FITS key.

References PreSuffixNames::CelestialSphere, Options::getArchive(), FitsFile::getFileName(), DataOps::getRunNoFromKey(), DataOps::getRunNoFromName(), TelRunNum< DataType >::mFileName, TelRunNum< DataType >::mRunNum, and StringOps::ToLower().

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

Destructor.


Member Function Documentation

template<typename DataType >
void TelRunNum< DataType >::doit ( TableData< DataType > &  data,
int  rowBegin,
int  rowEnd 
) [inline, virtual]

Fill up data column for tel run number.

Implements DataMethod< DataType >.

References TableData< DataType >::assign(), TelRunNum< DataType >::mCol, and TelRunNum< DataType >::mRunNum.

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

There are no source data columns.

Implements DataMethod< DataType >.

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

Target is the data column with the tel run number.

Implements DataMethod< DataType >.

References TelRunNum< DataType >::mCol.


Member Data Documentation

template<typename DataType >
int TelRunNum< DataType >::mCol [private]
template<typename DataType >
std::string TelRunNum< DataType >::mFileName [private]
template<typename DataType >
std::string TelRunNum< DataType >::mRunNum [private]

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