source: Sophya/trunk/SigPredictor/makebolotimeline.h@ 4050

Last change on this file since 4050 was 1148, checked in by ansari, 25 years ago

mise a jour

File size: 1.5 KB
Line 
1 // Dominique YVON, CEA/DAPNIA/SPP 02/2000
2
3#ifndef MakeBoloTimeline_H
4#define MakeBoloTimeline_H
5
6#include <fstream>
7
8#include "abslightsource.h"
9#include "abslobenopolar.h"
10#include "sigcalctools.h"
11#include "ptsrcinbandcalctools.h"
12
13#include "specresp.h"
14#include "spherehealpix.h"
15
16#define VisuIsActive
17
18
19enum Normalisation { RayleighJeans, TempeCMB, Power};
20class MakeBoloTimeline
21{
22public:
23 MakeBoloTimeline(char file[], AbsCalcTool& Tool, Normalisation Norm);
24 MakeBoloTimeline(char file[], AbsLightSource& LSrc, AbsLobeNoPolar& Lobe,
25 SpectralResponse& Filter, Normalisation Norm);
26 MakeBoloTimeline(char file[], LightPtSrcLevSInBand& LSrc,
27 MeanFreqLobe& Lobe, LevSPanckBand band, Normalisation Norm);
28 ~MakeBoloTimeline();
29 void addToStreamArchTOI(double theta, double phi);
30 // Theta en heures, Phi en degres, coordonnŽes RA Dec
31 void addToStream(double lgalax,double bgalax);
32 // theta et phi en radian, coordonŽes galactiques J2000.
33
34protected:
35 AbsCalcTool* ptool;
36
37 SigCalcTool* pSigCalcTool;
38 bool IsSigCalctool;
39 PtSrcInBandCalTools* pPtSrcInBandCalTools;
40 bool IsPtSrcInBandtool;
41
42 double NormRJ;
43 double NormTCMB;
44 Normalisation NormMethode;
45
46 // Outils de fichier sortie
47 ofstream* pMystr; // Fichier ascii des valeurs physiques simulees
48
49 void saveReadMe(char File[]); // ReadMe file for ASCII output
50
51// long flushControl;
52
53#ifdef VisuIsActive
54 SphereHEALPix<r_4>* pSphere; // Pour creer une visu de controle
55 SphereHEALPix<uint_2>* pSphereInt;
56 char Name[200];
57#endif
58
59};
60
61#endif
Note: See TracBrowser for help on using the repository browser.