Low-level interface for diffuse fluxes.
More...
#include <JDiffuseFlux.hh>
|
virtual | ~JDiffuseFlux () |
| Virtual destructor. 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 event-weight factor for given particle PDG-identifier, energy and zenith-angle. More...
|
|
double | getFlux (const int type, const double log10E, const double costh) const |
| Get event-weight factor for given particle PDG-identifier, energy and zenith-angle. More...
|
|
virtual void | Print () const override |
| Print flux information. More...
|
|
virtual double | getFlux (const Evt &evt) const |
| Get flux of given event. More...
|
|
virtual clone_type | clone () const override |
| Get clone of this object. More...
|
|
Low-level interface for diffuse fluxes.
Definition at line 27 of file JDiffuseFlux.hh.
template<class JClonable_t, class JDerived_t = JNullType>
virtual JAANET::JDiffuseFlux::~JDiffuseFlux |
( |
| ) |
|
|
inlinevirtual |
double JAANET::JDiffuseFlux::getFactor |
( |
const Evt & |
evt | ) |
const |
|
inlineoverridevirtual |
Get event-weight factor for given event.
- Parameters
-
- Returns
- event-weight factor [GeV^-1 * m^-2 * sr^-1 * s^-1]
Implements JAANET::JEvtWeightFactor.
Definition at line 44 of file JDiffuseFlux.hh.
47 const double log10E =
log10(neutrino.
E);
48 const double costh = neutrino.
dir.
z;
50 return dNdEdOmega(neutrino.
type, log10E, costh);
double E
Energy [GeV] (either MC truth or reconstructed)
set_variable E_E log10(E_{fit}/E_{#mu})"
int type
MC: particle type in PDG encoding.
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.
double JAANET::JDiffuseFlux::getFactor |
( |
const int |
type, |
|
|
const double |
log10E, |
|
|
const double |
costh |
|
) |
| const |
|
inline |
Get event-weight factor for given particle PDG-identifier, energy and zenith-angle.
- Parameters
-
type | PDG particle type |
log10E | logarithmic neutrino energy [GeV] |
costh | cosine zenith angle |
- Returns
- diffuse flux [GeV^-1 * m^-2 * sr^-1 * s^-1]
Definition at line 62 of file JDiffuseFlux.hh.
66 return dNdEdOmega(
type, log10E, costh);
then set_variable PMT_FILE set_variable DAQ_FILE set_variable OUTPUT_FILE set_variable DETECTOR else fatal Wrong number of arguments fi JPrintTree f $DAQ_FILE type
double JAANET::JDiffuseFlux::getFlux |
( |
const int |
type, |
|
|
const double |
log10E, |
|
|
const double |
costh |
|
) |
| const |
|
inline |
Get event-weight factor for given particle PDG-identifier, energy and zenith-angle.
- Parameters
-
type | PDG particle type |
log10E | logarithmic neutrino energy [GeV] |
costh | cosine zenith angle |
- Returns
- diffuse flux [GeV^-1 * m^-2 * sr^-1 * s^-1]
Definition at line 78 of file JDiffuseFlux.hh.
82 return dNdEdOmega(
type, log10E, costh);
then set_variable PMT_FILE set_variable DAQ_FILE set_variable OUTPUT_FILE set_variable DETECTOR else fatal Wrong number of arguments fi JPrintTree f $DAQ_FILE type
virtual void JAANET::JDiffuseFlux::Print |
( |
| ) |
const |
|
inlineoverridevirtual |
virtual double JAANET::JFlux::getFlux |
( |
const Evt & |
evt | ) |
const |
|
inlinevirtualinherited |
Get flux of given event.
- Parameters
-
- Returns
- flux [GeV^-1 * m^-2 * sr^-1 * s^-1]
Definition at line 37 of file JFlux.hh.
virtual double getFactor(const Evt &evt) const =0
Get multiplication factor of given event.
template<class JClonable_t, class JDerived_t = JNullType>
|
inlineoverridevirtualinherited |
Get clone of this object.
- Returns
- pointer to newly created 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.
71 return new JDerived_t(static_cast<const JDerived_t&>(*
this));
The documentation for this struct was generated from the following file: