#include <GammaRays.hpp>
|
| | Grays (size_t size, double numin, double numax) |
| |
| void | set_grays_pp (double p, double gammap_min, double gammap_max, double ntot_prot, double ntargets, double plfrac, gsl_interp_accel *acc_Jp, gsl_spline *spline_Jp) |
| |
| void | set_grays_pg (double gp_min, double gp_max, gsl_interp_accel *acc_Jp, gsl_spline *spline_Jp, std::vector< double > &nu_per_seg, std::vector< double > &ng_per_seg, size_t ne) |
| |
| | Radiation (size_t size) |
| |
| const std::vector< double > & | get_energy () const |
| |
| const std::vector< double > & | get_nphot () const |
| |
| const std::vector< double > & | get_energy_obs () const |
| |
| const std::vector< double > & | get_nphot_obs () const |
| |
| size_t | get_size () const |
| |
| double | get_volume () const |
| |
| double | integrated_luminosity (double numin, double numax) |
| |
| void | set_beaming (double theta, double speed, double doppler) |
| | Methods to set viewing angle, beaming and geometry of emission region.
|
| |
| void | set_inclination (double theta) |
| |
| void | set_geometry (const std::string &geom, double l1, double l2) |
| |
| void | set_geometry (const std::string &geom, double l1) |
| |
| void | set_counterjet (bool flag) |
| | Method to include a counterjet in cyclosycnchrotron/Compton classes.
|
| |
| void | test_arrays () |
| | Simple method to check arrays; only meant for debugging.
|
| |
|
| std::vector< double > | en_phot |
| | array of photon energies
|
| |
| std::vector< double > | num_phot |
| | array of number of photons in units of erg/s/Hz
|
| |
| std::vector< double > | en_phot_obs |
| | same as above but in observer frame
|
| |
| std::vector< double > | num_phot_obs |
| | same as above but in observer frame
|
| |
| double | r |
| |
| double | z |
| | Dimensions of emitting region.
|
| |
| double | vol |
| | Volume of emitting region.
|
| |
| double | beta |
| | speed of the emitting region
|
| |
| double | dopfac |
| |
| double | angle |
| | Viewing angle/Doppler factor of emitting region.
|
| |
| double | dopnum |
| | Doppler boosting exponent, depends on geometry.
|
| |
| bool | counterjet |
| | boolean switch if user wants to include counterjet emission
|
| |
| std::string | geometry |
| | string to track geometry of emitting region
|
| |
◆ Grays()
| kariba::Grays::Grays |
( |
size_t |
size, |
|
|
double |
numin, |
|
|
double |
numax |
|
) |
| |
◆ set_grays_pg()
| void kariba::Grays::set_grays_pg |
( |
double |
gp_min, |
|
|
double |
gp_max, |
|
|
gsl_interp_accel * |
acc_Jp, |
|
|
gsl_spline * |
spline_Jp, |
|
|
std::vector< double > & |
nu_per_seg, |
|
|
std::vector< double > & |
ng_per_seg, |
|
|
size_t |
ne |
|
) |
| |
◆ set_grays_pp()
| void kariba::Grays::set_grays_pp |
( |
double |
p, |
|
|
double |
gammap_min, |
|
|
double |
gammap_max, |
|
|
double |
ntot_prot, |
|
|
double |
ntargets, |
|
|
double |
plfrac, |
|
|
gsl_interp_accel * |
acc_Jp, |
|
|
gsl_spline * |
spline_Jp |
|
) |
| |
Method to set the gamma-rays from pp inelastic interactions. p: pspec_p, ntot_prot: total proton number density of the jet segment, ntargets: the number density of external proton density (companion etc), plfrac: plfrac_p
The documentation for this class was generated from the following files: