Base class for photon/neutrino distributions.
More...
#include <Radiation.hpp>
|
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
|
|
Base class for photon/neutrino distributions.
◆ Radiation()
kariba::Radiation::Radiation |
( |
size_t |
size | ) |
|
◆ get_energy()
const std::vector< double > & kariba::Radiation::get_energy |
( |
| ) |
const |
|
inline |
◆ get_energy_obs()
const std::vector< double > & kariba::Radiation::get_energy_obs |
( |
| ) |
const |
|
inline |
◆ get_nphot()
const std::vector< double > & kariba::Radiation::get_nphot |
( |
| ) |
const |
|
inline |
◆ get_nphot_obs()
const std::vector< double > & kariba::Radiation::get_nphot_obs |
( |
| ) |
const |
|
inline |
◆ get_size()
size_t kariba::Radiation::get_size |
( |
| ) |
const |
|
inline |
◆ get_volume()
double kariba::Radiation::get_volume |
( |
| ) |
const |
|
inline |
◆ integrated_luminosity()
double kariba::Radiation::integrated_luminosity |
( |
double |
numin, |
|
|
double |
numax |
|
) |
| |
Simple integration method to integrate num_phot_obs and get the luminosity between numin and numax
◆ set_beaming()
void kariba::Radiation::set_beaming |
( |
double |
theta, |
|
|
double |
speed, |
|
|
double |
doppler |
|
) |
| |
Methods to set viewing angle, beaming and geometry of emission region.
◆ set_counterjet()
void kariba::Radiation::set_counterjet |
( |
bool |
flag | ) |
|
Method to include a counterjet in cyclosycnchrotron/Compton classes.
◆ set_geometry() [1/2]
void kariba::Radiation::set_geometry |
( |
const std::string & |
geom, |
|
|
double |
l1 |
|
) |
| |
◆ set_geometry() [2/2]
void kariba::Radiation::set_geometry |
( |
const std::string & |
geom, |
|
|
double |
l1, |
|
|
double |
l2 |
|
) |
| |
◆ set_inclination()
void kariba::Radiation::set_inclination |
( |
double |
theta | ) |
|
◆ test_arrays()
void kariba::Radiation::test_arrays |
( |
| ) |
|
Simple method to check arrays; only meant for debugging.
◆ angle
double kariba::Radiation::angle |
|
protected |
Viewing angle/Doppler factor of emitting region.
◆ beta
double kariba::Radiation::beta |
|
protected |
speed of the emitting region
◆ counterjet
bool kariba::Radiation::counterjet |
|
protected |
boolean switch if user wants to include counterjet emission
◆ dopfac
double kariba::Radiation::dopfac |
|
protected |
◆ dopnum
double kariba::Radiation::dopnum |
|
protected |
Doppler boosting exponent, depends on geometry.
◆ en_phot
std::vector<double> kariba::Radiation::en_phot |
|
protected |
◆ en_phot_obs
std::vector<double> kariba::Radiation::en_phot_obs |
|
protected |
same as above but in observer frame
◆ geometry
std::string kariba::Radiation::geometry |
|
protected |
string to track geometry of emitting region
◆ num_phot
std::vector<double> kariba::Radiation::num_phot |
|
protected |
array of number of photons in units of erg/s/Hz
◆ num_phot_obs
std::vector<double> kariba::Radiation::num_phot_obs |
|
protected |
same as above but in observer frame
double kariba::Radiation::r |
|
protected |
◆ vol
double kariba::Radiation::vol |
|
protected |
Volume of emitting region.
double kariba::Radiation::z |
|
protected |
Dimensions of emitting region.
The documentation for this class was generated from the following files: