Jpp
|
Interface for weight application and coordinate transformation of function. More...
#include <JMultiMapTransformer.hh>
Classes | |
class | JMultiMapDefaultTransformer |
Default implementation of weight application and coordinate transformation of function. More... | |
Public Types | |
typedef JMultiMapTransformer< N, JArgument_t > | multimaptransformer_type |
typedef JClonable< multimaptransformer_type >::clone_type | clone_type |
typedef JArgument_t | argument_type |
typedef JArray< N, argument_type > | array_type |
Public Member Functions | |
virtual argument_type | putXn (const_array_type &buffer, const argument_type xn) const =0 |
Evaluate xn value as a function of {x0, ..., xn-1}. More... | |
virtual argument_type | getXn (const_array_type &buffer, const argument_type xn) const =0 |
Evaluate xn value as a function of {x0, ..., xn-1}. More... | |
virtual double | getWeight (const_array_type &buffer) const =0 |
Weight function. More... | |
double | getWeight (const argument_type x,...) const |
Weight function. More... | |
virtual clone_type | clone () const |
Get clone of this object. More... | |
virtual JReader & | read (JReader &in)=0 |
Read from input. More... | |
virtual JWriter & | write (JWriter &out) const =0 |
Write to output. More... | |
Static Public Member Functions | |
static const JMultiMapTransformer & | getDefaultTransformer () |
Get default transformer. More... | |
static JMultiMapTransformer * | getClone () |
Get clone of default transformer. More... | |
Public Attributes | |
const typedef JArray< N, const argument_type > | const_array_type |
Private Attributes | |
va_list | ap |
JArray< N, argument_type > | buffer |
Interface for weight application and coordinate transformation of function.
The template parameters refer to the dimension of the map and the data type of the argument, respectively.
This class extends the JClonable and JSerialisable interfacea.
Definition at line 35 of file JMultiMapTransformer.hh.
typedef JMultiMapTransformer<N, JArgument_t> JTOOLS::JMultiMapTransformer< N, JArgument_t >::multimaptransformer_type |
Definition at line 41 of file JMultiMapTransformer.hh.
typedef JClonable<multimaptransformer_type>::clone_type JTOOLS::JMultiMapTransformer< N, JArgument_t >::clone_type |
Definition at line 43 of file JMultiMapTransformer.hh.
typedef JArgument_t JTOOLS::JMultiMapTransformer< N, JArgument_t >::argument_type |
Definition at line 44 of file JMultiMapTransformer.hh.
typedef JArray<N, argument_type> JTOOLS::JMultiMapTransformer< N, JArgument_t >::array_type |
Definition at line 45 of file JMultiMapTransformer.hh.
|
pure virtual |
Evaluate xn value as a function of {x0, ..., xn-1}.
buffer | x0 - xn-1 values |
xn | xn value |
Implemented in JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer.
|
pure virtual |
Evaluate xn value as a function of {x0, ..., xn-1}.
buffer | x0 - xn-1 values |
xn | xn value |
Implemented in JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer.
|
pure virtual |
Weight function.
buffer | x0 - xn-1 values |
Implemented in JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer.
|
inline |
Weight function.
x | comma seperated list of abscissa values |
Definition at line 84 of file JMultiMapTransformer.hh.
|
inlinestatic |
Get default transformer.
Definition at line 111 of file JMultiMapTransformer.hh.
|
inlinestatic |
Get clone of default transformer.
Definition at line 124 of file JMultiMapTransformer.hh.
|
inlinevirtualinherited |
Get clone of this object.
Reimplemented in JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer< 1, JArgument_t >, JLANG::JClonable< JMatch< JTRIGGER::JHitR1 > >, and JLANG::JClonable< JMatch< JTRIGGER::JHitR1 >, JMatch3G< JTRIGGER::JHitR1 > >.
Definition at line 69 of file JClonable.hh.
Read from input.
in | JReader |
Implemented in JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JDETECTOR::JDetector, JPHYSICS::JPDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JPHYSICS::JPDFTable< JFunction1D_t, JPDFMaplist_t >, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JPHYSICS::JPDFTransformer< 1, JArgument_t >, JTRIGGER::JDOMToPMTMaskMap, and JMARKOV::JPhotonPath.
Write to output.
out | JWriter |
Implemented in JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JDETECTOR::JDetector, JPHYSICS::JPDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JPHYSICS::JPDFTable< JFunction1D_t, JPDFMaplist_t >, JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer< 1, JArgument_t >, JTRIGGER::JDOMToPMTMaskMap, and JMARKOV::JPhotonPath.
const typedef JArray<N, const argument_type> JTOOLS::JMultiMapTransformer< N, JArgument_t >::const_array_type |
Definition at line 46 of file JMultiMapTransformer.hh.
|
mutableprivate |
Definition at line 131 of file JMultiMapTransformer.hh.
|
mutableprivate |
Definition at line 132 of file JMultiMapTransformer.hh.