Jpp
master_rocky
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 | getP (const JOscChannel &channel, const double energy, const double costh) const override final |
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.
|
inlinefinaloverride |
Get oscillation probability for given oscillation channel.
channel | oscillation channel |
energy | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 64 of file JOscProbFunction.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 |
oscillation probability function
Definition at line 74 of file JOscProbFunction.hh.