Jpp
18.3.1
the software that should make you happy
|
Implementation of atmospheric neutrino flux using official KM3NeT atmospheric flux function. More...
#include <JAtmosphericNeutrinoFlux.hh>
Public Types | |
typedef JClonable< JClonable_t > ::clone_type | clone_type |
typedef JEvtWeightFactorHelper < JDiffuseFlux > | JDiffuseFluxHelper_t |
typedef std::shared_ptr < JDiffuseFlux > | pointer_type |
typedef JOscProbInterface::JOscParameters_t | JOscParameters_t |
typedef JOscProbInterface::JParameter_t | JParameter_t |
typedef JOscProbInterface::argument_type | argument_type |
Public Member Functions | |
JAtmosphericNeutrinoFlux () | |
Default constructor. More... | |
JAtmosphericNeutrinoFlux (const JOscProbInterface &oscProbInterface) | |
Constructor. More... | |
template<class JFunction_t > | |
JAtmosphericNeutrinoFlux (const JOscProbFunction< JFunction_t > &oscProbFunction) | |
Constructor. More... | |
template<class JOscProbFunction_t > | |
JAtmosphericNeutrinoFlux (const JOscProbFunction_t &oscProbCalculator) | |
Constructor. More... | |
double | operator() (const Evt &evt) const |
Get flux for given event. More... | |
bool | equals (const JOscFlux &object) const |
Check if this flux is equal to given flux. More... | |
double | getFactor (const Evt &evt) const override |
Get event-weight factor for given event. More... | |
double | getFactor (const int type, const double log10E, const double costh) const |
Get diffuse flux corresponding to given neutrino type, energy and zenith angle. More... | |
virtual clone_type | clone () const override |
Get clone of this object. More... | |
void | configure (const JDiffuseFlux &diffuseFlux) |
Configure oscillation probability function. More... | |
void | configure (const JOscProbInterface &oscProb) |
Configure oscillation probability function. More... | |
JDiffuseFlux & | getDiffuseFlux () const |
Get reference to diffuse flux factor. More... | |
JOscProbInterface & | getOscProbInterface () const |
Get reference to oscillation probability interface. More... | |
JOscParameters_t & | getParameters () const |
Get reference to oscillation parameters interface. More... | |
void | set (const JOscParameters_t ¶meters) const |
Set oscillation parameters. More... | |
virtual void | set (const std::string &name, const argument_type &value) const |
Set value for a given oscillation parameter. More... | |
template<class... Args> | |
void | set (const std::string &name, const argument_type &value, const Args &...args) const |
Set value for given list of oscillation parameters. More... | |
double | getP (const JOscChannel &channel, const double energy, const double costh) const |
Get oscillation probability corresponding to given oscillation channel, neutrino energy and zenith angle. More... | |
double | getP (const JOscParameters_t ¶meters, const JOscChannel &channel, const double energy, const double costh) const |
Get oscillation probability for a given set of oscillation parameters and a given oscillation channel. More... | |
double | getP (const std::string &name, const double value, const JOscChannel &channel, const double E, const double costh) const |
Get oscillation probability for a given oscillation parameter and a given oscillation channel. More... | |
template<class... Args> | |
double | getP (const std::string &name, const double value, const Args &...args) const |
Get oscillation probability for a given set of oscillation parameters and a given oscillation channel. More... | |
virtual double | getCosth (const double L) const |
Get cosine zenith angle for a given baseline. More... | |
virtual double | getBaseline (const double costh) const |
Get baseline for a given cosine zenith angle. More... | |
Implementation of atmospheric neutrino flux using official KM3NeT atmospheric flux function.
Definition at line 33 of file JAtmosphericNeutrinoFlux.hh.
|
inherited |
Definition at line 61 of file JClonable.hh.
|
inherited |
Definition at line 112 of file JEvtWeightFactorHelper.hh.
|
inherited |
Definition at line 113 of file JEvtWeightFactorHelper.hh.
Definition at line 28 of file JOscProbHelper.hh.
|
inherited |
Definition at line 29 of file JOscProbHelper.hh.
|
inherited |
Definition at line 30 of file JOscProbHelper.hh.
|
inline |
|
inlineexplicit |
Constructor.
oscProbInterface | oscillation probability interface |
Definition at line 48 of file JAtmosphericNeutrinoFlux.hh.
|
inlineexplicit |
Constructor.
The template argument refers to an oscillation probability function object or pointer. For this, the copy constructor needs to be defined
oscProbFunction | oscillation probability function object |
Definition at line 62 of file JAtmosphericNeutrinoFlux.hh.
|
inline |
Constructor.
The template argument refers to an oscillation probability function object or pointer. For this, the copy constructor needs to be defined
oscProbCalculator | oscillation probability calculator |
Definition at line 76 of file JAtmosphericNeutrinoFlux.hh.
|
inlineinherited |
Get flux for given event.
Note that in this evaluation the zenith-angle is defined
with respect to the line of sight (i.e. a neutrino pointing straight at you
from the center of the Earth has ).
evt | event |
Definition at line 78 of file JOscFlux.hh.
|
inlineinherited |
Check if this flux is equal to given flux.
object | flux object |
Definition at line 111 of file JOscFlux.hh.
|
inlineoverrideinherited |
Get event-weight factor for given event.
evt | event |
Definition at line 124 of file JOscFlux.hh.
|
inlineinherited |
Get diffuse flux corresponding to given neutrino type, energy and zenith angle.
type | PDG particle type |
log10E | logarithmic neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 178 of file JEvtWeightFactorHelper.hh.
|
inlineoverridevirtualinherited |
Get clone of this object.
Reimplemented in JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer_t< JArgument_t >, JLANG::JClonable< JMatch< hit_type > >, JLANG::JClonable< JMatch< hit_type >, JMatch3D >, JLANG::JClonable< JMatch< JTRIGGER::JHitR1 > >, and JLANG::JClonable< JMatch< JTRIGGER::JHitR1 >, JMatch3G< JTRIGGER::JHitR1 > >.
Definition at line 69 of file JClonable.hh.
|
inlineinherited |
Configure oscillation probability function.
diffuseFlux | diffuse flux function |
Definition at line 139 of file JEvtWeightFactorHelper.hh.
|
inlineinherited |
Configure oscillation probability function.
oscProb | oscillation probability function |
Definition at line 66 of file JOscProbHelper.hh.
|
inlineinherited |
Get reference to diffuse flux factor.
Definition at line 158 of file JEvtWeightFactorHelper.hh.
|
inlineinherited |
Get reference to oscillation probability interface.
Definition at line 77 of file JOscProbHelper.hh.
|
inlineinherited |
Get reference to oscillation parameters interface.
Definition at line 94 of file JOscProbHelper.hh.
|
inlineinherited |
Set oscillation parameters.
parameters | oscillation parameters |
Definition at line 105 of file JOscProbHelper.hh.
|
inlinevirtualinherited |
Set value for a given oscillation parameter.
name | parameter name |
value | parameter value |
Definition at line 117 of file JOscProbHelper.hh.
|
inlineinherited |
Set value for given list of oscillation parameters.
name | parameter name |
value | parameter value |
args | remaining pairs of parameter names and values |
Definition at line 132 of file JOscProbHelper.hh.
|
inlineinherited |
Get oscillation probability corresponding to given oscillation channel, neutrino energy and zenith angle.
channel | oscillation channel |
energy | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 149 of file JOscProbHelper.hh.
|
inlineinherited |
Get oscillation probability for a given set of oscillation parameters
and a given oscillation channel.
channel | oscillation channel |
parameters | oscillation parameters |
energy | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 167 of file JOscProbHelper.hh.
|
inlineinherited |
Get oscillation probability for a given oscillation parameter
and a given oscillation channel.
name | parameter name |
value | parameter value |
channel | oscillation channel |
E | neutrino energy [GeV] |
costh | cosine zenith angle |
Definition at line 187 of file JOscProbHelper.hh.
|
inlineinherited |
Get oscillation probability for a given set of oscillation parameters
and a given oscillation channel.
name | parameter name |
value | parameter value |
args | remaining arguments |
Definition at line 206 of file JOscProbHelper.hh.
|
inlinevirtualinherited |
Get cosine zenith angle for a given baseline.
L | baseline [km] |
Definition at line 220 of file JOscProbHelper.hh.
|
inlinevirtualinherited |
Get baseline for a given cosine zenith angle.
costh | cosine zenith angle |
Definition at line 232 of file JOscProbHelper.hh.