| [801] | 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" | 
|---|
| [1148] | 11 | #include "ptsrcinbandcalctools.h" | 
|---|
|  | 12 |  | 
|---|
| [801] | 13 | #include "specresp.h" | 
|---|
| [1148] | 14 | #include "spherehealpix.h" | 
|---|
| [801] | 15 |  | 
|---|
| [1148] | 16 | #define VisuIsActive | 
|---|
|  | 17 |  | 
|---|
|  | 18 |  | 
|---|
| [801] | 19 | enum Normalisation { RayleighJeans, TempeCMB, Power}; | 
|---|
|  | 20 | class MakeBoloTimeline | 
|---|
|  | 21 | { | 
|---|
|  | 22 | public: | 
|---|
| [1148] | 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(); | 
|---|
| [801] | 29 | void addToStreamArchTOI(double theta, double phi); | 
|---|
| [1148] | 30 | //       Theta en heures, Phi en degres, coordonnes RA Dec | 
|---|
|  | 31 | void addToStream(double lgalax,double bgalax); | 
|---|
|  | 32 | // theta et phi en radian, coordones galactiques J2000. | 
|---|
|  | 33 |  | 
|---|
| [801] | 34 | protected: | 
|---|
| [1148] | 35 | AbsCalcTool* ptool; | 
|---|
|  | 36 |  | 
|---|
|  | 37 | SigCalcTool* pSigCalcTool; | 
|---|
|  | 38 | bool IsSigCalctool; | 
|---|
|  | 39 | PtSrcInBandCalTools* pPtSrcInBandCalTools; | 
|---|
|  | 40 | bool IsPtSrcInBandtool; | 
|---|
|  | 41 |  | 
|---|
| [801] | 42 | double NormRJ; | 
|---|
|  | 43 | double NormTCMB; | 
|---|
|  | 44 | Normalisation NormMethode; | 
|---|
| [1148] | 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 |  | 
|---|
| [801] | 51 | //      long flushControl; | 
|---|
|  | 52 |  | 
|---|
| [1148] | 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 |  | 
|---|
| [801] | 59 | }; | 
|---|
|  | 60 |  | 
|---|
|  | 61 | #endif | 
|---|