Jpp  17.3.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JFluxAtmosphericNeutrino.hh
Go to the documentation of this file.
1 #ifndef __JAANET__JFLUXATMOSPHERICNEUTRINO__
2 #define __JAANET__JFLUXATMOSPHERICNEUTRINO__
3 
4 #include "flux/Flux.hh"
5 
7 #include "JAAnet/JOscFlux.hh"
8 
10 
11 
12 /**
13  * \author bjung
14  */
15 
16 namespace JAANET {
17 
19 
20 
21  /**
22  * Implementation of atmospheric neutrino flux using official KM3NeT atmospheric flux function. *
23  */
25  public JOscFlux
26  {
27  /**
28  * Constructor.
29  *
30  * The template argument refers to an oscillation probability function object or pointer.
31  * For this, the copy constructor needs to be defined
32  */
33  template<class JOscProbFunction_t>
34  JFluxAtmosphericNeutrino(const JOscProbFunction_t& oscProbFunction) :
35  JOscFlux(make_diffuseFluxFunction(Flux_Atmospheric()),
36  make_oscProbFunction (oscProbFunction))
37  {}
38  };
39 }
40 
41 #endif
Implementation of oscillated neutrino flux.
Definition: JOscFlux.hh:40
JFluxAtmosphericNeutrino(const JOscProbFunction_t &oscProbFunction)
Constructor.
JEvtWeightFactorFunction< JFunction_t, JDiffuseFlux > make_diffuseFluxFunction(const JFunction_t &flux)
Auxiliary method for creating an interface to a diffuse flux function.
JOscProbFunction< JFunction_t > make_oscProbFunction(const JFunction_t &function)
Auxiliary method for creating an interface to an oscillation probability function.
Implementation of atmospheric neutrino flux using official KM3NeT atmospheric flux function...