1 #ifndef __JOSCPROB__JOSCPROBTOOLKIT__
2 #define __JOSCPROB__JOSCPROBTOOLKIT__
17 namespace JPP {
using namespace JOSCPROB; }
41 case JFlavour_t::ELECTRON:
42 return OscProbFlavour_t::ELECTRON;
43 case JFlavour_t::MUON:
44 return OscProbFlavour_t::MUON;
46 return OscProbFlavour_t::TAU;
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()) {
static const char *const LoE()
L/E [km GeV-1].
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
OscProbFlavour_t getOscProbFlavour(const JFlavour_t flavour)
Auxiliary function for retrieving the OscProb flavour identifier corresponding to a JOscProb flavour ...
type
Oscillation variable types.
JFlavour_t
Neutrino flavours.
then fatal The output file must have the wildcard in the name
static type getType(const std::string &name)
Get oscillation variable type.
static const char *const log10E()
logarithmic energy [GeV]
static const char *const sinth()
sine of zenith-angle
OscProbFlavour_t
OscProb neutrino flavour identifiers.
Exception for accessing a value in a collection that is outside of its range.
static const char *const L()
sine of zenith-angle
JFlavour_t getFlavour(const int pdgType)
Auxiliary function for retrieving the flavour corresponding to a given PDG identifier.
static const char *const costh()
cosine of zenith-angle
static const char *const energy()
energy [GeV]
Auxiliary data structure to hold oscillation variable names.