1 #ifndef __JPHYSICS__JNPETABLE__
2 #define __JPHYSICS__JNPETABLE__
35 template<
class JArgument_t,
87 template<
class JPDF_t,
class JPDFMaplist_t,
class JPDFDistance_t>
95 typedef typename JTransformableMultiFunction_t::transformer_type
transformer_type;
100 for (
typename JTransformableMultiFunction_t::super_const_iterator i = input.super_begin(); i != input.super_end(); ++i) {
102 const JMultiKey_t& key = (*i).getKey();
103 const JPDF_t& value = (*i).getValue();
128 for (
super_iterator i = this->super_begin(); i != this->super_end(); ++i) {
132 for (
typename map_type::iterator
j =
f1.begin();
j !=
f1.end(); ++
j) {
139 const double W = this->
transformer->getWeight(buffer);
155 template<
class ...Args>
192 for (
super_iterator i = this->super_begin(); i != this->super_end(); ++i) {
196 for (
typename map_type::iterator
j =
f1.begin();
j !=
f1.end(); ++
j) {
The template JSharedPointer class can be used to share a pointer to an object.
Custom class for integrated values of the PDF of the arrival time of Cherenkov light.
multifunction_t::const_iterator const_iterator
multifunction_t::map_type map_type
virtual result_type evaluate(const argument_type *pX) const override
Recursive function value evaluation.
JNPETable()
Default constructor.
multifunction_t::super_iterator super_iterator
JTOOLS::JArray< NUMBER_OF_DIMENSIONS, argument_type > buffer
JMultiMapTransformer< NUMBER_OF_DIMENSIONS, argument_type > transformer_type
void transform(const transformer_type &transformer)
Application of weight function.
multifunction_t::result_type result_type
JNPETable(const JTransformableMultiFunction< JPDF_t, JPDFMaplist_t, JPDFDistance_t > &input)
Constructor.
multifunction_t::super_const_iterator super_const_iterator
multifunction_t::value_type value_type
JConstantFunction1D< JArgument_t, JResult_t > function_type
JMultiFunction< JConstantFunction1D< JArgument_t, JResult_t >, JMaplist_t, JDistance_t > multifunction_t
JLANG::JSharedPointer< transformer_type > transformer
multifunction_t::abscissa_type abscissa_type
multifunction_t::reverse_iterator reverse_iterator
multifunction_t::iterator iterator
multifunction_t::ordinate_type ordinate_type
multifunction_t::const_reverse_iterator const_reverse_iterator
multifunction_t::supervisor_type supervisor_type
result_type operator()(const Args &...args) const
Get number of photo-electrons.
multifunction_t::argument_type argument_type
void add(const JNPETable &input)
Add NPE table.
const JPolynome f1(1.0, 2.0, 3.0)
Function.
Auxiliary methods for light properties of deep-sea water.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
std::map< int, range_type > map_type
double getValue(const double x) const
Function value.