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 |
typedef const JArray< N, const argument_type > | const_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 =0 |
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... | |
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.
typedef const JArray<N, const argument_type> JTOOLS::JMultiMapTransformer< N, JArgument_t >::const_array_type |
Definition at line 46 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 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, and JPHYSICS::JPDFTransformer< 1, JArgument_t >.
|
pure virtual |
Evaluate xn value as a function of {x0, ..., xn-1}.
buffer | x0 - xn-1 values |
xn | xn value |
Implemented 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, and JPHYSICS::JPDFTransformer< 1, JArgument_t >.
|
pure virtual |
Weight function.
buffer | x0 - xn-1 values |
Implemented 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, and JPHYSICS::JPDFTransformer< 1, JArgument_t >.
|
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.
|
pure virtualinherited |
Get clone of this object.
Implemented 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 >, JTRIGGER::JMatch3B< JHit_t >, JTRIGGER::JMatchHelper< JHit_t >, JTRIGGER::JMatch1D< JHit_t >, JTRIGGER::JMatch3G< JHit_t >, JTRIGGER::JMatch3G< JTRIGGER::JHitR1 >, and JTRIGGER::JMatch3D< JHit_t >.
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, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JPHYSICS::JPDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JPHYSICS::JPDFTable< JFunction1D_t, JPDFMaplist_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::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JPHYSICS::JPDFTable< JFunction1D_t, JPDFMaplist_t >, JPHYSICS::JPDFTransformer< 1, JArgument_t >, JTRIGGER::JDOMToPMTMaskMap, and JMARKOV::JPhotonPath.
|
mutableprivate |
Definition at line 131 of file JMultiMapTransformer.hh.
|
mutableprivate |
Definition at line 132 of file JMultiMapTransformer.hh.