Jpp
18.6.0-rc.1
the software that should make you happy
|
Implementation of oscillation probability function interface. More...
#include <JOscProbFunction.hh>
Public Types | |
typedef JOscProbInterface::JOscParameters_t | JOscParameters_t |
typedef JClonable< JClonable_t > ::clone_type | clone_type |
Public Member Functions | |
JOscProbFunction (const JFunction_t &function) | |
Constructor. More... | |
void | setParameters (const JOscParameters_t ¶meters) const |
Set oscillation parameters. More... | |
double | getCosth (const double L) const override |
Get cosine zenith angle for a given baseline. More... | |
double | getBaseline (const double costh) const override |
Get baseline for a given cosine zenith angle. More... | |
double | getP (const JOscChannel &channel, const double energy, const double costh) const override |
Get oscillation probability for given oscillation channel. More... | |
virtual clone_type | clone () const override |
Get clone of this object. More... | |
Private Attributes | |
JFunction_t | function |
oscillation probability function More... | |
Implementation of oscillation probability function interface.
The template argument refers to a function of which the copy constuctor needs to be defined
and which must contain the methods setParameters(const JOscParameters&)
and getP(const JOscChannel&, const double, const double)
.
Definition at line 30 of file JOscProbFunction.hh.
typedef JOscProbInterface::JOscParameters_t JOSCPROB::JOscProbFunction< JFunction_t >::JOscParameters_t |
Definition at line 33 of file JOscProbFunction.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
Constructor.
function | oscillation probability function |
Definition at line 40 of file JOscProbFunction.hh.
|
inline |
Set oscillation parameters.
parameters | oscillation parameters |
Definition at line 50 of file JOscProbFunction.hh.
|
inlineoverride |
Get cosine zenith angle for a given baseline.
L | baseline [km] |
Definition at line 62 of file JOscProbFunction.hh.
|
inlineoverride |
Get baseline for a given cosine zenith angle.
costh | cosine zenith angle |
Definition at line 74 of file JOscProbFunction.hh.
|
inlineoverride |
Get oscillation probability for given oscillation channel.
channel | oscillation channel |
energy | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 88 of file JOscProbFunction.hh.
|
inlineoverridevirtualinherited |
Get clone of this object.
Reimplemented in 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 >, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer_t< JArgument_t >, JLANG::JClonable< JMatch< hit_type > >, JLANG::JClonable< JMatch< hit_type >, JMatch3D >, JLANG::JClonable< JMatch< JTRIGGER::JHitR1 > >, and JLANG::JClonable< JMatch< JTRIGGER::JHitR1 >, JMatch3G< JTRIGGER::JHitR1 > >.
Definition at line 69 of file JClonable.hh.
|
private |
oscillation probability function
Definition at line 98 of file JOscProbFunction.hh.