Last change
on this file since 1478 was 1463, checked in by cmv, 24 years ago |
map2toi et toi2map rz+cecile+cmv 11/4/2001
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1463] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
| 2 | #ifndef TOI2MAP_H
|
---|
| 3 | #define TOI2MAP_H
|
---|
| 4 |
|
---|
| 5 | #include "toiprocessor.h"
|
---|
| 6 | #include "spherehealpix.h"
|
---|
| 7 |
|
---|
| 8 | //-- Un projecteur de TOI sur une sphere Healpix
|
---|
| 9 | // Lecture de 3 TOI alpha,delta,boloMuV
|
---|
| 10 | // Sortie rien
|
---|
| 11 | //
|
---|
| 12 | // Structure generale :
|
---|
| 13 | // (les alpha[0,360[,delta[-90,90] sont en degres decimaux)
|
---|
| 14 | // |---->Sphere
|
---|
| 15 | // |
|
---|
| 16 | // -----------
|
---|
| 17 | // toi AlphaIn ---> | |
|
---|
| 18 | // toi DeltaIn ---> | TOI2Map |
|
---|
| 19 | // toi BoloIn ---> | |
|
---|
| 20 | // -----------
|
---|
| 21 |
|
---|
| 22 | class TOI2Map : public TOIProcessor {
|
---|
| 23 | public:
|
---|
| 24 | TOI2Map(SphereHEALPix<r_8>* sph,SphereHEALPix<r_8>* wsph=NULL);
|
---|
| 25 | virtual ~TOI2Map();
|
---|
| 26 |
|
---|
| 27 | virtual void init(void);
|
---|
| 28 | virtual void run(void);
|
---|
| 29 | inline void SetCoorGal(bool fg=false,double actualyear=2000.)
|
---|
| 30 | {mTypCoor = fg; mActualYear = actualyear;}
|
---|
| 31 |
|
---|
| 32 | protected:
|
---|
| 33 | SphereHEALPix<r_8>* mSph;
|
---|
| 34 | SphereHEALPix<r_8>* mWSph;
|
---|
| 35 | bool mWSphInternal;
|
---|
| 36 | bool mTypCoor;
|
---|
| 37 | double mActualYear;
|
---|
| 38 | };
|
---|
| 39 |
|
---|
| 40 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.