1 #ifndef __JPHYSICS__JGEANT__
2 #define __JPHYSICS__JGEANT__
48 const double dx = 0.0001)
52 const double n0 =
geanx.
n - 0.02;
53 const double n1 =
geanx.
n + 0.02;
58 const double y0 = g0.
evaluate(-1.0, +1.0);
59 const double y1 =
g1.evaluate(-1.0, +1.0);
61 const double c = 1.0 / (y0 * 2*
PI);
65 for (
double x = -2.0;
x < 1.0;
x += dx) {
73 this->
a1 = (y1 - y0) / y0 / (n1 - n0);
74 this->
a0 = 1.0 +
a1*n0;
Base class for photon emission profile EM-shower.
Photon emission profile EM-shower.
Double_t g1(const Double_t x)
Function.
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...
double a0
offset of the normalisation dependence
double a1
slope of the normalisation dependence
Function object for the probability density function of photon emission from EM-shower as a function ...
JGeant()
Default constructor.
JGeant(const JGeanx &geanx, const double dx=0.0001)
Constructor.
Probability density function of photon emission from EM-shower as a function of cosine of the emissio...
double evaluate(const double ct) const
Functional dependence.
const double n
index of refraction
static const double PI
Mathematical constants.
Auxiliary methods for light properties of deep-sea water.
static const JGeanx geanx(0.35, -5.40)
Function object for the number of photons from EM-shower as a function of emission angle.
static const JGeant geant(geanx, 0.0001)
Function object for the number of photons from EM-shower as a function of emission angle.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).