Rev | Line | |
---|
[534] | 1 | #ifndef STARMATCHER_H
|
---|
| 2 | #define STARMATCHER_H
|
---|
| 3 |
|
---|
| 4 |
|
---|
| 5 | #include "sststarfinder.h"
|
---|
| 6 | #include "toipullproducer.h"
|
---|
| 7 |
|
---|
| 8 | class StarMatcher: public SSTStarProcessor, public TOIPullProducer {
|
---|
| 9 | public:
|
---|
| 10 | StarMatcher();
|
---|
| 11 |
|
---|
| 12 | virtual void dataFeed(SSTEtoile const&);
|
---|
| 13 |
|
---|
| 14 | virtual string getName();
|
---|
| 15 | virtual double getValue(long sampleNum, TOI const& toi);
|
---|
| 16 |
|
---|
| 17 | protected:
|
---|
| 18 | virtual set<TOI> reqTOIFor(TOI const&);
|
---|
| 19 | void propagateLowBound(TOI const& toi, long sampleNum);
|
---|
| 20 | #pragma options align=mac68k
|
---|
| 21 | struct gscStar {
|
---|
| 22 | float ra;
|
---|
| 23 | float dec;
|
---|
| 24 | short mag; // mag * 100
|
---|
| 25 | };
|
---|
| 26 | #pragma options align=reset
|
---|
| 27 |
|
---|
| 28 | gscStar* stars;
|
---|
| 29 | long nstars;
|
---|
| 30 |
|
---|
| 31 | map<long,SSTEtoile> lastStars;
|
---|
| 32 | };
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.