1 #ifndef __JOSCPROB__JOSCPROBFUNCTION__
2 #define __JOSCPROB__JOSCPROBFUNCTION__
16 namespace JPP {
using namespace JOSCPROB; }
29 template<
class JFunction_t>
31 public JClonable<JOscProbInterface, JOscProbFunction<JFunction_t> >
52 function.setParameters(parameters);
64 return function.getCosth(L);
76 return function.getBaseline(costh);
90 const double costh)
const override
92 return function.getP(channel, energy, costh);
108 template<
class JFunction_t>
double getCosth(const double L) const override
Get cosine zenith angle for a given baseline.
Implementation of oscillation probability function interface.
Neutrino oscillation channel.
JFunction_t function
oscillation probability function
*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
double getBaseline(const double costh) const override
Get baseline for a given cosine zenith angle.
JOscProbFunction< JFunction_t > make_oscProbFunction(const JFunction_t &function)
Auxiliary method for creating an interface to an oscillation probability function.
Template class for object cloning.
JOscProbFunction(const JFunction_t &function)
Constructor.
then for APP in event gandalf start energy
JOscProbInterface::JOscParameters_t JOscParameters_t
void setParameters(const JOscParameters_t ¶meters) const
Set oscillation parameters.
Interface class for sets of oscillation parameters.
double getP(const JOscChannel &channel, const double energy, const double costh) const override
Get oscillation probability for given oscillation channel.