1#ifndef __JPHYSICS__JRADIATIONSOURCE__
2#define __JPHYSICS__JRADIATIONSOURCE__
76 virtual double getThetaRMS(
const double E,
const double Es)
const = 0;
105 const double density,
122 return ((*this)->*
sigma)(E) *
rho * 1.0e6;
134 return ((*this)->*
eloss)(E);
145 virtual double getThetaRMS(
const double E,
const double Es)
const override
147 return ((*this)->*
theta)(E, Es/E);
172 const double density) :
198 return this->
getE(E);
209 virtual double getThetaRMS(
const double E,
const double Es)
const override
Deep-inelastic muon-nucleon scattering.
Muon radiative cross sections.
The template JSharedPointer class can be used to share a pointer to an object.
Implementation for calculation of inverse interaction length and shower energy due to deep-inelastic ...
virtual double getThetaRMS(const double E, const double Es) const override
Get RMS of scattering angle.
virtual double getEnergyOfShower(const double E) const override
Get energy of shower.
virtual double getInverseInteractionLength(const double E) const override
Get inverse interaction length.
JDISSource(const int id, const double density)
Constructor.
Deep-inelastic muon-nucleon scattering.
double getCrossSection(const double E) const
Get cross section.
double getE(const double E) const
Get shower energy.
Interface for calculation of inverse interaction length and shower energy.
int getID() const
Get radiation identifer.
JRadiationInterface(const int id)
Constructor.
virtual double getEnergyOfShower(const double E) const =0
Get energy of shower.
virtual double getThetaRMS(const double E, const double Es) const =0
Get RMS of scattering angle.
virtual ~JRadiationInterface()
Virtual destructor.
virtual double getInverseInteractionLength(const double E) const =0
Get inverse interaction length.
Implementation for calculation of inverse interaction length and shower energy.
virtual double getInverseInteractionLength(const double E) const override
Get inverse interaction length.
JRadiationSource(const int id, const JSharedPointer< JRadiation > &radiation, const double density, const JRadiationSource_t source)
Constructor.
virtual double getThetaRMS(const double E, const double Es) const override
Get RMS of scattering angle.
virtual double getEnergyOfShower(const double E) const override
Get energy of shower.
Auxiliary class for the calculation of the muon radiative cross sections.
Auxiliary methods for light properties of deep-sea water.
static const double AVOGADRO
Avogadro's number.
static const double NUCLEON_MOLAR_MASS
nucleon molar mass [g/mol]
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for handling member methods of class JRadiation.
double(JRadiation::* sigma)(const double) const
total cross section method
double(JRadiation::* eloss)(const double) const
energy loss method
double(JRadiation::* theta)(const double, const double) const
scattering angle method