source: Sophya/trunk/ArchTOIPipe/ProcWSophya/toi2map.h@ 1498

Last change on this file since 1498 was 1498, checked in by ansari, 24 years ago

Commit de la modif toi2map.cc .h par Cecile - Reza 17/5/2001

File size: 1.1 KB
Line 
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 Coord1In ---> | |
18// toi Coord2In ---> | TOI2Map |
19// toi BoloIn ---> | |
20// -----------
21
22class TOI2Map : public TOIProcessor {
23public:
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 mfg=false,bool ffg=false,double actualyear=2000.)
30 {mTypCoor = mfg; fTypCoor = ffg; mActualYear = actualyear;}
31
32protected:
33 SphereHEALPix<r_8>* mSph;
34 SphereHEALPix<r_8>* mWSph;
35 bool mWSphInternal;
36 bool mTypCoor;
37 bool fTypCoor;
38 double mActualYear;
39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.