Jpp 19.3.0-rc.3
the software that should make you happy
|
Auxiliary class for creating oscillograms. More...
#include <JOscillogram.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 |
typedef std::shared_ptr< JOscProbInterface > | pointer_type |
Public Member Functions | |
JOscillogram (const JOscillogramAxis &abscissa, const JOscillogramAxis &ordinate, const JOscChannel &channel, const JOscProbInterface &oscprob) | |
Constructor. | |
JOscillogram (const std::string &abscissaName, const JGrid< double > abscissaBinning, const std::string &ordinateName, const JGrid< double > ordinateBinning, const JOscChannel &channel, const JOscProbInterface &oscprob) | |
Constructor. | |
double | getEnergy (const int i, const int j) const |
Get energy corrresponding to the given bin indices. | |
double | getCosth (const int i, const int j) const |
Get cosine zenith angle corrresponding to the given bin indices. | |
double | getP (const int i, const int j) const |
Get oscillation probability for given bin indices. | |
void | configure (const pointer_type &pOscProb) |
Configure oscillation probability function. | |
void | configure (const JOscProbInterface &oscProb) |
Configure oscillation probability function. | |
JOscProbInterface & | getOscProbInterface () const |
Get reference to oscillation probability interface. | |
JOscParameterReferences_t & | getParameters () const |
Get reference to oscillation parameters interface. | |
void | set (const JOscParameters_t ¶meters) const |
Set oscillation parameters. | |
void | set (const std::string &name, const value_type &value) const |
Set value for a given oscillation parameter. | |
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. | |
double | getBaseline (const double costh) const |
Get baseline for a given cosine zenith angle. | |
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. | |
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. | |
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. | |
JProperties | getProperties (const JEquationParameters &eqpars=JOscProbInterface::getEquationParameters()) |
Get properties of this class. | |
JProperties | getProperties (const JEquationParameters &eqpars=JOscProbInterface::getEquationParameters()) const |
Get properties of this class. | |
Private Member Functions | |
std::pair< double, double > | getTransformation (const int i, const int j) const |
Get energy and cosine zenith angle corresponding to the given bin indices. | |
double | getCosth (const double L) const |
Get cosine zenith angle for a given baseline. | |
Private Attributes | |
JOscillogramAxis | abscissa |
Abscissa axis. | |
JOscillogramAxis | ordinate |
Ordinate axis. | |
JOscChannel | channel |
Oscillation channel. | |
Auxiliary class for creating oscillograms.
Definition at line 80 of file JOscillogram.hh.
Definition at line 33 of file JOscProbHelper.hh.
|
inherited |
Definition at line 34 of file JOscProbHelper.hh.
Definition at line 35 of file JOscProbHelper.hh.
Definition at line 37 of file JOscProbHelper.hh.
Definition at line 38 of file JOscProbHelper.hh.
|
inherited |
Definition at line 40 of file JOscProbHelper.hh.
|
inline |
Constructor.
abscissa | oscillogram abscissa axis definition |
ordinate | oscillogram ordinate axis definition |
channel | oscillation channel |
oscprob | oscillation probability calculator |
Definition at line 91 of file JOscillogram.hh.
|
inline |
Constructor.
abscissaName | oscillogram abscissa variable name |
abscissaBinning | oscillogram abscissa binning |
ordinateName | oscillogram ordinate variable name |
ordinateBinning | oscillogram ordinate binning |
channel | oscillation channel |
oscprob | oscillation probability calculator |
Definition at line 112 of file JOscillogram.hh.
|
inline |
Get energy corrresponding to the given bin indices.
i | abscissa bin index |
j | ordinate bin index |
Definition at line 132 of file JOscillogram.hh.
|
inline |
Get cosine zenith angle corrresponding to the given bin indices.
i | abscissa bin index |
j | ordinate bin index |
Definition at line 147 of file JOscillogram.hh.
|
inline |
Get oscillation probability for given bin indices.
i | abscissa bin index |
j | ordinate bin index |
Definition at line 161 of file JOscillogram.hh.
|
inlineprivate |
Get energy and cosine zenith angle corresponding to the given bin indices.
i | abscissa bin index |
j | ordinate bin index |
Definition at line 180 of file JOscillogram.hh.
|
inlineprivate |
Get cosine zenith angle for a given baseline.
L | baseline [km] |
Definition at line 167 of file JOscProbHelper.hh.
|
inlineinherited |
Configure oscillation probability function.
pOscProb | shared pointer to oscillation probability function |
Definition at line 76 of file JOscProbHelper.hh.
|
inlineinherited |
Configure oscillation probability function.
oscProb | oscillation probability function |
Definition at line 87 of file JOscProbHelper.hh.
|
inlineinherited |
Get reference to oscillation probability interface.
Definition at line 98 of file JOscProbHelper.hh.
|
inlineinherited |
Get reference to oscillation parameters interface.
Definition at line 115 of file JOscProbHelper.hh.
|
inlineinherited |
Set oscillation parameters.
parameters | oscillation parameters |
Definition at line 126 of file JOscProbHelper.hh.
|
inlineinherited |
Set value for a given oscillation parameter.
name | parameter name |
value | parameter value |
Definition at line 138 of file JOscProbHelper.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 153 of file JOscProbHelper.hh.
|
inlineinherited |
Get baseline for a given cosine zenith angle.
costh | cosine zenith angle |
Definition at line 179 of file JOscProbHelper.hh.
|
inlineinherited |
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 194 of file JOscProbHelper.hh.
|
inlineinherited |
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 212 of file JOscProbHelper.hh.
|
inlineinherited |
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 232 of file JOscProbHelper.hh.
|
inlineinherited |
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 251 of file JOscProbHelper.hh.
|
inlineinherited |
Get properties of this class.
eqpars | equation parameters |
Definition at line 264 of file JOscProbHelper.hh.
|
inlineinherited |
Get properties of this class.
eqpars | equation parameters |
Definition at line 275 of file JOscProbHelper.hh.
|
private |
Abscissa axis.
Definition at line 230 of file JOscillogram.hh.
|
private |
Ordinate axis.
Definition at line 231 of file JOscillogram.hh.
|
private |
Oscillation channel.
Definition at line 233 of file JOscillogram.hh.