Class IRB_Gilmore12
Defined in File PhotonBackground.h
Inheritance Relationships
Base Type
public TabularPhotonField
(Class TabularPhotonField)
Class Documentation
-
class IRB_Gilmore12 : public TabularPhotonField
Extragalactic background light model from Gilmore et al. 2012.
Source info: DOI:10.1111/j.1365-2966.2012.20841.x https://academic.oup.com/mnras/article/422/4/3189/1050758
Public Functions
-
inline IRB_Gilmore12()
-
virtual double getPhotonDensity(double ePhoton, double z = 0.) const
returns comoving photon density [1/m^3]. multiply with (1+z^3) for physical number density.
- Parameters:
ePhoton – photon energy [J]
z – redshift (if redshift dependent, default = 0.)
-
virtual double getRedshiftScaling(double z) const
returns overall comoving scaling factor (cf. CRPropa3-data/calc_scaling.py)
- Parameters:
z – redshift
-
virtual double getMinimumPhotonEnergy(double z) const
-
virtual double getMaximumPhotonEnergy(double z) const
-
inline virtual std::string getFieldName() const
-
inline bool hasRedshiftDependence() const
-
inline void setFieldName(std::string fieldName)
-
inline size_t addReference() const
-
inline size_t removeReference() const
-
inline int removeReferenceNoDelete() const
-
inline size_t getReferenceCount() const
-
inline IRB_Gilmore12()