1 #ifndef __JPHYSICS__JGEANT_T__
2 #define __JPHYSICS__JGEANT_T__
52 const double ct)
const
71 const double xmax)
const
73 const double x_min = std::max(
xmin - 1.0/
n,
buffer. begin()->getX());
74 const double x_max = std::min(
xmax - 1.0/
n,
buffer.rbegin()->getX());
112 out << static_cast<const JGeantFunction1D_t&>(
geant);
Interface for binary input.
Interface for binary output.
Base class for the probability density function of photon emission from EM-shower as a function of th...
friend JReader & operator>>(JReader &in, JGeant_t &geant)
Read geant from input.
JGeantFunction1D_t buffer
friend JWriter & operator<<(JWriter &out, const JGeant_t &geant)
Write geant to output.
double a0
offset of the normalisation dependence
double operator()(const double n, const double xmin, const double xmax) const
Integral number of photons from EM-shower between two emission angles.
double operator()(const double n, const double ct) const
Number of photons from EM-shower as a function of emission angle.
JGeant_t()
Default constructor.
virtual void do_compile() override
Function compilation.
double a1
slope of the normalisation dependence
Auxiliary methods for light properties of deep-sea water.
static const JGeant geant(geanx, 0.0001)
Function object for the number of photons from EM-shower as a function of emission angle.
JTOOLS::JGridPolint1Function1D_t JGeantFunction1D_t
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).