|
Jpp
debug
the software that should make you happy
|
Example function object for computing power-law flux. More...
#include <JPowerLawFlux.hh>
Classes | |
| struct | JPowerLawFluxHelper |
| Auxiliary class for I/O of power-law flux. More... | |
Public Types | |
| typedef JClonable< JClonable_t >::clone_type | clone_type |
Public Member Functions | |
| JPowerLawFlux () | |
| Default constructor. More... | |
| JPowerLawFlux (const double normalisation, const double spectralIndex) | |
| Constructor. More... | |
| bool | is_valid () const override final |
| Check whether this power-law flux is valid. More... | |
| double | getFactor (const Evt &evt) const override final |
| Get flux of given event. More... | |
| bool | equals (const JPowerLawFlux &object) const |
| Check if this flux is identical to the given flux. More... | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) override final |
| Get properties of this class. More... | |
| JProperties | getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) const override final |
| Get properties of this class. More... | |
| std::istream & | read (std::istream &in) override final |
| Stream input. More... | |
| virtual clone_type | clone () const override |
| Get clone of this object. More... | |
Private Attributes | |
| double | normalisation |
| normalisation [GeV * m^-2 * sr^-1 * s^-1] More... | |
| double | spectralIndex |
| spectral index >= 0 More... | |
Example function object for computing power-law flux.
Definition at line 31 of file JPowerLawFlux.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Default constructor.
Definition at line 38 of file JPowerLawFlux.hh.
|
inline |
Constructor.
| normalisation | normalisation [GeV * m^-2 * sr^-1 * s^-1] |
| spectralIndex | spectral index |
Definition at line 50 of file JPowerLawFlux.hh.
|
inlinefinaloverride |
Check whether this power-law flux is valid.
Definition at line 62 of file JPowerLawFlux.hh.
|
inlinefinaloverride |
Get flux of given event.
| evt | event |
Definition at line 74 of file JPowerLawFlux.hh.
|
inline |
Check if this flux is identical to the given flux.
| object | power-law flux object |
Definition at line 91 of file JPowerLawFlux.hh.
|
inlinefinaloverride |
Get properties of this class.
| eqpars | equation parameters |
Definition at line 103 of file JPowerLawFlux.hh.
|
inlinefinaloverride |
Get properties of this class.
| eqpars | equation parameters |
Definition at line 114 of file JPowerLawFlux.hh.
|
inlinefinaloverride |
Stream input.
| in | input stream |
Definition at line 126 of file JPowerLawFlux.hh.
|
inlineoverridevirtualinherited |
Get clone of this object.
Reimplemented in JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, and JPHYSICS::JPDFTransformer_t< JArgument_t >.
Definition at line 69 of file JClonable.hh.
|
private |
normalisation [GeV * m^-2 * sr^-1 * s^-1]
Definition at line 175 of file JPowerLawFlux.hh.
|
private |
spectral index >= 0
Definition at line 176 of file JPowerLawFlux.hh.