Luiza  v03-01
MatchSkyCatalog.h
1 // -*- mode: c++; mode: auto-fill; mode: flyspell-prog; -*-
2 
3 #ifndef MatchSkyCatalog_h
4 #define MatchSkyCatalog_h 1
5 
6 #include "luiza/Processor.h"
7 
8 using namespace gloria;
9 
10 namespace luiza {
11 
12 
14 
66  class MatchSkyCatalog : public Processor {
67 
68  public:
69 
70  virtual Processor* newProcessor() { return new MatchSkyCatalog ; }
71 
72 
73  MatchSkyCatalog() ;
74 
78  virtual void init() ;
79 
81 
83  virtual void startAnalysis( GloriaDataContainer* data ) ;
84 
87  virtual void processData( GloriaDataContainer* data ) ;
88 
89 
90  virtual void check( GloriaDataContainer* data ) ;
91 
92 
94 
95  virtual void concludeAnalysis( GloriaDataContainer* data ) ;
96 
99  virtual void end() ;
100 
101 
102  protected:
103 
105  void printEndMessage() const ;
106 
109 
112 
115 
118 
120  std::vector<std::string> _positionColumns;
121 
122 
125 
127  std::vector<std::string> _copyColumns;
128 
129 
131  std::vector<std::string> _newColumnNames;
132 
133  int _nLoops ;
134  int _nInputLists ;
135  } ;
136 
137 } // end namespace luiza
138 #endif
139 
140 
141 
virtual Processor * newProcessor()
Return a new instance of the processor.
Definition: MatchSkyCatalog.h:70
bool _permanentCollection
Flag the output collection to be permanent.
Definition: MatchSkyCatalog.h:124
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
std::vector< std::string > _newColumnNames
New column names, for columns copied from the catalog.
Definition: MatchSkyCatalog.h:131
double _matchingTolerance
Position matching tolerance for object and reference stars.
Definition: MatchSkyCatalog.h:117
string _inputCollectionName
Name of the collection containing object lists.
Definition: MatchSkyCatalog.h:108
Class for storing all data processed in Luiza.
Definition: GloriaDataContainer.h:82
std::vector< std::string > _copyColumns
Names of catalog columns to be copied in the output object table.
Definition: MatchSkyCatalog.h:127
Base class for Luiza processors.
Definition: Processor.h:55
string _outputCollectionName
Name of the output collection (for modified object list)
Definition: MatchSkyCatalog.h:114
Namespace for Luiza framework.
Definition: CCCollection.h:6
Processor to match object table with sky catalog.
Definition: MatchSkyCatalog.h:66
std::vector< std::string > _positionColumns
Names of the position columns in the object table.
Definition: MatchSkyCatalog.h:120
string _skyCatalogName
Name of the collection containing sky catalog to be matched.
Definition: MatchSkyCatalog.h:111