Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
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.
 
 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.
 
 JOscParameters (argument_type dM21sq, argument_type dM31sq, argument_type deltaCP, argument_type theta12, argument_type theta13, argument_type theta23)
 Constructor.
 
template<class ... Args>
 JOscParameters (const std::string &name, argument_type value, const Args &...args)
 Constructor.
 
template<unsigned int N>
 JOscParameters (JArray< N, value_type > &values)
 Constructor.
 
 JOscParameters (const bool useIO)
 Constructor.
 
virtual JProperties getProperties (const JEquationParameters &equation=JOscParametersInterface_t::getEquationParameters()) override
 Get properties of this class.
 
virtual JProperties getProperties (const JEquationParameters &equation=JOscParametersInterface_t::getEquationParameters()) const override
 Get properties of this class.
 
virtual clone_type clone () const override
 Get clone of this object.
 
void load (const char *file_name)
 Load from input file.
 
void store (const char *file_name) const
 Store to output file.
 

Public Attributes

JMassSquaredDifference< T > dM21sq
 Squared mass difference between the first and second neutrino mass eigenstates [eV2].
 
JMassSquaredDifference< T > dM31sq
 Squared mass difference between the first and third neutrino mass eigenstates [eV2].
 
JComplexPhase< T > deltaCP
 PMNS phase angle [rad].
 
JMixingAngle< T > theta12
 PMNS mixing angle between the first and second neutrino mass eigenstates [rad].
 
JMixingAngle< T > theta13
 PMNS mixing angle between the first and third neutrino mass eigenstates [rad].
 
JMixingAngle< T > theta23
 PMNS mixing angle between the second and third neutrino mass eigenstates [rad].
 

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

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

Definition at line 55 of file JOscParameters.hh.

◆ JOscParameters_t

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

Definition at line 56 of file JOscParameters.hh.

◆ JOscParameter_t

template<class T >
JOscParametersInterface_t::JOscParameter_t JOSCPROB::JOscParameters< T >::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 >
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),
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 :
170 JOscParameters( JMassSquaredDifference<T>( 7.42e-5 ),
171 JMassSquaredDifference<T>( useIO ? -2.498e-3 + 7.42e-5 : 2.517e-3 ),
172 JComplexPhase<T> ( useIO ? 4.92 : 3.44 ),
173 JMixingAngle<T> ( useIO ? 0.5838 : 0.5836 ),
174 JMixingAngle<T> ( 0.150 ),
175 JMixingAngle<T> ( useIO ? 0.860 : 0.859 ) )
176 {}
JOscParameters()
Default constructor.

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 }

◆ 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 }
void load(const std::string &file_name, T &object)
Load object from input file.
Definition JObjectIO.hh:55

◆ 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 }
void store(const std::string &file_name, const T &object)
Store object to output file.
Definition JObjectIO.hh:68

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: