1 #ifndef __JAANET__JOSCFLUX__
2 #define __JAANET__JOSCFLUX__
7 #include "flux/Flux.hh"
26 namespace JPP {
using namespace JAANET; }
82 const double costh = -neutrino.dir.z / neutrino.dir.len();
88 const int inType = ((int) channel.Cparity) * ((int) channel.in);
89 const int outType = ((int) channel.Cparity) * ((int) channel.out);
91 if (outType == neutrino.type) {
Low-level interface for retrieving the oscillation probability corresponding to a given oscillation c...
Implementation of oscillated neutrino flux.
static const unsigned int NUMBER_OF_OSCCHANNELS
Number of neutrino oscillation channels.
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...
Helper class for oscillation probabilities.
JOscFlux(const JDiffuseFlux &diffuseFlux, const JOscProb &oscProb)
Constructor.
JOscFlux()
Default constructor.
void configure(const JDiffuseFlux &diffuseFlux)
Configure oscillation probability function.
set_variable E_E log10(E_{fit}/E_{#mu})"
static const JOscChannel getOscChannel[]
Declare group of neutrino oscillation channels.
Explicit emplate specialization of event-weight factor helper for diffuse flux objects.
Template class for object cloning.
double getFactor(const Evt &evt) const override
Get event-weight factor for given event.
Low-level interface for diffuse fluxes.
double operator()(const Evt &evt) const
Get flux for given event.
double getFactor(const int type, const double log10E, const double costh) const
Get diffuse flux corresponding to given neutrino type, energy and zenith angle.
const Trk & get_neutrino(const Evt &evt)
Get incoming neutrino.
The Trk class represents a Monte Carlo (MC) particle as well as a reconstructed track/shower.
virtual void configure(const JOscProb &oscProb)
Configure oscillation probability function.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.