Jpp
18.3.0-rc.1
the software that should make you happy
|
Low-level interface for oscillation probability calculators. More...
#include <JOscProbInterface.hh>
Public Types | |
typedef JOscParametersHelper < double > | JOscParametersHelper_t |
typedef JOscParametersHelper_t::JOscParameters_t | JOscParameters_t |
typedef JOscParametersHelper_t::JOscParameter_t | JOscParameter_t |
typedef JOscParametersHelper_t::JParameter_t | JParameter_t |
typedef JOscParametersHelper_t::argument_type | argument_type |
typedef std::shared_ptr < JOscParameters_t > | pointer_type |
typedef JClonable< JClonable_t > ::clone_type | clone_type |
Public Member Functions | |
JOscProbInterface () | |
Default constructor. More... | |
virtual | ~JOscProbInterface () |
Virtual destructor. More... | |
virtual double | getP (const JOscChannel &channel, const double E, const double costh) const =0 |
Get oscillation probability for a given oscillation channel. More... | |
double | getP (const JOscParameters_t ¶meters, const JOscChannel &channel, const double E, const double costh) const |
Get oscillation probability for a given set of oscillation parameters and a given oscillation channel. More... | |
double | getP (const std::string &name, const double value, const JOscChannel &channel, const double E, const double costh) const |
Get oscillation probability for a given oscillation parameter and a given oscillation channel. More... | |
template<class... Args> | |
double | getP (const std::string &name, const double value, const Args &...args) const |
Get oscillation probability for a given set of oscillation parameters and a given oscillation channel. More... | |
double | operator() (const JOscChannel &channel, const double E, const double costh) const |
Get oscillation probability for a given oscillation channel. More... | |
double | operator() (const JOscParameters_t ¶meters, const JOscChannel &channel, const double E, const double costh) const |
Get oscillation probability for a given set of oscillation parameters and a given oscillation channel. More... | |
double | operator() (const std::string &name, const double value, const JOscChannel &channel, const double E, const double costh) const |
Get oscillation probability for a given oscillation parameter and a given oscillation channel. More... | |
template<class... Args> | |
double | operator() (const std::string &name, const double value, const Args &...args) const |
Get oscillation probability for a given set of oscillation parameters and a given oscillation channel. More... | |
virtual double | getCosth (const double L) const =0 |
Get cosine zenith angle for a given baseline. More... | |
virtual double | getBaseline (const double costh) const =0 |
Get baseline for a given cosine zenith angle. More... | |
virtual void | configure (const JOscParameters_t ¶meters) |
Configure oscillation parameters. More... | |
JOscParameters_t & | getParameters () const |
Get reference to oscillation parameters interface. More... | |
virtual void | set (const std::string &name, argument_type value) const |
Set value for a given oscillation parameter. More... | |
void | set (const std::string &name, argument_type value, const Args &...args) const |
Set value for given list of oscillation parameters. More... | |
void | set (const JOscParameters_t ¶meters) const |
Set oscillation parameters. More... | |
bool | is_valid () const |
Check validity of oscillation parameters. More... | |
virtual clone_type | clone () const override |
Get clone of this object. More... | |
Low-level interface for oscillation probability calculators.
Definition at line 29 of file JOscProbInterface.hh.
Definition at line 36 of file JOscProbInterface.hh.
Definition at line 38 of file JOscProbInterface.hh.
Definition at line 39 of file JOscProbInterface.hh.
Definition at line 40 of file JOscProbInterface.hh.
Definition at line 41 of file JOscProbInterface.hh.
|
inherited |
Definition at line 34 of file JOscParametersHelper.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
|
inlinevirtual |
|
pure virtual |
Get oscillation probability for a given oscillation channel.
channel | oscillation channel |
E | neutrino energy [GeV] |
costh | cosine zenith angle |
|
inline |
Get oscillation probability for a given set of oscillation parameters
and a given oscillation channel.
channel | oscillation channel |
parameters | oscillation parameters |
E | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 81 of file JOscProbInterface.hh.
|
inline |
Get oscillation probability for a given oscillation parameter
and a given oscillation channel.
name | parameter name |
value | parameter value |
channel | oscillation channel |
E | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 103 of file JOscProbInterface.hh.
|
inline |
Get oscillation probability for a given set of oscillation parameters
and a given oscillation channel.
name | parameter name |
value | parameter value |
args | remaining arguments |
Definition at line 124 of file JOscProbInterface.hh.
|
inline |
Get oscillation probability for a given oscillation channel.
channel | oscillation channel |
E | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 142 of file JOscProbInterface.hh.
|
inline |
Get oscillation probability for a given set of oscillation parameters
and a given oscillation channel.
channel | oscillation channel |
parameters | oscillation parameters |
E | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 160 of file JOscProbInterface.hh.
|
inline |
Get oscillation probability for a given oscillation parameter
and a given oscillation channel.
name | parameter name |
value | parameter value |
channel | oscillation channel |
E | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 180 of file JOscProbInterface.hh.
|
inline |
Get oscillation probability for a given set of oscillation parameters
and a given oscillation channel.
name | parameter name |
value | parameter value |
args | remaining arguments |
Definition at line 199 of file JOscProbInterface.hh.
|
pure virtualinherited |
Get cosine zenith angle for a given baseline.
L | baseline [km] |
Implemented in JOSCPROB::JBaselineComputer.
|
pure virtualinherited |
Get baseline for a given cosine zenith angle.
costh | cosine zenith angle |
Implemented in JOSCPROB::JBaselineComputer.
|
inlinevirtualinherited |
Configure oscillation parameters.
parameters | oscillation parameters |
Definition at line 81 of file JOscParametersHelper.hh.
|
inlineinherited |
Get reference to oscillation parameters interface.
Definition at line 101 of file JOscParametersHelper.hh.
|
inlinevirtualinherited |
Set value for a given oscillation parameter.
name | parameter name |
value | parameter value |
Definition at line 119 of file JOscParametersHelper.hh.
|
inlineinherited |
Set value for given list of oscillation parameters.
name | parameter name |
value | parameter value |
args | remaining pairs of parameter names and values |
Definition at line 134 of file JOscParametersHelper.hh.
|
inlineinherited |
Set oscillation parameters.
parameters | oscillation parameters |
Definition at line 148 of file JOscParametersHelper.hh.
|
inlineinherited |
Check validity of oscillation parameters.
Definition at line 168 of file JOscParametersHelper.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.