Jpp  debug
the software that should make you happy
Classes | Public Types | Public Member Functions | Static Private Attributes | List of all members
JAANET::JEvtWeightFactorFunction< Flux_Atmospheric, JDiffuseFlux > Struct Referencefinal

Specialisation of event-weight factor interface for atmospheric neutrino flux. More...

#include <JEvtWeightFactorFunction.hh>

Inheritance diagram for JAANET::JEvtWeightFactorFunction< Flux_Atmospheric, JDiffuseFlux >:
JLANG::JClonable< JClonable_t, JDerived_t >

Classes

struct  JFluxFunctionHelper
 Auxiliary class for I/O of atmospheric neutrino flux function. More...
 

Public Types

typedef JEvtWeightFactorFunction< Flux_Atmospheric, JDiffuseFluxJEvtWeightFactorFunction_t
 
typedef JClonable< JClonable_t >::clone_type clone_type
 

Public Member Functions

double dNdEdOmega (int type, double log10E, double costh) const override final
 Get event-weight factor for given particle PDG-identifier, energy and zenith-angle. More...
 
JProperties getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) override final
 Get properties of this class. More...
 
JProperties getProperties (const JEquationParameters &eqpars=JEvtWeightFactor::getEquationParameters()) const override final
 Get properties of this class. More...
 
virtual clone_type clone () const override
 Get clone of this object. More...
 

Static Private Attributes

static const Flux_Atmospheric flux = Flux_Atmospheric()
 atmospheric flux function More...
 

Detailed Description

Specialisation of event-weight factor interface for atmospheric neutrino flux.

Definition at line 117 of file JEvtWeightFactorFunction.hh.

Member Typedef Documentation

◆ JEvtWeightFactorFunction_t

Definition at line 120 of file JEvtWeightFactorFunction.hh.

◆ clone_type

template<class JClonable_t , class JDerived_t >
typedef JClonable<JClonable_t>::clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone_type
inherited

Definition at line 61 of file JClonable.hh.

Member Function Documentation

◆ dNdEdOmega()

double JAANET::JEvtWeightFactorFunction< Flux_Atmospheric, JDiffuseFlux >::dNdEdOmega ( int  type,
double  log10E,
double  costh 
) const
inlinefinaloverride

Get event-weight factor for given particle PDG-identifier, energy and zenith-angle.

Parameters
typePDG particle type
log10Elogarithmic neutrino energy [GeV]
costhcosine zenith angle
Returns
event-weight factor

Definition at line 131 of file JEvtWeightFactorFunction.hh.

134  {
135  return flux.dNdEdOmega(type, log10E, costh);
136  }
Neutrino flux.
Definition: JHead.hh:906

◆ getProperties() [1/2]

JProperties JAANET::JEvtWeightFactorFunction< Flux_Atmospheric, JDiffuseFlux >::getProperties ( const JEquationParameters eqpars = JEvtWeightFactor::getEquationParameters())
inlinefinaloverride

Get properties of this class.

Parameters
eqparsequation parameters

Definition at line 144 of file JEvtWeightFactorFunction.hh.

145  {
146  return JFluxFunctionHelper(eqpars);
147  }

◆ getProperties() [2/2]

JProperties JAANET::JEvtWeightFactorFunction< Flux_Atmospheric, JDiffuseFlux >::getProperties ( const JEquationParameters eqpars = JEvtWeightFactor::getEquationParameters()) const
inlinefinaloverride

Get properties of this class.

Parameters
eqparsequation parameters

Definition at line 155 of file JEvtWeightFactorFunction.hh.

156  {
157  return JFluxFunctionHelper(eqpars);
158  }

◆ clone()

template<class JClonable_t , class JDerived_t >
virtual clone_type JLANG::JClonable< JClonable_t, JDerived_t >::clone ( ) const
inlineoverridevirtualinherited

Member Data Documentation

◆ flux

const Flux_Atmospheric JAANET::JEvtWeightFactorFunction< Flux_Atmospheric, JDiffuseFlux >::flux = Flux_Atmospheric()
staticprivate

atmospheric flux function

Atmospheric flux function initialisation.

Definition at line 181 of file JEvtWeightFactorFunction.hh.


The documentation for this struct was generated from the following file: