Jpp master_rocky-44-g75b7c4f75
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. | |
JOscProbInterface (const JOscParameterReferences_t ¶meters) | |
Constructor. | |
template<class ... Args> | |
JOscProbInterface (const JOscParameterReferences_t ¶meters, const std::string &name, double &value, const Args &...args) | |
Constructor. | |
virtual | ~JOscProbInterface () |
Virtual destructor. | |
virtual double | getP (const JOscChannel &channel, const double E, const double costh) const =0 |
Get oscillation probability for a given oscillation channel. | |
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. | |
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. | |
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. | |
double | operator() (const JOscChannel &channel, const double E, const double costh) const |
Get oscillation probability for a given oscillation channel. | |
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. | |
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. | |
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. | |
double | getMinimumBaseline () const |
Get minimum baseline. | |
double | getMaximumBaseline () const |
Get maximum baseline. | |
double | getInnerRadius () const |
Get inner radius. | |
double | getOuterRadius () const |
Get outer radius. | |
double | getCosth (const double L) const |
Get cosine zenith angle for a given baseline. | |
double | getBaseline (const double costh) const |
Get baseline for a given cosine zenith angle. | |
double | operator() (const double costh) const |
Get baseline for a given cosine zenith angle. | |
void | configure (const pointer_type &p) |
Configure oscillation parameters. | |
void | configure (const JOscParameters_t ¶meters) |
Configure oscillation parameters. | |
JOscParameters_t & | getParameters () const |
Get reference to oscillation parameters interface. | |
JOscParameters_t * | get () const |
Get pointer to oscillation parameters interface. | |
JOscParameter_t & | get (const std::string &name) const |
Get oscillation parameter. | |
void | set (const std::string &name, const value_type &value) const |
Set value for a given oscillation parameter. | |
void | set (const std::string &name, const value_type &value, const Args &...args) const |
Set value for given list of oscillation parameters. | |
void | set (const JOscParametersInterface< value_type > ¶meters) const |
Set oscillation parameters. | |
bool | is_valid () const |
Check validity of oscillation parameters. | |
virtual clone_type | clone () const override |
Get clone of this object. | |
Protected Attributes | |
double | Lmin |
Minimum baseline [km]. | |
double | Lmax |
Maximum baseline [km]. | |
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 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 JPHYSICS::JPD0Transformer_t< JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer_t< JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, and JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer.
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.