1#ifndef __JOSCPROB__JOSCPROBTOOLKIT__
2#define __JOSCPROB__JOSCPROBTOOLKIT__
86 static const char*
const energy() {
return "energy"; }
87 static const char*
const log10E() {
return "log10E"; }
88 static const char*
const LoE() {
return "LoE"; }
90 static const char*
const costh() {
return "costh"; }
91 static const char*
const sinth() {
return "sinth"; }
92 static const char*
const L() {
return "L"; }
105 }
else if (name ==
costh()) {
107 }
else if (name ==
sinth()) {
109 }
else if (name ==
log10E()) {
111 }
else if (name ==
LoE()) {
113 }
else if (name ==
L()) {
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Exception for accessing a value in a collection that is outside of its range.
OscProbFlavour_t
OscProb neutrino flavour identifiers.
JFlavour_t
Neutrino flavours.
OscProbFlavour_t getOscProbFlavour(const JFlavour_t flavour)
Auxiliary function for retrieving the OscProb flavour identifier corresponding to a JOscProb flavour ...
JFlavour_t getFlavour(const int pdgType)
Auxiliary function for retrieving the flavour corresponding to a given PDG identifier.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure to hold oscillation variable names.
type
Oscillation variable types.
static const char *const log10E()
logarithmic energy [GeV]
static const char *const costh()
cosine of zenith-angle
static const char *const sinth()
sine of zenith-angle
static type getType(const std::string &name)
Get oscillation variable type.
static const char *const L()
sine of zenith-angle
static const char *const LoE()
L/E [km GeV-1].
static const char *const energy()
energy [GeV]