Go to the documentation of this file. 1 #ifndef __JNPETABLE1D__
2 #define __JNPETABLE1D__
36 template<
class JFunction1D_t>
58 template<
class JPDF_t,
class JPDFMaplist_t,
class JPDFDistance_t>
70 for (
typename JTransformableMultiFunction_t::const_iterator i = input.begin(); i != input.end(); ++i) {
72 const double R = i->getX();
78 for (JOmega3D::const_iterator dir = omega.begin(); dir != omega.end(); ++dir) {
79 y += intensity(R, dir->getTheta(), fabs(dir->getPhi()));
82 this->put(R,y/omega.size());
86 this->setExceptionHandler(
new typename JFunction1D_t::JDefaultResult(
JMATH::zero));
Custom class for the integrated values of the PDF of the arrival time of Cherenkov light.
Auxiliary classes and methods for calculation of PDF and muon energy loss.
JNPETable1D()
Default constructor.
Custom class for integrated values of the PDF of the arrival time of Cherenkov light.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
JNPETable1D(const JTransformableMultiFunction< JPDF_t, JPDFMaplist_t, JPDFDistance_t > &input)
Constructor.
JFunction1D_t::argument_type argument_type
Auxiliary classes and methods for 3D geometrical objects and operations.
JFunction1D_t::result_type result_type
static const JZero zero
Function object to assign zero value.
Direction set covering (part of) solid angle.
const typedef JMultiKey< N, const JKey_t > & argument_type