21 int main(
int argc,
char **argv)
36 zap[
'f'] =
make_field(inputFile,
"8D oscillation probability table file");
37 zap[
'x'] =
make_field(interpolationValues,
"Map of interpolation values in (energy [GeV], cos(theta))")
39 zap[
'@'] =
make_field(parameters,
"Oscillation parameters")
41 zap[
'#'] =
make_field(channel,
"Oscillation channel")
42 =
JOscChannel(JFlavour_t::MUON, JFlavour_t::MUON, JChargeParity_t::PARTICLE);
48 catch (
const exception& error) {
49 FATAL(error.what() << endl);
56 RIGHT(15) <<
"cos(theta)" <<
57 RIGHT(15) <<
"P" << endl);
61 const double energy = i->first;
62 const double costh = i->second;
64 const double oscProb = interpolator.
getP(channel, energy, costh);
67 FIXED(15,3) << costh <<
General purpose messaging.
#define DEBUG(A)
Message macros.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
I/O formatting auxiliaries.
Data structure for single set of oscillation parameters.
Template definition of a multi-dimensional oscillation probability interpolation table.
double getP(const JOscChannel &channel, const double E, const double costh) const override final
Get oscillation probability for a given oscillation channel.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for floating point format specification.
Neutrino oscillation channel.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...