Ignore:
Timestamp:
Jun 12, 2001, 6:00:35 PM (24 years ago)
Author:
cmv
Message:

Re-shape de toi2map cmv 12/6/01

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/ProcWSophya/toi2map.h

    r1498 r1516  
    55#include "toiprocessor.h"
    66#include "spherehealpix.h"
     7#include "flagtoidef.h"
     8#include "xastropack.h"
    79
    810//-- Un projecteur de TOI sur une sphere Healpix
    9 // Lecture de 3 TOI alpha,delta,boloMuV
    10 // Sortie rien
     11// Lecture de 3 TOI coord1,coord2,boloMuV
     12// Sortie pas de TOI, une (2) sphere(s) Healpix
    1113//
    1214// Structure generale :
    13 // (les alpha[0,360[,delta[-90,90] sont en degres decimaux)
    14 //                         |---->Sphere
    15 //                         |
    16 //                    -----------
     15//                          |---->Sphere
     16//                          |
     17//                     -----------
    1718//   toi Coord1In ---> |         |
    1819//   toi Coord2In ---> | TOI2Map |
    19 //   toi BoloIn  ---> |         |
    20 //                    -----------
     20//   toi BoloIn   ---> |         |
     21//                     -----------
     22// Gestion du type de coordonnees :
     23// Coord1In,Coord2In : soit Equatoriales (Alpha,Delta)
     24//                     soit Galactiques  (GLong,GLat)
     25// Sortie sur une sphere en coordonnees Equatoriales ou Galactiques
    2126
    2227class TOI2Map : public TOIProcessor {
     
    2530  virtual       ~TOI2Map();
    2631
    27   virtual void  init(void); 
     32  virtual void  init(void);
    2833  virtual void  run(void);
    29   inline  void  SetCoorGal(bool mfg=false,bool ffg=false,double actualyear=2000.)
    30                           {mTypCoor = mfg; fTypCoor = ffg; mActualYear = actualyear;}
    31  
     34
     35  // Coordonnees donnees en entree et en sortie
     36  inline void SetEquinox(double actualyear=2000.)
     37              {mActualYear = actualyear;}
     38  inline void SetCoorIn(TypAstroCoord mfg=TypCoordGalStd)
     39              {mTypCoorIn = mfg;}
     40  inline void SetCoorOut(TypAstroCoord mfg=TypCoordGalStd)
     41              {mTypCoorOut = mfg;}
     42
    3243protected:
    3344  SphereHEALPix<r_8>* mSph;
    3445  SphereHEALPix<r_8>* mWSph;
    3546  bool mWSphInternal;
    36   bool mTypCoor;
    37   bool fTypCoor;
     47  TypAstroCoord mTypCoorIn, mTypCoorOut;
    3848  double mActualYear;
    3949};
Note: See TracChangeset for help on using the changeset viewer.