Jpp
19.1.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 JOscParametersInterface< double > | JOscParameters_t |
typedef JOscParametersInterface< double & > | JOscParameterReferences_t |
typedef JOscParameters_t::JOscParameter_t | JOscParameter_t |
typedef JOscParameters_t::JParameter_t | JParameter_t |
typedef JOscParameters_t::argument_type | argument_type |
typedef JOscParameters_t::value_type | value_type |
typedef std::shared_ptr< JOscParameters_t > | pointer_type |
typedef JClonable< JClonable_t >::clone_type | clone_type |
Public Member Functions | |
JOscProbInterface () | |
Default constructor. More... | |
JOscProbInterface (const JOscParameterReferences_t ¶meters) | |
Constructor. More... | |
template<class ... Args> | |
JOscProbInterface (const JOscParameterReferences_t ¶meters, const std::string &name, double &value, const Args &...args) | |
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... | |
double | getMinimumBaseline () const |
Get minimum baseline. More... | |
double | getMaximumBaseline () const |
Get maximum baseline. More... | |
double | getInnerRadius () const |
Get inner radius. More... | |
double | getOuterRadius () const |
Get outer radius. More... | |
double | getCosth (const double L) const |
Get cosine zenith angle for a given baseline. More... | |
double | getBaseline (const double costh) const |
Get baseline for a given cosine zenith angle. More... | |
double | operator() (const double costh) const |
Get baseline for a given cosine zenith angle. More... | |
void | configure (const pointer_type &p) |
Configure oscillation parameters. More... | |
void | configure (const JOscParameters_t ¶meters) |
Configure oscillation parameters. More... | |
JOscParameters_t & | getParameters () const |
Get reference to oscillation parameters interface. More... | |
JOscParameters_t * | get () const |
Get pointer to oscillation parameters interface. More... | |
JOscParameter_t & | get (const std::string &name) const |
Get oscillation parameter. More... | |
void | set (const std::string &name, const value_type &value) const |
Set value for a given oscillation parameter. More... | |
void | set (const std::string &name, const value_type &value, const Args &...args) const |
Set value for given list of oscillation parameters. More... | |
void | set (const JOscParametersInterface< value_type > ¶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... | |
Protected Attributes | |
double | Lmin |
Minimum baseline [km]. More... | |
double | Lmax |
Maximum baseline [km]. More... | |
Low-level interface for oscillation probability calculators.
Definition at line 29 of file JOscProbInterface.hh.
typedef JOscParametersHelper<double&> JOSCPROB::JOscProbInterface::JOscParametersHelper_t |
Definition at line 36 of file JOscProbInterface.hh.
typedef JOscParametersInterface<double> JOSCPROB::JOscProbInterface::JOscParameters_t |
Definition at line 38 of file JOscProbInterface.hh.
Definition at line 39 of file JOscProbInterface.hh.
Definition at line 41 of file JOscProbInterface.hh.
Definition at line 42 of file JOscProbInterface.hh.
|
inherited |
Definition at line 33 of file JOscParametersHelper.hh.
|
inherited |
Definition at line 34 of file JOscParametersHelper.hh.
|
inherited |
Definition at line 36 of file JOscParametersHelper.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inline |
|
inline |
Constructor.
parameters | oscillation parameters |
Definition at line 57 of file JOscProbInterface.hh.
|
inline |
Constructor.
parameters | oscillation parameters |
name | parameter name |
value | parameter value |
args | remaining pairs of parameter names and values |
Definition at line 71 of file JOscProbInterface.hh.
|
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 109 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 131 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 152 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 170 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 188 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 208 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 227 of file JOscProbInterface.hh.
|
inlineinherited |
Get minimum baseline.
Definition at line 52 of file JBaselineComputer.hh.
|
inlineinherited |
Get maximum baseline.
Definition at line 63 of file JBaselineComputer.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get cosine zenith angle for a given baseline.
L | baseline [km] |
Definition at line 97 of file JBaselineComputer.hh.
|
inlineinherited |
Get baseline for a given cosine zenith angle.
costh | cosine zenith angle |
Definition at line 112 of file JBaselineComputer.hh.
|
inlineinherited |
Get baseline for a given cosine zenith angle.
costh | cosine zenith angle |
Definition at line 129 of file JBaselineComputer.hh.
|
inlineinherited |
Configure oscillation parameters.
p | shared pointer to oscillation parameters |
Definition at line 94 of file JOscParametersHelper.hh.
|
inlineinherited |
Configure oscillation parameters.
parameters | oscillation parameters |
Definition at line 105 of file JOscParametersHelper.hh.
|
inlineinherited |
Get reference to oscillation parameters interface.
Definition at line 125 of file JOscParametersHelper.hh.
|
inlineinherited |
Get pointer to oscillation parameters interface.
Definition at line 142 of file JOscParametersHelper.hh.
|
inlineinherited |
Get oscillation parameter.
name | parameter name |
Definition at line 154 of file JOscParametersHelper.hh.
|
inlineinherited |
Set value for a given oscillation parameter.
name | parameter name |
value | parameter value |
Definition at line 167 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 182 of file JOscParametersHelper.hh.
|
inlineinherited |
Set oscillation parameters.
parameters | oscillation parameters |
Definition at line 196 of file JOscParametersHelper.hh.
|
inlineinherited |
Check validity of oscillation parameters.
Definition at line 217 of file JOscParametersHelper.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.
|
protectedinherited |
Minimum baseline [km].
Definition at line 165 of file JBaselineComputer.hh.
|
protectedinherited |
Maximum baseline [km].
Definition at line 166 of file JBaselineComputer.hh.