D2MW  1.0
DRAGON2 for MilkyWay
DRAGON::RadiationField_Galprop54 Class Reference

#include <ISRF.h>

Inheritance diagram for DRAGON::RadiationField_Galprop54:
DRAGON::Galaxy

Public Member Functions

 RadiationField_Galprop54 ()
 
virtual std::string description () const override
 
virtual std::shared_ptr< Galaxyclone () const override
 
virtual double get (const Vector3d &pos, const double &energy) const override
 
- Public Member Functions inherited from DRAGON::Galaxy
virtual ~Galaxy ()
 
virtual double get (const Vector3d &pos) const
 

Additional Inherited Members

- Protected Member Functions inherited from DRAGON::Galaxy
void set_model_name (const std::string &m)
 
- Protected Attributes inherited from DRAGON::Galaxy
std::string model
 

Detailed Description

Class to implement the Galprop54 model for ISRF

Constructor & Destructor Documentation

§ RadiationField_Galprop54()

DRAGON::RadiationField_Galprop54::RadiationField_Galprop54 ( )
inline

Class Constructor

Member Function Documentation

§ clone()

virtual std::shared_ptr<Galaxy> DRAGON::RadiationField_Galprop54::clone ( ) const
inlineoverridevirtual

Get the pointer of this instance

Implements DRAGON::Galaxy.

§ description()

virtual std::string DRAGON::RadiationField_Galprop54::description ( ) const
inlineoverridevirtual

Get the reference for the Galprop54 model

Returns
string containing a reference

Implements DRAGON::Galaxy.

§ get()

virtual double DRAGON::RadiationField_Galprop54::get ( const Vector3d pos,
const double &  energy 
) const
inlineoverridevirtual

Get ISRF energy spectrum at the given position

Parameters
posGalactic 3D position
energyphoton energy
Returns
differential energy density of ISRF

Reimplemented from DRAGON::Galaxy.


The documentation for this class was generated from the following file: