Luiza  v03-01
FitsTableReader.h
1 // -*- mode: c++; mode: auto-fill; mode: flyspell-prog; -*-
2 
3 #ifndef FitsTableReader_h
4 #define FitsTableReader_h 1
5 
6 #include "DataSourceProcessor.h"
7 // #include "Processor.h"
8 // #include "data/GloriaDataContainer.h"
9 
10 using namespace gloria;
11 
12 namespace luiza {
13 
14 
16 
53 
54  public:
55 
56  virtual FitsTableReader* newProcessor();
57 
58 
59  FitsTableReader() ;
60 
64  virtual void init() ;
65 
66 
69  virtual void processData( GloriaDataContainer* data ) ;
70 
71 
72  virtual void check( GloriaDataContainer* data ) ;
73 
74 
77  virtual void end() ;
78 
79 
80  protected:
81 
83  std::vector< std::string > _tableFileList ;
84 
86  std::vector< std::string > _listFileList ;
87 
89  std::string _tableCollectionName ;
90 
93 
96 
98  int _nLoops ;
99 
101  int _nTables ;
102 
104  int _nFiles ;
105 
107  void printEndMessage() const ;
108 
109  GloriaFitsTable* _inputTable;
110  } ;
111 
112  } // end namespace luiza
113 #endif
int _nTables
Table counter.
Definition: FitsTableReader.h:101
Processor for reading data tables from input FITS files.
Definition: FitsTableReader.h:52
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
int _nLoops
Loop counter.
Definition: FitsTableReader.h:98
Class for storing all data processed in Luiza.
Definition: GloriaDataContainer.h:82
Base class for processors accessing input data.
Definition: DataSourceProcessor.h:19
int _tablesPerLoop
Number of tables to be read per processing loop (0 for all)
Definition: FitsTableReader.h:95
Class for reading and processing fits tables in Luiza.
Definition: GloriaFitsTable.h:109
std::vector< std::string > _tableFileList
List of fits table files to be read.
Definition: FitsTableReader.h:83
int _nFiles
File counter.
Definition: FitsTableReader.h:104
Namespace for Luiza framework.
Definition: CCCollection.h:6
std::string _tableCollectionName
Name of the table collection to which tables from file should be stored.
Definition: FitsTableReader.h:89
std::vector< std::string > _listFileList
Names of files containing lists of table file names (one per line)
Definition: FitsTableReader.h:86
bool _permanentCollection
Flag for collections, which should not be deleted after loop is finished.
Definition: FitsTableReader.h:92