gastro  0.1.0
 All Classes Files Functions Variables Pages
measuredstartuple.h
1 #ifndef MEASUREDSTARTUPLE__H
2 #define MEASUREDSTARTUPLE__H
3 
4 
5 #include <fstream>
6 #include <string>
7 
8 #include "globalval.h"
9 
10 
11 class MeasuredStar;
12 class FittedStar;
13 class Gtransfo;
14 class FittedStarMap;
15 
16 class MeasuredStarTuple
17 {
18  public :
19 
20  MeasuredStarTuple(const std::string &FileName);
21  MeasuredStarTuple(const std::string &FileName, GlobalVal const* gv);
22 
23  void AddEntry(const MeasuredStar &M,
24  const FittedStar &F,
25  const Gtransfo *CTP2Pix,
26  const double &FluxFactor,
27  const FittedStarMap *Fsm,
28  const double Chi2 = 0);
29 
30 
31 
32  ~MeasuredStarTuple() {stream.close();}
33 
34  private :
35 
36  std::ofstream stream;
37 
38 };
39 
40 
41 
42 
43 
44 #endif /* MEASUREDSTARTUPLE__H */
The objects which have been measured several times. The MeasuredStar s measuring the same object in d...
Definition: fittedstar.h:37
objects measured on actual images. Coordinates and uncertainties are expressed in pixel image frame...
Definition: measuredstar.h:21