GammaLib
2.1.0.dev
|
Broken power law spectral model class. More...
#include <GModelSpectralBrokenPlaw.hpp>
Public Member Functions | |
GModelSpectralBrokenPlaw (void) | |
Void constructor. More... | |
GModelSpectralBrokenPlaw (const std::string &type, const std::string &prefactor, const std::string &index1, const std::string &breakenergy, const std::string &index2) | |
Model type and parameter name constructor. More... | |
GModelSpectralBrokenPlaw (const double &prefactor, const double &index1, const GEnergy &breakenergy, const double &index2) | |
Parameter constructor. More... | |
GModelSpectralBrokenPlaw (const GXmlElement &xml) | |
XML constructor. More... | |
GModelSpectralBrokenPlaw (const GModelSpectralBrokenPlaw &model) | |
Copy constructor. More... | |
virtual | ~GModelSpectralBrokenPlaw (void) |
Destructor. More... | |
virtual GModelSpectralBrokenPlaw & | operator= (const GModelSpectralBrokenPlaw &model) |
Assignment operator. More... | |
virtual void | clear (void) |
Clear broken power law model. More... | |
virtual GModelSpectralBrokenPlaw * | clone (void) const |
Clone broken power law model. More... | |
virtual std::string | classname (void) const |
Return class name. More... | |
virtual std::string | type (void) const |
Return model type. More... | |
virtual double | eval (const GEnergy &srcEng, const GTime &srcTime=GTime(), const bool &gradients=false) const |
Evaluate function. More... | |
virtual double | flux (const GEnergy &emin, const GEnergy &emax) const |
Returns model photon flux between emin, emax More... | |
virtual double | eflux (const GEnergy &emin, const GEnergy &emax) const |
Returns model energy flux between emin, emax More... | |
virtual GEnergy | mc (const GEnergy &emin, const GEnergy &emax, const GTime &time, GRan &ran) const |
Returns Monte Carlo energy between [emin, emax]. More... | |
virtual void | read (const GXmlElement &xml) |
Read model from XML element. More... | |
virtual void | write (GXmlElement &xml) const |
Write model into XML element. More... | |
virtual std::string | print (const GChatter &chatter=NORMAL) const |
Print brokenpowerlaw information. More... | |
void | type (const std::string &type) |
Set model type. More... | |
double | prefactor (void) const |
Return pre factor. More... | |
double | index1 (void) const |
Return power law index1. More... | |
double | index2 (void) const |
Return power law index2. More... | |
GEnergy | breakenergy (void) const |
Return breakenergy energy. More... | |
void | prefactor (const double &prefactor) |
Set pre factor. More... | |
void | index1 (const double &index1) |
Set power law index1. More... | |
void | index2 (const double &index2) |
Set power law index2. More... | |
void | breakenergy (const GEnergy &breakenergy) |
Set breakenergy energy. More... | |
Public Member Functions inherited from GModelSpectral | |
GModelSpectral (void) | |
Void constructor. More... | |
GModelSpectral (const GModelSpectral &model) | |
Copy constructor. More... | |
virtual | ~GModelSpectral (void) |
Destructor. More... | |
virtual GModelSpectral & | operator= (const GModelSpectral &model) |
Assignment operator. More... | |
virtual GModelPar & | operator[] (const int &index) |
Returns model parameter. More... | |
virtual const GModelPar & | operator[] (const int &index) const |
Returns model parameter (const version) More... | |
virtual GModelPar & | operator[] (const std::string &name) |
Returns reference to model parameter. More... | |
virtual const GModelPar & | operator[] (const std::string &name) const |
Returns reference to model parameter (const version) More... | |
GModelPar & | at (const int &index) |
Returns model parameter. More... | |
const GModelPar & | at (const int &index) const |
Returns model parameter (const version) More... | |
bool | has_par (const std::string &name) const |
Checks if parameter name exists. More... | |
int | size (void) const |
Return number of parameters. More... | |
void | autoscale (void) |
Autoscale parameters. More... | |
Public Member Functions inherited from GBase | |
virtual | ~GBase (void) |
Destructor. More... | |
Protected Member Functions | |
void | init_members (void) |
Initialise class members. More... | |
void | copy_members (const GModelSpectralBrokenPlaw &model) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
void | update_eval_cache (const GEnergy &energy) const |
Update eval precomputation cache. More... | |
void | update_mc_cache (const GEnergy &emin, const GEnergy &emax) const |
Update Monte Carlo pre computation cache. More... | |
Protected Member Functions inherited from GModelSpectral | |
void | init_members (void) |
Initialise class members. More... | |
void | copy_members (const GModelSpectral &model) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
Protected Attributes | |
std::string | m_type |
Model type. More... | |
GModelPar | m_norm |
Normalization factor. More... | |
GModelPar | m_index1 |
Spectral index1. More... | |
GModelPar | m_index2 |
Spectral index2. More... | |
GModelPar | m_breakenergy |
Energy of spectral break. More... | |
GEnergy | m_last_energy |
Last energy value. More... | |
double | m_last_index1 |
Last index1 parameter. More... | |
double | m_last_index2 |
Last index1 parameter. More... | |
double | m_last_breakenergy |
Last breakenergy parameter. More... | |
double | m_last_e_norm |
Last E/Ebreakenergy value. More... | |
double | m_last_log_e_norm |
Last ln(E/Ebreakenergy) value. More... | |
double | m_last_power |
Last power value. More... | |
double | m_mc_emin |
Minimum energy. More... | |
double | m_mc_emax |
Maximum energy. More... | |
double | m_mc_exponent1 |
Exponent (index1+1) More... | |
double | m_mc_exponent2 |
Exponent (index2+1) More... | |
double | m_mc_pow_emin |
Power of minimum energy. More... | |
double | m_mc_pow_ewidth |
Power of energy width. More... | |
std::vector< double > | m_mc_cum |
Cumulative distribution. More... | |
std::vector< double > | m_mc_min |
Lower boundary for MC. More... | |
std::vector< double > | m_mc_max |
Upper boundary for MC. More... | |
std::vector< double > | m_mc_exp |
Exponent for MC. More... | |
Protected Attributes inherited from GModelSpectral | |
std::vector< GModelPar * > | m_pars |
Parameter pointers. More... | |
Broken power law spectral model class.
This class implements a broken power law spectrum. The model is defined by
\[ S_{\rm E}(E | t) = k_0 \times \left \{ \begin{eqnarray} \left( \frac{E}{E_b} \right)^{\gamma_1} & {\rm if\,\,} E < E_b \\ \left( \frac{E}{E_b} \right)^{\gamma_2} & {\rm otherwise} \end{eqnarray} \right . \]
where \(k_0\) is the normalization or prefactor, \(\gamma_1\) is the spectral index before the break, \(\gamma_2\) is the spectral index after the break, and \(E_b\) is the break energy.
Definition at line 65 of file GModelSpectralBrokenPlaw.hpp.
GModelSpectralBrokenPlaw::GModelSpectralBrokenPlaw | ( | void | ) |
Void constructor.
Definition at line 78 of file GModelSpectralBrokenPlaw.cpp.
References init_members().
Referenced by clone().
GModelSpectralBrokenPlaw::GModelSpectralBrokenPlaw | ( | const std::string & | type, |
const std::string & | prefactor, | ||
const std::string & | index1, | ||
const std::string & | breakenergy, | ||
const std::string & | index2 | ||
) |
Model type and parameter name constructor.
[in] | type | Model type. |
[in] | prefactor | Name of prefactor parameter. |
[in] | index1 | Name of index1 parameter. |
[in] | breakenergy | Name of breakenergy parameter. |
[in] | index2 | Name of index2 parameter. |
Definition at line 97 of file GModelSpectralBrokenPlaw.cpp.
References init_members(), m_breakenergy, m_index1, m_index2, m_norm, m_type, GOptimizerPar::name(), and type().
GModelSpectralBrokenPlaw::GModelSpectralBrokenPlaw | ( | const double & | prefactor, |
const double & | index1, | ||
const GEnergy & | breakenergy, | ||
const double & | index2 | ||
) |
Parameter constructor.
[in] | prefactor | Power law pre factor (ph/cm2/s/MeV). |
[in] | index1 | Power law index1. |
[in] | breakenergy | break energy. |
[in] | index2 | Power law index1. |
Constructs a spectral power law using the model parameters
power law @p prefactor (ph/cm2/s/MeV) spectral @p index1 Energy @p breakenergy of spectral break spectral @p index2
Definition at line 136 of file GModelSpectralBrokenPlaw.cpp.
References GModelSpectral::autoscale(), init_members(), m_breakenergy, m_index1, m_index2, m_norm, GEnergy::MeV(), and GOptimizerPar::value().
|
explicit |
XML constructor.
[in] | xml | XML element containing position information. |
Constructs a power law spectral model by extracting information from an XML element. See the read() method for more information about the expected structure of the XML element.
Definition at line 168 of file GModelSpectralBrokenPlaw.cpp.
References init_members(), and read().
GModelSpectralBrokenPlaw::GModelSpectralBrokenPlaw | ( | const GModelSpectralBrokenPlaw & | model | ) |
Copy constructor.
[in] | model | Broken power law model. |
Definition at line 187 of file GModelSpectralBrokenPlaw.cpp.
References copy_members(), and init_members().
|
virtual |
|
inline |
Return breakenergy energy.
Returns the breakenergy energy.
Definition at line 289 of file GModelSpectralBrokenPlaw.hpp.
References m_breakenergy, GEnergy::MeV(), and GOptimizerPar::value().
Referenced by read(), update_eval_cache(), and write().
|
inline |
Set breakenergy energy.
[in] | breakenergy | breakenergy energy. |
Sets the breakenergy energy.
Definition at line 305 of file GModelSpectralBrokenPlaw.hpp.
References m_breakenergy, GEnergy::MeV(), and GOptimizerPar::value().
|
inlinevirtual |
Return class name.
Implements GModelSpectral.
Definition at line 159 of file GModelSpectralBrokenPlaw.hpp.
|
virtual |
Clear broken power law model.
Implements GModelSpectral.
Definition at line 259 of file GModelSpectralBrokenPlaw.cpp.
References GModelSpectral::free_members(), free_members(), GModelSpectral::init_members(), and init_members().
|
virtual |
Clone broken power law model.
Implements GModelSpectral.
Definition at line 279 of file GModelSpectralBrokenPlaw.cpp.
References GModelSpectralBrokenPlaw().
|
protected |
Copy class members.
[in] | model | GModelSpectralBrokenPlaw members which should be copied. |
Definition at line 785 of file GModelSpectralBrokenPlaw.cpp.
References m_breakenergy, m_index1, m_index2, m_last_breakenergy, m_last_e_norm, m_last_energy, m_last_index1, m_last_index2, m_last_log_e_norm, m_last_power, m_mc_emax, m_mc_emin, m_mc_exponent1, m_mc_exponent2, m_mc_pow_emin, m_mc_pow_ewidth, m_norm, GModelSpectral::m_pars, and m_type.
Referenced by GModelSpectralBrokenPlaw(), and operator=().
Returns model energy flux between emin, emax
[in] | emin | Minimum photon energy. |
[in] | emax | Maximum photon energy. |
Computes
\[ \int_{\tt emin}^{\tt emax} S_{\rm E}(E | t) E \, dE \]
where
emin
, emax
] is an energy interval, andImplements GModelSpectral.
Definition at line 498 of file GModelSpectralBrokenPlaw.cpp.
References m_breakenergy, m_index1, m_index2, m_norm, GEnergy::MeV(), gammalib::MeV2erg, gammalib::plaw_energy_flux(), and GOptimizerPar::value().
|
virtual |
Evaluate function.
[in] | srcEng | True photon energy. |
[in] | srcTime | True photon arrival time. |
[in] | gradients | Compute gradients? |
Evaluates
\[ S_{\rm E}(E | t) = k_0 \times \left \{ \begin{eqnarray} \left( \frac{E}{E_b} \right)^{\gamma_1} & {\rm if\,\,} E < E_b \\ \left( \frac{E}{E_b} \right)^{\gamma_2} & {\rm otherwise} \end{eqnarray} \right . \]
where \(k_0\) is the normalization or prefactor, \(\gamma_1\) is the spectral index before the break, \(\gamma_2\) is the spectral index after the break, and \(E_b\) is the break energy.
If the gradients
flag is true the method will also compute the partial derivatives of the model with respect to the parameters using
\[ \frac{\delta S_{\rm E}(E | t)}{\delta k_0} = \frac{S_{\rm E}(E | t)}{k_0} \]
\[ \frac{\delta S_{\rm E}(E | t)}{\delta \gamma_1} = \left \{ \begin{eqnarray} S_{\rm E}(E | t) \, \ln(E/E_b) & {\rm if\,\,} E < E_b \\ 0 & {\rm otherwise} \end{eqnarray} \right . \]
\[ \frac{\delta S_{\rm E}(E | t)}{\delta \gamma_2} = \left \{ \begin{eqnarray} 0 & {\rm if\,\,} E < E_b \\ S_{\rm E}(E | t) \, \ln(E/E_b) & {\rm otherwise} \end{eqnarray} \right . \]
\[ \frac{\delta S_{\rm E}(E | t)}{\delta E_b} = k_0 \times \left \{ \begin{eqnarray} -S_{\rm E}(E | t) \, \left( \frac{\gamma_1}{E_b} \right) & {\rm if\,\,} E < E_b \\ -S_{\rm E}(E | t) \, \left( \frac{\gamma_2}{E_b} \right) & {\rm otherwise} \end{eqnarray} \right . \]
Implements GModelSpectral.
Definition at line 348 of file GModelSpectralBrokenPlaw.cpp.
References GOptimizerPar::factor_gradient(), GOptimizerPar::factor_value(), GOptimizerPar::is_free(), gammalib::is_infinite(), gammalib::is_notanumber(), m_breakenergy, m_index1, m_index2, m_last_index1, m_last_index2, m_last_log_e_norm, m_last_power, m_norm, GEnergy::MeV(), GOptimizerPar::scale(), update_eval_cache(), and GOptimizerPar::value().
Referenced by GModelSpectralSmoothBrokenPlaw::mc().
Returns model photon flux between emin, emax
[in] | emin | Minimum photon energy. |
[in] | emax | Maximum photon energy. |
Computes
\[ \int_{\tt emin}^{\tt emax} S_{\rm E}(E | t) dE \]
where
emin
, emax
] is an energy interval, andImplements GModelSpectral.
Definition at line 431 of file GModelSpectralBrokenPlaw.cpp.
References m_breakenergy, m_index1, m_index2, m_norm, GEnergy::MeV(), gammalib::plaw_photon_flux(), and GOptimizerPar::value().
Referenced by update_mc_cache().
|
protected |
Delete class members.
Definition at line 826 of file GModelSpectralBrokenPlaw.cpp.
Referenced by clear(), operator=(), and ~GModelSpectralBrokenPlaw().
|
inline |
Return power law index1.
Returns the power law index1.
Definition at line 231 of file GModelSpectralBrokenPlaw.hpp.
References m_index1, and GOptimizerPar::value().
Referenced by read(), update_eval_cache(), and write().
|
inline |
Set power law index1.
[in] | index1 | Power law index1. |
Sets the power law index1.
Definition at line 245 of file GModelSpectralBrokenPlaw.hpp.
References m_index1, and GOptimizerPar::value().
|
inline |
Return power law index2.
Returns the power law index2.
Definition at line 260 of file GModelSpectralBrokenPlaw.hpp.
References m_index2, and GOptimizerPar::value().
Referenced by read(), update_eval_cache(), and write().
|
inline |
Set power law index2.
[in] | index2 | Power law index2. |
Sets the power law index2.
Definition at line 274 of file GModelSpectralBrokenPlaw.hpp.
References m_index2, and GOptimizerPar::value().
|
protected |
Initialise class members.
Definition at line 702 of file GModelSpectralBrokenPlaw.cpp.
References GEnergy::clear(), GOptimizerPar::clear(), GOptimizerPar::fix(), GOptimizerPar::free(), GOptimizerPar::gradient(), GOptimizerPar::has_grad(), m_breakenergy, m_index1, m_index2, m_last_breakenergy, m_last_e_norm, m_last_energy, m_last_index1, m_last_index2, m_last_log_e_norm, m_last_power, m_mc_emax, m_mc_emin, m_mc_exponent1, m_mc_exponent2, m_mc_pow_emin, m_mc_pow_ewidth, m_norm, GModelSpectral::m_pars, m_type, GOptimizerPar::min(), GOptimizerPar::name(), GOptimizerPar::range(), GOptimizerPar::scale(), GOptimizerPar::unit(), and GOptimizerPar::value().
Referenced by clear(), GModelSpectralBrokenPlaw(), and operator=().
|
virtual |
Returns Monte Carlo energy between [emin, emax].
[in] | emin | Minimum photon energy. |
[in] | emax | Maximum photon energy. |
[in] | time | True photon arrival time. |
[in,out] | ran | Random number generator. |
Returns Monte Carlo energy by randomly drawing from a broken power law.
Implements GModelSpectral.
Definition at line 557 of file GModelSpectralBrokenPlaw.cpp.
References gammalib::check_energy_interval(), exp(), G_MC, log(), m_mc_cum, m_mc_exp, m_mc_max, m_mc_min, GEnergy::MeV(), GRan::uniform(), and update_mc_cache().
Referenced by GModelSpectralSmoothBrokenPlaw::mc().
|
virtual |
Assignment operator.
[in] | model | Broken power law model. |
Definition at line 226 of file GModelSpectralBrokenPlaw.cpp.
References copy_members(), free_members(), init_members(), and GModelSpectral::operator=().
|
inline |
Return pre factor.
Returns the pre factor.
Definition at line 202 of file GModelSpectralBrokenPlaw.hpp.
References m_norm, and GOptimizerPar::value().
Referenced by read().
|
inline |
Set pre factor.
[in] | prefactor | Pre factor (ph/cm2/s/MeV). |
Sets the pre factor.
Definition at line 216 of file GModelSpectralBrokenPlaw.hpp.
References m_norm, and GOptimizerPar::value().
Print brokenpowerlaw information.
[in] | chatter | Chattiness (defaults to NORMAL). |
Implements GModelSpectral.
Definition at line 668 of file GModelSpectralBrokenPlaw.cpp.
References GModelSpectral::m_pars, gammalib::parformat(), SILENT, GModelSpectral::size(), and gammalib::str().
|
virtual |
Read model from XML element.
[in] | xml | XML element. |
Reads the spectral information from an XML element.
Implements GModelSpectral.
Definition at line 611 of file GModelSpectralBrokenPlaw.cpp.
References breakenergy(), G_READ, index1(), index2(), m_breakenergy, m_index1, m_index2, m_norm, GOptimizerPar::name(), prefactor(), GModelPar::read(), gammalib::xml_check_parnum(), and gammalib::xml_get_par().
Referenced by GModelSpectralBrokenPlaw().
|
inlinevirtual |
Return model type.
Returns the type of the spectral broken power law model.
Implements GModelSpectral.
Definition at line 173 of file GModelSpectralBrokenPlaw.hpp.
References m_type.
Referenced by GModelSpectralBrokenPlaw(), type(), and write().
|
inline |
Set model type.
[in] | type | Model type. |
Set the type of the spectral broken power law model.
Definition at line 187 of file GModelSpectralBrokenPlaw.hpp.
|
protected |
Update eval precomputation cache.
[in] | energy | Energy. |
Updates the precomputation cache for eval() the method.
Definition at line 840 of file GModelSpectralBrokenPlaw.cpp.
References breakenergy(), index1(), index2(), log(), m_breakenergy, m_index1, m_index2, m_last_breakenergy, m_last_e_norm, m_last_energy, m_last_index1, m_last_index2, m_last_log_e_norm, m_last_power, GEnergy::MeV(), pow(), and GOptimizerPar::value().
Referenced by eval().
|
protected |
Update Monte Carlo pre computation cache.
[in] | emin | Minimum photon energy. |
[in] | emax | Maximum photon energy. |
Updates the precomputation cache for Monte Carlo simulations.
Definition at line 887 of file GModelSpectralBrokenPlaw.cpp.
References abs(), flux(), log(), m_breakenergy, m_index1, m_index2, m_mc_cum, m_mc_emax, m_mc_emin, m_mc_exp, m_mc_max, m_mc_min, m_norm, GEnergy::MeV(), norm(), gammalib::plaw_photon_flux(), pow(), and GOptimizerPar::value().
Referenced by mc().
|
virtual |
Write model into XML element.
[in] | xml | XML element. |
Writes the spectral information into an XML element.
Implements GModelSpectral.
Definition at line 640 of file GModelSpectralBrokenPlaw.cpp.
References breakenergy(), G_WRITE, index1(), index2(), m_breakenergy, m_index1, m_index2, m_norm, GOptimizerPar::name(), norm(), type(), GModelPar::write(), gammalib::xml_check_type(), and gammalib::xml_need_par().
|
protected |
Energy of spectral break.
Definition at line 130 of file GModelSpectralBrokenPlaw.hpp.
Referenced by breakenergy(), copy_members(), eflux(), eval(), flux(), GModelSpectralBrokenPlaw(), init_members(), read(), update_eval_cache(), update_mc_cache(), and write().
|
protected |
Spectral index1.
Definition at line 128 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), eflux(), eval(), flux(), GModelSpectralBrokenPlaw(), index1(), init_members(), read(), update_eval_cache(), update_mc_cache(), and write().
|
protected |
Spectral index2.
Definition at line 129 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), eflux(), eval(), flux(), GModelSpectralBrokenPlaw(), index2(), init_members(), read(), update_eval_cache(), update_mc_cache(), and write().
|
mutableprotected |
Last breakenergy parameter.
Definition at line 136 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), init_members(), and update_eval_cache().
|
mutableprotected |
Last E/Ebreakenergy value.
Definition at line 137 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), init_members(), and update_eval_cache().
|
mutableprotected |
Last energy value.
Definition at line 133 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), init_members(), and update_eval_cache().
|
mutableprotected |
Last index1 parameter.
Definition at line 134 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), eval(), init_members(), and update_eval_cache().
|
mutableprotected |
Last index1 parameter.
Definition at line 135 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), eval(), init_members(), and update_eval_cache().
|
mutableprotected |
Last ln(E/Ebreakenergy) value.
Definition at line 138 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), eval(), init_members(), and update_eval_cache().
|
mutableprotected |
Last power value.
Definition at line 139 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), eval(), init_members(), and update_eval_cache().
|
mutableprotected |
Cumulative distribution.
Definition at line 146 of file GModelSpectralBrokenPlaw.hpp.
Referenced by mc(), and update_mc_cache().
|
mutableprotected |
Maximum energy.
Definition at line 141 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), init_members(), and update_mc_cache().
|
mutableprotected |
Minimum energy.
Definition at line 140 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), init_members(), and update_mc_cache().
|
mutableprotected |
Exponent for MC.
Definition at line 149 of file GModelSpectralBrokenPlaw.hpp.
Referenced by mc(), and update_mc_cache().
|
mutableprotected |
Exponent (index1+1)
Definition at line 142 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), and init_members().
|
mutableprotected |
Exponent (index2+1)
Definition at line 143 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), and init_members().
|
mutableprotected |
Upper boundary for MC.
Definition at line 148 of file GModelSpectralBrokenPlaw.hpp.
Referenced by mc(), and update_mc_cache().
|
mutableprotected |
Lower boundary for MC.
Definition at line 147 of file GModelSpectralBrokenPlaw.hpp.
Referenced by mc(), and update_mc_cache().
|
mutableprotected |
Power of minimum energy.
Definition at line 144 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), and init_members().
|
mutableprotected |
Power of energy width.
Definition at line 145 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), and init_members().
|
protected |
Normalization factor.
Definition at line 127 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), eflux(), eval(), flux(), GModelSpectralBrokenPlaw(), init_members(), prefactor(), read(), update_mc_cache(), and write().
|
protected |
Model type.
Definition at line 126 of file GModelSpectralBrokenPlaw.hpp.
Referenced by copy_members(), GModelSpectralBrokenPlaw(), init_members(), and type().