1#ifndef __JAANET__JFLUXDICTIONARY__ 
    2#define __JAANET__JFLUXDICTIONARY__ 
   63      this->insert(make_pair(
FLAT_FLUX,                 make_shared<JConstantFlux>()));
 
   64      this->insert(make_pair(
POWER_LAW_FLUX,            make_shared<JPowerLawFlux>()));
 
   66      this->insert(make_pair(
HONDA_FLUX,                make_shared<JOscFlux>(interpolator, 
oscProb)));
 
 
   83    const JFlux& 
at(
const int identifier)
 const 
   88      const_iterator i = this->find(identifier);
 
   90      if (i != this->cend()) {
 
   91        return i->second.getFlux();
 
 
  105      return this->
at(identifier);
 
 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
Dictionary to map distinct flux function categories to unique identifiers.
 
JFluxDictionary(const JOscProbHelper &oscProb)
Constructor.
 
JOscProbHelper oscProb
Oscillation probability calculator.
 
const JFlux & at(const int identifier) const
Look-up function.
 
JFluxDictionary()
Default constructor.
 
fluxes
Indices of flux factors in flux factor dictionary.
 
@ HONDA_FLUX
Interpolated azimuth-averaged Honda flux.
 
@ FLUX_FUNCTIONS_END
End of flux functions.
 
@ POWER_LAW_FLUX
Power-law flux.
 
@ ATMOSPHERIC_NEUTRINO_FLUX
Atmospheric neutrino flux (c.f. Flux_Atmospheric in <jpp>/externals/flux/Flux.hh)
 
@ FLUX_FUNCTIONS_BEGIN
Start of flux functions.
 
const JFlux & operator[](const int identifier) const
Look-up operator.
 
Template specialisation for interpolator of azimuth-averaged Honda flux table.
 
Exception for accessing a value in a collection that is outside of its range.
 
Extensions to Evt data format.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Low-level interface for retrieving the flux corresponding to a given event.
 
Helper class for oscillation probability calculators.