1 #ifndef __JOSCPROB__JOSCPARAMETERS__
2 #define __JOSCPROB__JOSCPARAMETERS__
17 namespace JPP {
using namespace JOSCPROB; }
125 object.setProperties(properties);
140 return out <<
object.getProperties();
227 template<
class JOscParameters_t>
JOscParameters(const double sinsqTh12, const double dM21sq, const double sinsqTh13, const double dM31sq, const double sinsqTh23, const double deltaCP)
Constructor.
JOscParametersHelper(JOscParameters_t &object, const JEquationParameters &equation)
Constructor.
#define gmake_property(A)
macro to convert (template) parameter to JPropertiesElement object
Utility class to parse parameter values.
Data structure for oscillation parameters.
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
friend std::istream & operator>>(std::istream &in, JOscParameters &object)
Stream input of oscillation parameters.
Simple data structure to support I/O of equations (see class JLANG::JEquation).
double sinsqTh23
Squared sine of the PMNS mixing angle between the second and third neutrino mass eigenstates [-]...
Utility class to parse parameter values.
JProperties getProperties(const JEquationParameters &equation=JOscParameters::getEquationParameters())
Get properties of this class.
JOscParameters()
Default constructor.
double deltaCP
PMNS phase angle [pi * rad].
const T & getValue(const std::string &key) const
Get value.
double dM31sq
Squared mass difference between the first and third neutrino mass eigenstates [eV2].
I/O formatting auxiliaries.
void setOscParameters(const JOscParameters ¶meters)
Set oscillation parameters.
double sinsqTh12
Squared sine of the PMNS mixing angle between the first and second neutrino mass eigenstates [-]...
void setProperties(const JProperties &properties)
Set properties of this class.
double dM21sq
Squared mass difference between the first and second neutrino mass eigenstates [eV2].
static void setEquationParameters(const JEquationParameters &equation)
Set equation parameters.
bool is_valid() const
Check validity of oscillation parameters.
static JEquationParameters & getEquationParameters()
Get equation parameters.
friend std::ostream & operator<<(std::ostream &out, const JOscParameters &object)
Stream output of oscillation parameters.
const JOscParameters & getOscParameters() const
Get oscillation parameters.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
JProperties getProperties(const JEquationParameters &equation=JOscParameters::getEquationParameters()) const
Get properties of this class.
double sinsqTh13
Squared sine of the PMNS mixing angle between the first and third neutrino mass eigenstates [-]...
Auxiliary class for I/O of oscillation parameters.