1 #ifndef __JOSCPROB__JOSCPROBHELPER__
2 #define __JOSCPROB__JOSCPROBHELPER__
69 const double costh)
const
72 return get()->
getOscProb(oscChannel, log10E, costh);
Low-level interface for retrieving the oscillation probability corresponding to a given oscillation c...
Neutrino oscillation channel.
#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.
virtual double getOscProb(const JOscChannel &oscChannel, const double log10E, const double costh) const
Get oscillation probability corresponding to given oscillation channel, neutrino energy and zenith an...
JOscProbHelper(const JOscProb &oscProb)
Constructor.
virtual void reset() override
Reset pointer.
virtual void configure(const JOscProb &oscProb)
Configure oscillation probability function.