1 #ifndef __JSIRENE__JCDFTABLE1D__
2 #define __JSIRENE__JCDFTABLE1D__
38 template<
class JArgument_t,
class JResult_t>
67 template<
class JCDF_t,
class JCDFMaplist_t,
class JCDFDistance_t>
69 const int number_of_bins,
70 const double safety_factor = 2.0)
84 catch(
const std::exception& error) {
96 const double R =
j->getX();
101 for (JOmega3D::const_iterator dir = omega.begin(); dir != omega.end(); ++dir) {
102 y += cdf.
getNPE(R, dir->getTheta(), fabs(dir->getPhi()));
107 j->getY() = safety_factor *
y / W;
122 const double buffer[] = { R };
Various implementations of functional maps.
Data structure for direction in three dimensions.
Direction set covering (part of) solid angle.
The template JSharedPointer class can be used to share a pointer to an object.
Custom class for CDF table in 1 dimension.
JMultiMapTransformer< 1, argument_type > transformer_type
double getNPE(const double R) const
Get number of photo-electrons.
JCDFTable1D(const JCDFTable< JCDF_t, JCDFMaplist_t, JCDFDistance_t > &cdf, const int number_of_bins, const double safety_factor=2.0)
Constructor.
JPolintFunction1D< 1, JElement2D_t, JGridCollection > JFunction1D_t
JLANG::JSharedPointer< transformer_type > transformer
JCDFTable1D()
Default constructor.
JElement2D< argument_type, result_type > JElement2D_t
JArgument_t argument_type
Multi-dimensional CDF table for arrival time of Cherenkov light.
JLANG::JSharedPointer< transformer_type > transformer
JMultiQuantile_t intensity
double getNPE(const Args &...args) const
Get number of photo-electrons.
static const double PI
Mathematical constants.
Auxiliary methods for light properties of deep-sea water.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
std::pair< double, double > range_type