Implements method to determine Tel Run Number. More...
#include <TelRunNum.hxx>


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 | 
Implements method to determine Tel Run Number.
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().
Destructor.
| 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.
| void TelRunNum< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
| TableData< DataType > & | data, | |||
| int | row1, | |||
| int | row2 | |||
| ) |  [inline, virtual] | 
        
Implements DataMethod< DataType >.
| void TelRunNum< DataType >::setSource | ( | IntMap & | tbls, | |
| IntMap & | cols, | |||
| StringMap | units | |||
| ) |  [inline, virtual] | 
        
There are no source data columns.
Implements DataMethod< 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.
Referenced by TelRunNum< DataType >::doit(), and TelRunNum< DataType >::setTarget().
Referenced by TelRunNum< DataType >::TelRunNum().
Referenced by TelRunNum< DataType >::doit(), and TelRunNum< DataType >::TelRunNum().
 1.6.3