Jpp  19.1.0-rc.1
the software that should make you happy
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< T > JOscParameters_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< T > dM21sq
 Squared mass difference between the first and second neutrino mass eigenstates [eV2]. More...
 
JMassSquaredDifference< T > dM31sq
 Squared mass difference between the first and third neutrino mass eigenstates [eV2]. More...
 
JComplexPhase< T > deltaCP
 PMNS phase angle [rad]. More...
 
JMixingAngle< T > theta12
 PMNS mixing angle between the first and second neutrino mass eigenstates [rad]. More...
 
JMixingAngle< T > theta13
 PMNS mixing angle between the first and third neutrino mass eigenstates [rad]. More...
 
JMixingAngle< T > theta23
 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 49 of file JOscParameters.hh.

Member Typedef Documentation

◆ JOscParametersInterface_t

Definition at line 55 of file JOscParameters.hh.

◆ JOscParameters_t

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

Definition at line 56 of file JOscParameters.hh.

◆ JOscParameter_t

Definition at line 58 of file JOscParameters.hh.

◆ JParameter_t

Definition at line 59 of file JOscParameters.hh.

◆ argument_type

Definition at line 61 of file JOscParameters.hh.

◆ value_type

Definition at line 62 of file JOscParameters.hh.

◆ clone_type

template<class JClonable_t , class JDerived_t >
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

◆ JOscParameters() [1/6]

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

Default constructor.

Definition at line 68 of file JOscParameters.hh.

68  :
69  dM21sq (),
70  dM31sq (),
71  deltaCP(),
72  theta12(),
73  theta13(),
74  theta23()
75  {}
JMixingAngle< T > theta23
PMNS mixing angle between the second and third neutrino mass eigenstates [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].
JMassSquaredDifference< T > dM31sq
Squared mass difference between the first and third neutrino mass eigenstates [eV2].
JMixingAngle< T > theta13
PMNS mixing angle between the first and third neutrino mass eigenstates [rad].
JComplexPhase< T > deltaCP
PMNS phase angle [rad].

◆ JOscParameters() [2/6]

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 88 of file JOscParameters.hh.

93  :
94  dM21sq (dM21sq),
95  dM31sq (dM31sq),
100  {}

◆ JOscParameters() [3/6]

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 113 of file JOscParameters.hh.

118  :
119  dM21sq (dM21sq),
120  dM31sq (dM31sq),
121  deltaCP(deltaCP),
122  theta12(theta12),
123  theta13(theta13),
125  {}

◆ JOscParameters() [4/6]

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 136 of file JOscParameters.hh.

139  {
140  this->set(name, value, args...);
141  }

◆ JOscParameters() [5/6]

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 150 of file JOscParameters.hh.

150  :
151  dM21sq (values[0]),
152  dM31sq (values[1]),
153  deltaCP(values[2]),
154  theta12(values[3]),
155  theta13(values[4]),
156  theta23(values[5])
157  {}

◆ JOscParameters() [6/6]

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 169 of file JOscParameters.hh.

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

Member Function Documentation

◆ getProperties() [1/2]

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 184 of file JOscParameters.hh.

185  {
186  return JOscParametersHelper(*this, equation);
187  }
Helper class for oscillation parameters.

◆ getProperties() [2/2]

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 195 of file JOscParameters.hh.

196  {
197  return JOscParametersHelper(*this, equation);
198  }

◆ clone()

template<class JClonable_t , class JDerived_t >
virtual clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone ( ) const
inlineoverridevirtualinherited

◆ load()

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  }

◆ store()

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  }

Member Data Documentation

◆ dM21sq

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

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

Definition at line 201 of file JOscParameters.hh.

◆ dM31sq

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

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

Definition at line 202 of file JOscParameters.hh.

◆ deltaCP

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

PMNS phase angle [rad].

Definition at line 203 of file JOscParameters.hh.

◆ theta12

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

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

Definition at line 204 of file JOscParameters.hh.

◆ theta13

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

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

Definition at line 205 of file JOscParameters.hh.

◆ theta23

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

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

Definition at line 206 of file JOscParameters.hh.


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