Jpp
18.6.0-rc.1
the software that should make you happy
|
Helper class for oscillation probabilities. More...
#include <JOscProbHelper.hh>
Public Types | |
typedef JOscProbInterface::JOscParameters_t | JOscParameters_t |
typedef JOscProbInterface::JOscParameterReferences_t | JOscParameterReferences_t |
typedef JOscProbInterface::JParameter_t | JParameter_t |
typedef JOscProbInterface::argument_type | argument_type |
typedef JOscProbInterface::value_type | value_type |
Public Member Functions | |
JOscProbHelper () | |
Default constructor. More... | |
JOscProbHelper (JOscProbInterface *pOscProb) | |
Constructor. More... | |
JOscProbHelper (const JOscProbInterface &oscProb) | |
Constructor. More... | |
void | configure (const JOscProbInterface &oscProb) |
Configure oscillation probability function. More... | |
JOscProbInterface & | getOscProbInterface () const |
Get reference to oscillation probability interface. More... | |
JOscParameterReferences_t & | getParameters () const |
Get reference to oscillation parameters interface. More... | |
void | set (const JOscParameters_t ¶meters) const |
Set oscillation parameters. More... | |
virtual void | set (const std::string &name, const value_type &value) const |
Set value for a given oscillation parameter. More... | |
template<class... Args> | |
void | set (const std::string &name, const value_type &value, const Args &...args) const |
Set value for given list of oscillation parameters. More... | |
double | getP (const JOscChannel &channel, const double energy, const double costh) const |
Get oscillation probability corresponding to given oscillation channel, neutrino energy and zenith angle. More... | |
double | getP (const JOscParameters_t ¶meters, const JOscChannel &channel, const double energy, 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... | |
virtual double | getCosth (const double L) const |
Get cosine zenith angle for a given baseline. More... | |
virtual double | getBaseline (const double costh) const |
Get baseline for a given cosine zenith angle. More... | |
Helper class for oscillation probabilities.
Definition at line 25 of file JOscProbHelper.hh.
Definition at line 28 of file JOscProbHelper.hh.
typedef JOscProbInterface::JOscParameterReferences_t JOSCPROB::JOscProbHelper::JOscParameterReferences_t |
Definition at line 29 of file JOscProbHelper.hh.
Definition at line 30 of file JOscProbHelper.hh.
Definition at line 32 of file JOscProbHelper.hh.
Definition at line 33 of file JOscProbHelper.hh.
|
inline |
|
inline |
Constructor.
pOscProb | pointer to oscillation probability function |
Definition at line 48 of file JOscProbHelper.hh.
|
inline |
Constructor.
oscProb | oscillation probability function |
Definition at line 58 of file JOscProbHelper.hh.
|
inline |
Configure oscillation probability function.
oscProb | oscillation probability function |
Definition at line 69 of file JOscProbHelper.hh.
|
inline |
Get reference to oscillation probability interface.
Definition at line 80 of file JOscProbHelper.hh.
|
inline |
Get reference to oscillation parameters interface.
Definition at line 97 of file JOscProbHelper.hh.
|
inline |
Set oscillation parameters.
parameters | oscillation parameters |
Definition at line 108 of file JOscProbHelper.hh.
|
inlinevirtual |
Set value for a given oscillation parameter.
name | parameter name |
value | parameter value |
Definition at line 120 of file JOscProbHelper.hh.
|
inline |
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 135 of file JOscProbHelper.hh.
|
inline |
Get oscillation probability corresponding to given oscillation channel, neutrino energy and zenith angle.
channel | oscillation channel |
energy | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 152 of file JOscProbHelper.hh.
|
inline |
Get oscillation probability for a given set of oscillation parameters
and a given oscillation channel.
channel | oscillation channel |
parameters | oscillation parameters |
energy | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 170 of file JOscProbHelper.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 190 of file JOscProbHelper.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 209 of file JOscProbHelper.hh.
|
inlinevirtual |
Get cosine zenith angle for a given baseline.
L | baseline [km] |
Definition at line 223 of file JOscProbHelper.hh.
|
inlinevirtual |
Get baseline for a given cosine zenith angle.
costh | cosine zenith angle |
Definition at line 235 of file JOscProbHelper.hh.