Jpp
|
Template specialisation of transformer of the 1D Probability Density Functions of the time response of a PMT. More...
#include <JPDFTransformer.hh>
Public Types | |
typedef JTOOLS::JMultiMapTransformer< 1, JArgument_t > | JMultiMapTransformer_t |
typedef JMultiMapTransformer_t::clone_type | clone_type |
typedef JMultiMapTransformer_t::argument_type | argument_type |
typedef JMultiMapTransformer_t::const_array_type | const_array_type |
typedef JMultiMapTransformer< N, JArgument_t > | multimaptransformer_type |
typedef JArray< N, argument_type > | array_type |
Public Member Functions | |
JPDFTransformer () | |
Default constructor. More... | |
JPDFTransformer (const double ln, const int alpha, const double kmin, const double kmax) | |
Constructor. More... | |
virtual clone_type | clone () const |
Clone object. More... | |
virtual argument_type | putXn (const_array_type &buffer, const argument_type xn) const |
Evaluate dt value as a function of {R}. More... | |
virtual argument_type | getXn (const_array_type &buffer, const argument_type xn) const |
Evaluate dt value as a function of {R}. More... | |
virtual double | getWeight (const_array_type &buffer) const |
Weight function. More... | |
virtual JReader & | read (JReader &in) |
Read PDF transformer from input. More... | |
virtual JWriter & | write (JWriter &out) const |
Write PDF transformer to output. More... | |
std::ostream & | print (std::ostream &out) const |
Print PDF transformer to output stream. More... | |
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... | |
Static Public Member Functions | |
static double | getRmin () |
static const JMultiMapTransformer & | getDefaultTransformer () |
Get default transformer. More... | |
static JMultiMapTransformer * | getClone () |
Get clone of default transformer. More... | |
Public Attributes | |
double | __ln |
Effective attenuation length [m]. More... | |
int | __alpha |
Distance dependence (power term) More... | |
double | __kmin |
minimal kappa More... | |
double | __kmax |
maximal kappa More... | |
Private Attributes | |
va_list | ap |
JArray< N, argument_type > | buffer |
Template specialisation of transformer of the 1D Probability Density Functions of the time response of a PMT.
PDFs are evaluated by interpolation for:
The evaluation of the weights is based on:
Definition at line 47 of file JPDFTransformer.hh.
typedef JTOOLS::JMultiMapTransformer<1, JArgument_t> JPHYSICS::JPDFTransformer< 1, JArgument_t >::JMultiMapTransformer_t |
Definition at line 52 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::clone_type JPHYSICS::JPDFTransformer< 1, JArgument_t >::clone_type |
Definition at line 54 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::argument_type JPHYSICS::JPDFTransformer< 1, JArgument_t >::argument_type |
Definition at line 55 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::const_array_type JPHYSICS::JPDFTransformer< 1, JArgument_t >::const_array_type |
Definition at line 56 of file JPDFTransformer.hh.
|
inherited |
Definition at line 41 of file JMultiMapTransformer.hh.
|
inherited |
Definition at line 45 of file JMultiMapTransformer.hh.
|
inline |
|
inline |
|
inlinestatic |
Definition at line 60 of file JPDFTransformer.hh.
|
inlinevirtual |
Clone object.
Reimplemented from JLANG::JClonable< JClonable_t, JDerived_t >.
Definition at line 98 of file JPDFTransformer.hh.
|
inlinevirtual |
Evaluate dt value as a function of {R}.
buffer | {R} |
xn | old dt value |
Definition at line 111 of file JPDFTransformer.hh.
|
inlinevirtual |
Evaluate dt value as a function of {R}.
buffer | {R} |
xn | old dt value |
Definition at line 139 of file JPDFTransformer.hh.
|
inlinevirtual |
Weight function.
buffer | {R} |
Definition at line 166 of file JPDFTransformer.hh.
|
inlinevirtual |
Read PDF transformer from input.
in | reader |
Implements JIO::JSerialisable.
Definition at line 188 of file JPDFTransformer.hh.
|
inlinevirtual |
Write PDF transformer to output.
out | writer |
Implements JIO::JSerialisable.
Definition at line 205 of file JPDFTransformer.hh.
|
inline |
Print PDF transformer to output stream.
out | output stream |
Definition at line 222 of file JPDFTransformer.hh.
|
pure virtualinherited |
Evaluate xn value as a function of {x0, ..., xn-1}.
buffer | x0 - xn-1 values |
xn | xn value |
|
pure virtualinherited |
Evaluate xn value as a function of {x0, ..., xn-1}.
buffer | x0 - xn-1 values |
xn | xn value |
|
pure virtualinherited |
Weight function.
buffer | x0 - xn-1 values |
|
inlineinherited |
Weight function.
x | comma seperated list of abscissa values |
Definition at line 84 of file JMultiMapTransformer.hh.
|
inlinestaticinherited |
Get default transformer.
Definition at line 111 of file JMultiMapTransformer.hh.
|
inlinestaticinherited |
Get clone of default transformer.
Definition at line 124 of file JMultiMapTransformer.hh.
double JPHYSICS::JPDFTransformer< 1, JArgument_t >::__ln |
Effective attenuation length [m].
Definition at line 235 of file JPDFTransformer.hh.
int JPHYSICS::JPDFTransformer< 1, JArgument_t >::__alpha |
Distance dependence (power term)
Definition at line 236 of file JPDFTransformer.hh.
double JPHYSICS::JPDFTransformer< 1, JArgument_t >::__kmin |
minimal kappa
Definition at line 237 of file JPDFTransformer.hh.
double JPHYSICS::JPDFTransformer< 1, JArgument_t >::__kmax |
maximal kappa
Definition at line 238 of file JPDFTransformer.hh.
|
mutableprivateinherited |
Definition at line 131 of file JMultiMapTransformer.hh.
|
mutableprivateinherited |
Definition at line 132 of file JMultiMapTransformer.hh.