1 #ifndef __JOSCPROB__JOSCPROBHELPER__
2 #define __JOSCPROB__JOSCPROBHELPER__
16 namespace JPP {
using namespace JOSCPROB; }
72 const double costh)
const
75 return get()->
getOscProb(oscChannel, energy, costh);
Low-level interface for retrieving the oscillation probability corresponding to a given oscillation c...
Neutrino oscillation channel.
virtual double getOscProb(const JOscChannel &oscChannel, const double energy, const double costh) const
Get oscillation probability corresponding to given oscillation channel, neutrino energy and zenith an...
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Helper class for oscillation probabilities.
bool is_valid() const
Check validity of pointer.
JOscProbHelper()
Default constructor.
virtual clone_type clone() const override
Get clone of this object.
The template JSharedPointer class can be used to share a pointer to an object.
Exception for null pointer operation.
then for APP in event gandalf start energy
JOscProbHelper(const JOscProb &oscProb)
Constructor.
virtual void reset() override
Reset pointer.
virtual void configure(const JOscProb &oscProb)
Configure oscillation probability function.