Ignore:
Timestamp:
Nov 9, 1999, 3:04:05 PM (26 years ago)
Author:
ansari
Message:

portage cxx en cours

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/starmatcher.h

    r534 r555  
     1// starmatcher.h
     2// Eric Aubourg         CEA/DAPNIA/SPP   novembre 1999
     3
    14#ifndef STARMATCHER_H
    25#define STARMATCHER_H
     
    47
    58#include "sststarfinder.h"
    6 #include "toipullproducer.h"
     9#include "toiderivproducer.h"
    710
    8 class StarMatcher: public SSTStarProcessor, public TOIPullProducer {
     11class StarMatcher: public SSTStarProcessor, public TOIDerivProducer {
    912public:
    1013  StarMatcher();
     
    1417  virtual string getName();
    1518  virtual double getValue(long sampleNum, TOI const& toi);
     19  virtual bool   canGetValue(long sampleNum, TOI const& toi);
     20  virtual bool   canGetValueLater(long sampleNum, TOI const& toi);
    1621
    1722protected:
    1823  virtual set<TOI>     reqTOIFor(TOI const&);
    19   void  propagateLowBound(TOI const& toi, long sampleNum);
    20 #pragma options align=mac68k
     24  void propagateLowBound(TOI const& toi, long sampleNum);
     25  void processStars();
     26
    2127  struct gscStar {
    2228    float ra;
     
    2430    short mag; // mag * 100
    2531  };
    26 #pragma options align=reset
     32
    2733 
    2834  gscStar* stars;
    2935  long nstars;
    3036 
    31   map<long,SSTEtoile> lastStars;
     37  deque<SSTEtoile> lastStars;
     38 
     39  struct matchStar {
     40    double SN;
     41    double raGSC;
     42    double decGSC;
     43    double azGSC;
     44    double elvGSC;
     45    int    nDiode;
     46    bool   ok;
     47    long   seq;
     48    double lon;
     49    double lat;
     50    double ts;
     51  };
     52 
     53  long lastSeq;
     54 
     55  deque<matchStar> matchStars;
     56  deque<matchStar> cleanStars;
     57 
     58  struct pendulInfo {
     59    double SN;
     60    double azPendul;
     61    double angPendul;
     62  };
     63 
     64  struct posInfo {
     65    double SN;
     66    double azStar;
     67    double elvStar;
     68    double diodStar;
     69    double lon;
     70    double lat;
     71    double ts;
     72  };
     73 
     74  map<double, posInfo> posInfos; // sampleNum -> info
     75  map<double, pendulInfo> pendulInfos; // sampleNum -> info
     76 
     77  int getPendulInfo(double sampleNum, pendulInfo& info); // interpolate
     78 
    3279};
    3380
Note: See TracChangeset for help on using the changeset viewer.