source: Sophya/trunk/Cosmo/SimLSS/agnjackson.h@ 3282

Last change on this file since 3282 was 3196, checked in by cmv, 18 years ago

les AGN selon C.Jackson, une premiere approche simplifiee, recodage from Jim Rich. cmv 03/04/2007

File size: 842 bytes
Line 
1#ifndef AGNJACKSON_SEEN
2#define AGNJACKSON_SEEN
3
4#include "machdefs.h"
5#include <math.h>
6#include "genericfunc.h"
7#include "histos.h"
8#include "perandom.h"
9
10namespace SOPHYA {
11
12//----------------------------------------------------
13// C.A.Jackson (New Astronomy Review 40 (2004) 1187-1193)
14class AGNJackson {
15public:
16 AGNJackson(void);
17 virtual ~AGNJackson(void);
18
19 Histo& dNdlS(void) {return *dndls_;}
20 FunRan& TirL10S(void) {return *tirls_;}
21 double NObjAng(void) {return nobjang_;}
22 double FluxAng(void) {return fluxang_;}
23 double L10FluxJY(void) {return tirls_->Random();}
24 double FluxJY(void) {return pow(10.,L10FluxJY());}
25 void Print(void);
26
27 void OrigJack(vector<double>& xjack,vector<double>& yjack);
28
29protected:
30 vector<double> xjack_,yjack_;
31 double nobjang_,fluxang_;
32 Histo *dndls_;
33 FunRan *tirls_;
34
35};
36
37}
38
39#endif
Note: See TracBrowser for help on using the repository browser.