|
Jpp
18.0.0-rc.4
the software that should make you happy
|
Example function object for computing power-law flux. More...
#include <JPowerLawFlux.hh>
Public Member Functions | |
| JPowerLawFlux () | |
| Default constructor. More... | |
| JPowerLawFlux (const double normalisation, const double spectralIndex) | |
| Constructor. More... | |
| double | operator() (const Evt &evt) const |
| Get flux of given event. More... | |
Public Attributes | |
| double | normalisation |
| normalisation [GeV * m^-2 * sr^-1 * s^-1] More... | |
| double | spectralIndex |
| spectral index >= 0 More... | |
Friends | |
| std::istream & | operator>> (std::istream &in, JPowerLawFlux &object) |
| Stream input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JPowerLawFlux &object) |
| Write power-law parameters to output stream. More... | |
Example function object for computing power-law flux.
Definition at line 16 of file JPowerLawFlux.hh.
|
inline |
Default constructor.
Definition at line 21 of file JPowerLawFlux.hh.
|
inline |
Constructor.
| normalisation | normalisation [GeV * m^-2 * sr^-1 * s^-1] |
| spectralIndex | spectral index |
Definition at line 33 of file JPowerLawFlux.hh.
|
inline |
Get flux of given event.
| evt | event |
Definition at line 46 of file JPowerLawFlux.hh.
|
friend |
Stream input.
| in | input stream |
| object | power-law flux |
Definition at line 71 of file JPowerLawFlux.hh.
|
friend |
Write power-law parameters to output stream.
| out | output stream |
| object | power-law flux |
Definition at line 86 of file JPowerLawFlux.hh.
| double JAANET::JPowerLawFlux::normalisation |
normalisation [GeV * m^-2 * sr^-1 * s^-1]
Definition at line 98 of file JPowerLawFlux.hh.
| double JAANET::JPowerLawFlux::spectralIndex |
spectral index >= 0
Definition at line 99 of file JPowerLawFlux.hh.
1.8.5