Jpp  18.6.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
JOSCPROB::JOscParameters< T > Class Template Reference

Data structure for single set of oscillation parameters. More...

#include <JOscParameters.hh>

Inheritance diagram for JOSCPROB::JOscParameters< T >:
JLANG::JClonable< JClonable_t, JDerived_t > JLANG::JObjectStreamIO< T >

Classes

struct  JOscParametersHelper
 Auxiliary class for I/O of oscillation parameters. More...
 

Public Types

typedef
JOscParametersInterface< T
JOscParametersInterface_t
 
typedef JOscParameters< TJOscParameters_t
 
typedef
JOscParametersInterface_t::JOscParameter_t 
JOscParameter_t
 
typedef
JOscParametersInterface_t::JParameter_t 
JParameter_t
 
typedef
JOscParametersInterface_t::argument_type 
argument_type
 
typedef
JOscParametersInterface_t::value_type 
value_type
 
typedef JClonable< JClonable_t >
::clone_type 
clone_type
 

Public Member Functions

 JOscParameters ()
 Default constructor. More...
 
 JOscParameters (const JMassSquaredDifference< T > &dM21sq, const JMassSquaredDifference< T > &dM31sq, const JComplexPhase< T > &deltaCP, const JMixingAngle< T > &theta12, const JMixingAngle< T > &theta13, const JMixingAngle< T > &theta23)
 Constructor. More...
 
 JOscParameters (argument_type dM21sq, argument_type dM31sq, argument_type deltaCP, argument_type theta12, argument_type theta13, argument_type theta23)
 Constructor. More...
 
template<class... Args>
 JOscParameters (const std::string &name, argument_type value, const Args &...args)
 Constructor. More...
 
template<unsigned int N>
 JOscParameters (JArray< N, value_type > &values)
 Constructor. More...
 
 JOscParameters (const bool useIO)
 Constructor. More...
 
virtual JProperties getProperties (const JEquationParameters &equation=JOscParametersInterface_t::getEquationParameters()) override
 Get properties of this class. More...
 
virtual JProperties getProperties (const JEquationParameters &equation=JOscParametersInterface_t::getEquationParameters()) const override
 Get properties of this class. More...
 
virtual clone_type clone () const override
 Get clone of this object. More...
 
void load (const char *file_name)
 Load from input file. More...
 
void store (const char *file_name) const
 Store to output file. More...
 

Public Attributes

JMassSquaredDifference< TdM21sq
 Squared mass difference between the first and second neutrino mass eigenstates [eV2]. More...
 
JMassSquaredDifference< TdM31sq
 Squared mass difference between the first and third neutrino mass eigenstates [eV2]. More...
 
JComplexPhase< TdeltaCP
 PMNS phase angle [rad]. More...
 
JMixingAngle< Ttheta12
 PMNS mixing angle between the first and second neutrino mass eigenstates [rad]. More...
 
JMixingAngle< Ttheta13
 PMNS mixing angle between the first and third neutrino mass eigenstates [rad]. More...
 
JMixingAngle< Ttheta23
 PMNS mixing angle between the second and third neutrino mass eigenstates [rad]. More...
 

Detailed Description

template<class T>
class JOSCPROB::JOscParameters< T >

Data structure for single set of oscillation parameters.

Definition at line 52 of file JOscParameters.hh.

Member Typedef Documentation

Definition at line 58 of file JOscParameters.hh.

Definition at line 59 of file JOscParameters.hh.

Definition at line 61 of file JOscParameters.hh.

Definition at line 62 of file JOscParameters.hh.

Definition at line 64 of file JOscParameters.hh.

Definition at line 65 of file JOscParameters.hh.

template<class JClonable_t, class JDerived_t = JNullType>
typedef JClonable<JClonable_t>::clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone_type
inherited

Definition at line 61 of file JClonable.hh.

Constructor & Destructor Documentation

template<class T>
JOSCPROB::JOscParameters< T >::JOscParameters ( )
inline

Default constructor.

Definition at line 71 of file JOscParameters.hh.

71  :
72  dM21sq (),
73  dM31sq (),
74  deltaCP(),
75  theta12(),
76  theta13(),
77  theta23()
78  {}
JMixingAngle< T > theta13
PMNS mixing angle between the first and third neutrino mass eigenstates [rad].
JMassSquaredDifference< T > dM31sq
Squared mass difference between the first and third neutrino mass eigenstates [eV2].
JMixingAngle< T > theta23
PMNS mixing angle between the second and third neutrino mass eigenstates [rad].
JComplexPhase< T > deltaCP
PMNS phase angle [rad].
JMassSquaredDifference< T > dM21sq
Squared mass difference between the first and second neutrino mass eigenstates [eV2].
JMixingAngle< T > theta12
PMNS mixing angle between the first and second neutrino mass eigenstates [rad].
template<class T>
JOSCPROB::JOscParameters< T >::JOscParameters ( const JMassSquaredDifference< T > &  dM21sq,
const JMassSquaredDifference< T > &  dM31sq,
const JComplexPhase< T > &  deltaCP,
const JMixingAngle< T > &  theta12,
const JMixingAngle< T > &  theta13,
const JMixingAngle< T > &  theta23 
)
inline

Constructor.

Parameters
dM21sqSquared mass difference between the first and second neutrino mass eigenstates [eV2]
dM31sqSquared mass difference between the first and third neutrino mass eigenstates [eV2]
deltaCPPMNS complex phase [rad]
theta12PMNS mixing angle between the first and second neutrino mass eigenstates [rad]
theta13PMNS mixing angle between the first and third neutrino mass eigenstates [rad]
theta23PMNS mixing angle between the second and third neutrino mass eigenstates [rad]

Definition at line 91 of file JOscParameters.hh.

96  :
97  dM21sq (dM21sq),
98  dM31sq (dM31sq),
99  deltaCP(deltaCP),
100  theta12(theta12),
101  theta13(theta13),
102  theta23(theta23)
103  {}
JMixingAngle< T > theta13
PMNS mixing angle between the first and third neutrino mass eigenstates [rad].
JMassSquaredDifference< T > dM31sq
Squared mass difference between the first and third neutrino mass eigenstates [eV2].
JMixingAngle< T > theta23
PMNS mixing angle between the second and third neutrino mass eigenstates [rad].
JComplexPhase< T > deltaCP
PMNS phase angle [rad].
JMassSquaredDifference< T > dM21sq
Squared mass difference between the first and second neutrino mass eigenstates [eV2].
JMixingAngle< T > theta12
PMNS mixing angle between the first and second neutrino mass eigenstates [rad].
template<class T>
JOSCPROB::JOscParameters< T >::JOscParameters ( argument_type  dM21sq,
argument_type  dM31sq,
argument_type  deltaCP,
argument_type  theta12,
argument_type  theta13,
argument_type  theta23 
)
inlineexplicit

Constructor.

Parameters
dM21sqSquared mass difference between the first and second neutrino mass eigenstates [eV2]
dM31sqSquared mass difference between the first and third neutrino mass eigenstates [eV2]
deltaCPPMNS complex phase [rad]
theta12PMNS mixing angle between the first and second neutrino mass eigenstates [rad]
theta13PMNS mixing angle between the first and third neutrino mass eigenstates [rad]
theta23PMNS mixing angle between the second and third neutrino mass eigenstates [rad]

Definition at line 116 of file JOscParameters.hh.

121  :
122  dM21sq (dM21sq),
123  dM31sq (dM31sq),
124  deltaCP(deltaCP),
125  theta12(theta12),
126  theta13(theta13),
128  {}
JMixingAngle< T > theta13
PMNS mixing angle between the first and third neutrino mass eigenstates [rad].
JMassSquaredDifference< T > dM31sq
Squared mass difference between the first and third neutrino mass eigenstates [eV2].
JMixingAngle< T > theta23
PMNS mixing angle between the second and third neutrino mass eigenstates [rad].
JComplexPhase< T > deltaCP
PMNS phase angle [rad].
JMassSquaredDifference< T > dM21sq
Squared mass difference between the first and second neutrino mass eigenstates [eV2].
JMixingAngle< T > theta12
PMNS mixing angle between the first and second neutrino mass eigenstates [rad].
template<class T>
template<class... Args>
JOSCPROB::JOscParameters< T >::JOscParameters ( const std::string &  name,
argument_type  value,
const Args &...  args 
)
inline

Constructor.

Parameters
nameparameter name
valueparameter value
argsremaining pairs of parameter names and values

Definition at line 139 of file JOscParameters.hh.

142  {
143  this->set(name, value, args...);
144  }
then fatal The output file must have the wildcard in the name
Definition: JCanberra.sh:31
template<class T>
template<unsigned int N>
JOSCPROB::JOscParameters< T >::JOscParameters ( JArray< N, value_type > &  values)
inline

Constructor.

Parameters
valuesarray with oscillation parameter values

Definition at line 153 of file JOscParameters.hh.

153  :
154  dM21sq (values[0]),
155  dM31sq (values[1]),
156  deltaCP(values[2]),
157  theta12(values[3]),
158  theta13(values[4]),
159  theta23(values[5])
160  {}
JMixingAngle< T > theta13
PMNS mixing angle between the first and third neutrino mass eigenstates [rad].
JMassSquaredDifference< T > dM31sq
Squared mass difference between the first and third neutrino mass eigenstates [eV2].
JMixingAngle< T > theta23
PMNS mixing angle between the second and third neutrino mass eigenstates [rad].
JComplexPhase< T > deltaCP
PMNS phase angle [rad].
JMassSquaredDifference< T > dM21sq
Squared mass difference between the first and second neutrino mass eigenstates [eV2].
JMixingAngle< T > theta12
PMNS mixing angle between the first and second neutrino mass eigenstates [rad].
possible values
template<class T>
JOSCPROB::JOscParameters< T >::JOscParameters ( const bool  useIO)
inline

Constructor.

Values taken from the NuFIT 5.0 three-flavour global analysis best fit values reported in:
https://link.springer.com/article/10.1007/JHEP09(2020)178 including the Super-Kamiokande atmospheric data.

Parameters
useIOtoggle inverted ordering

Definition at line 172 of file JOscParameters.hh.

172  :
174  JMassSquaredDifference<T>::make_parameter( useIO ? -2.498e-3 + 7.42e-5 : 2.517e-3 ),
175  JComplexPhase<T>::make_parameter ( useIO ? 4.92 : 3.44 ),
176  JMixingAngle<T>::make_parameter ( useIO ? 0.5838 : 0.5836 ),
178  JMixingAngle<T>::make_parameter ( useIO ? 0.860 : 0.859 ) )
179  {}
JOscParameters()
Default constructor.
Implementation of oscillation complex phase.
Implementation of mass-squared difference.
Implementation of oscillation mixing angle.
Definition: JMixingAngle.hh:27

Member Function Documentation

template<class T>
virtual JProperties JOSCPROB::JOscParameters< T >::getProperties ( const JEquationParameters equation = JOscParametersInterface_t::getEquationParameters())
inlineoverridevirtual

Get properties of this class.

Parameters
equationequation parameters

Definition at line 187 of file JOscParameters.hh.

188  {
189  return JOscParametersHelper(*this, equation);
190  }
Helper class for oscillation parameters.
template<class T>
virtual JProperties JOSCPROB::JOscParameters< T >::getProperties ( const JEquationParameters equation = JOscParametersInterface_t::getEquationParameters()) const
inlineoverridevirtual

Get properties of this class.

Parameters
equationequation parameters

Definition at line 198 of file JOscParameters.hh.

199  {
200  return JOscParametersHelper(*this, equation);
201  }
Helper class for oscillation parameters.
template<class JClonable_t, class JDerived_t = JNullType>
virtual clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone ( ) const
inlineoverridevirtualinherited
template<class T>
void JLANG::JObjectStreamIO< T >::load ( const char *  file_name)
inlineinherited

Load from input file.

Parameters
file_namefile name

Definition at line 30 of file JObjectStreamIO.hh.

31  {
32  JLANG::load<std::ifstream>(file_name, static_cast<T&>(*this));
33  }
do set_variable OUTPUT_DIRECTORY $WORKDIR T
template<class T>
void JLANG::JObjectStreamIO< T >::store ( const char *  file_name) const
inlineinherited

Store to output file.

Parameters
file_namefile name

Definition at line 41 of file JObjectStreamIO.hh.

42  {
43  JLANG::store<std::ofstream>(file_name, static_cast<const T&>(*this));
44  }
do set_variable OUTPUT_DIRECTORY $WORKDIR T

Member Data Documentation

template<class T>
JMassSquaredDifference<T> JOSCPROB::JOscParameters< T >::dM21sq

Squared mass difference between the first and second neutrino mass eigenstates [eV2].

Definition at line 204 of file JOscParameters.hh.

template<class T>
JMassSquaredDifference<T> JOSCPROB::JOscParameters< T >::dM31sq

Squared mass difference between the first and third neutrino mass eigenstates [eV2].

Definition at line 205 of file JOscParameters.hh.

template<class T>
JComplexPhase<T> JOSCPROB::JOscParameters< T >::deltaCP

PMNS phase angle [rad].

Definition at line 206 of file JOscParameters.hh.

template<class T>
JMixingAngle<T> JOSCPROB::JOscParameters< T >::theta12

PMNS mixing angle between the first and second neutrino mass eigenstates [rad].

Definition at line 207 of file JOscParameters.hh.

template<class T>
JMixingAngle<T> JOSCPROB::JOscParameters< T >::theta13

PMNS mixing angle between the first and third neutrino mass eigenstates [rad].

Definition at line 208 of file JOscParameters.hh.

template<class T>
JMixingAngle<T> JOSCPROB::JOscParameters< T >::theta23

PMNS mixing angle between the second and third neutrino mass eigenstates [rad].

Definition at line 209 of file JOscParameters.hh.


The documentation for this class was generated from the following file: