Jpp
master_rocky-37-gf0c5bc59d
the software that should make you happy
|
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... | |
template<class ... Args> | |
double | getWeight (const argument_type x, const Args &...args) const |
Weight function. More... | |
virtual clone_type | clone () const override |
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... | |
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 interfaces.
Definition at line 33 of file JMultiMapTransformer.hh.
typedef JMultiMapTransformer<N, JArgument_t> JTOOLS::JMultiMapTransformer< N, JArgument_t >::multimaptransformer_type |
Definition at line 39 of file JMultiMapTransformer.hh.
typedef JClonable<multimaptransformer_type>::clone_type JTOOLS::JMultiMapTransformer< N, JArgument_t >::clone_type |
Definition at line 41 of file JMultiMapTransformer.hh.
typedef JArgument_t JTOOLS::JMultiMapTransformer< N, JArgument_t >::argument_type |
Definition at line 42 of file JMultiMapTransformer.hh.
typedef JArray<N, argument_type> JTOOLS::JMultiMapTransformer< N, JArgument_t >::array_type |
Definition at line 43 of file JMultiMapTransformer.hh.
typedef const JArray<N, const argument_type> JTOOLS::JMultiMapTransformer< N, JArgument_t >::const_array_type |
Definition at line 44 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, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, and JPHYSICS::JPDFTransformer_t< JArgument_t >.
|
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, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, and JPHYSICS::JPDFTransformer_t< JArgument_t >.
|
pure virtual |
Weight function.
buffer | x0 - xn-1 values |
Implemented in JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, and JPHYSICS::JPDFTransformer_t< JArgument_t >.
|
inline |
Weight function.
x | first abscissa values |
args | comma seperated list of remaining abscissa values |
Definition at line 84 of file JMultiMapTransformer.hh.
|
inlinestatic |
Get default transformer.
Definition at line 101 of file JMultiMapTransformer.hh.
|
inlinestatic |
Get clone of default transformer.
Definition at line 114 of file JMultiMapTransformer.hh.
|
inlineoverridevirtualinherited |
Get clone of this object.
Reimplemented in JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, and JPHYSICS::JPDFTransformer_t< JArgument_t >.
Definition at line 69 of file JClonable.hh.
Read from input.
in | JReader |
Implemented in JOSCPROB::JOscProbInterpolator< JCollection_t, JFunction1D_t, JFunctionalMaplist_t >, JTRIGGER::JDOMToPMTMaskMap, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, JPHYSICS::JPDFTransformer_t< JArgument_t >, JPHYSICS::JPDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JPHYSICS::JPDFTable< JFunction1D_t, JPDFMapList_t >, JPHYSICS::JPDFTable< JFunction1D_t, JPDFMaplist_t >, JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JOSCPROB::JOscParametersInterface< T >, JDETECTOR::JDetector, JACOUSTICS::JSuperEvt, JACOUSTICS::JEvt, JACOUSTICS::JEvent, and JMARKOV::JPhotonPath.
Write to output.
out | JWriter |
Implemented in JOSCPROB::JOscProbInterpolator< JCollection_t, JFunction1D_t, JFunctionalMaplist_t >, JTRIGGER::JDOMToPMTMaskMap, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, JPHYSICS::JPDFTransformer_t< JArgument_t >, JPHYSICS::JPDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JPHYSICS::JPDFTable< JFunction1D_t, JPDFMapList_t >, JPHYSICS::JPDFTable< JFunction1D_t, JPDFMaplist_t >, JPHYSICS::JCDFTable< JFunction1D_t, JMaplist_t, JDistance_t >, JOSCPROB::JOscParametersInterface< T >, JDETECTOR::JDetector, JACOUSTICS::JSuperEvt, JACOUSTICS::JEvt, JACOUSTICS::JEvent, and JMARKOV::JPhotonPath.