1 #ifndef __JPHYSICS__JNPETABLE__
2 #define __JPHYSICS__JNPETABLE__
18 namespace JPP {
using namespace JPHYSICS; }
34 template<
class JArgument_t,
52 typedef typename multifunction_t::map_type
map_type;
86 template<
class JPDF_t,
class JPDFMaplist_t,
class JPDFDistance_t>
90 using namespace JTOOLS;
94 typedef typename JTransformableMultiFunction_t::transformer_type
transformer_type;
99 for (
typename JTransformableMultiFunction_t::super_const_iterator i = input.super_begin(); i != input.super_end(); ++i) {
101 const JMultiKey_t& key = (*i).getKey();
102 const JPDF_t& value = (*i).getValue();
125 using namespace JTOOLS;
127 for (
super_iterator i = this->super_begin(); i != this->super_end(); ++i) {
131 for (
typename map_type::iterator j = f1.begin(); j != f1.end(); ++j) {
196 using namespace JTOOLS;
198 for (
super_iterator i = this->super_begin(); i != this->super_end(); ++i) {
202 for (
typename map_type::iterator j = f1.begin(); j != f1.end(); ++j) {
210 this->transformer.reset(transformer.
clone());
multifunction_t::value_type value_type
multifunction_t::argument_type argument_type
multifunction_t::iterator iterator
multifunction_t::supervisor_type supervisor_type
virtual clone_type clone() const =0
Get clone of this object.
virtual void transform(const transformer_type &transformer)
Application of weight function.
multifunction_t::super_iterator super_iterator
result_type operator()(const argument_type x,...) const
Get number of photo-electrons.
void add(const JNPETable &input)
Add NPE table.
multifunction_t::map_type map_type
The template JSharedPointer class can be used to share a pointer to an object.
JConstantFunction1D< JArgument_t, JResult_t > function_type
multifunction_t::result_type result_type
JMultiMapTransformer< NUMBER_OF_DIMENSIONS, argument_type > transformer_type
JMultiFunction< JConstantFunction1D< JArgument_t, JResult_t >, JMaplist_t, JDistance_t > multifunction_t
JTOOLS::JArray< NUMBER_OF_DIMENSIONS, argument_type > buffer
JNPETable()
Default constructor.
multifunction_t::super_const_iterator super_const_iterator
JLANG::JSharedPointer< transformer_type > transformer
virtual result_type evaluate(const argument_type *pX) const
Recursive function value evaluation.
multifunction_t::ordinate_type ordinate_type
multifunction_t::const_iterator const_iterator
JNPETable(const JTransformableMultiFunction< JPDF_t, JPDFMaplist_t, JPDFDistance_t > &input)
Constructor.
multifunction_t::const_reverse_iterator const_reverse_iterator
multifunction_t::abscissa_type abscissa_type
Custom class for integrated values of the PDF of the arrival time of Cherenkov light.
multifunction_t::reverse_iterator reverse_iterator