1 #ifndef __JPHYSICS__JGEANT_T__ 
    2 #define __JPHYSICS__JGEANT_T__ 
   14 namespace JPP { 
using namespace JPHYSICS; }
 
   52                       const double ct)
 const 
   56       return y * (
a0 - 
a1*
n);
 
   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());
 
   78       return y * (
a0 - 
a1*
n);
 
  112       out << static_cast<const JGeantFunction1D_t&>(
geant);
 
friend JWriter & operator<<(JWriter &out, const JGeant_t &geant)
Write geant to output. 
 
Interface for binary output. 
 
double operator()(const double n, const double xmin, const double xmax) const 
Integral number of photons from EM-shower between two emission angles. 
 
double a1
slope of the normalisation dependence 
 
virtual void do_compile() override
Function compilation. 
 
friend JReader & operator>>(JReader &in, JGeant_t &geant)
Read geant from input. 
 
static const JGeant geant(geanx, 0.0001)
Function object for the number of photons from EM-shower as a function of emission angle...
 
double operator()(const double n, const double ct) const 
Number of photons from EM-shower as a function of emission angle. 
 
double a0
offset of the normalisation dependence 
 
Interface for binary input. 
 
Base class for the probability density function of photon emission from EM-shower as a function of th...
 
JGeant_t()
Default constructor. 
 
JGeantFunction1D_t buffer
 
JTOOLS::JGridPolint1Function1D_t JGeantFunction1D_t
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in