Jpp
15.0.0-rc.2
the software that should make you happy
|
Transformer for the 1D probability density function (PDF) of the time response of a PMT due to a point source. More...
#include <JPDFTransformer.hh>
Public Types | |
typedef 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 | |
JPD0Transformer_t () | |
Default constructor. More... | |
JPD0Transformer_t (const double ln, const int alpha, const double kmin, const double kmax) | |
Constructor. More... | |
virtual clone_type | clone () const override |
Clone object. More... | |
virtual argument_type | putXn (const_array_type &buffer, const argument_type xn) const override |
Evaluate arrival time. More... | |
virtual argument_type | getXn (const_array_type &buffer, const argument_type xn) const override |
Evaluate arrival time. More... | |
virtual double | getWeight (const_array_type &buffer) const override |
Weight function. More... | |
virtual JReader & | read (JReader &in) override |
Read PDF transformer from input. More... | |
virtual JWriter & | write (JWriter &out) const override |
Write PDF transformer to output. More... | |
std::ostream & | print (std::ostream &out) const |
Print PDF transformer to output stream. More... | |
template<class... Args> | |
double | getWeight (const argument_type x, const Args &...args) const |
Weight function. More... | |
Static Public Member Functions | |
static double | getDmin () |
Get shortest distance. More... | |
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... | |
Transformer for the 1D probability density function (PDF) of the time response of a PMT due to a point source.
PDFs are evaluated by interpolation for:
The evaluation of the weights is based on:
Definition at line 254 of file JPDFTransformer.hh.
typedef JMultiMapTransformer<1, JArgument_t> JPHYSICS::JPD0Transformer_t< JArgument_t >::JMultiMapTransformer_t |
Definition at line 259 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::clone_type JPHYSICS::JPD0Transformer_t< JArgument_t >::clone_type |
Definition at line 261 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::argument_type JPHYSICS::JPD0Transformer_t< JArgument_t >::argument_type |
Definition at line 262 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::const_array_type JPHYSICS::JPD0Transformer_t< JArgument_t >::const_array_type |
Definition at line 263 of file JPDFTransformer.hh.
|
inherited |
Definition at line 39 of file JMultiMapTransformer.hh.
|
inherited |
Definition at line 43 of file JMultiMapTransformer.hh.
|
inline |
Default constructor.
Definition at line 281 of file JPDFTransformer.hh.
|
inline |
Constructor.
ln | Effective attenuation length [m] |
alpha | Distance dependence (power term) |
kmin | Minimal kappa |
kmax | Maximal kappa |
Definition at line 297 of file JPDFTransformer.hh.
|
inlinestatic |
|
inlineoverridevirtual |
Clone object.
Reimplemented from JLANG::JClonable< JClonable_t, JDerived_t >.
Definition at line 313 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Evaluate arrival time.
buffer | {D_m} |
xn | old t_ns |
Implements JTOOLS::JMultiMapTransformer< N, JArgument_t >.
Definition at line 326 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Evaluate arrival time.
buffer | {D_m} |
xn | old t_ns |
Implements JTOOLS::JMultiMapTransformer< N, JArgument_t >.
Definition at line 354 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Weight function.
buffer | {D_m} |
Implements JTOOLS::JMultiMapTransformer< N, JArgument_t >.
Definition at line 381 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Read PDF transformer from input.
in | reader |
Implements JIO::JSerialisable.
Definition at line 399 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Write PDF transformer to output.
out | writer |
Implements JIO::JSerialisable.
Definition at line 416 of file JPDFTransformer.hh.
|
inline |
Print PDF transformer to output stream.
out | output stream |
Definition at line 433 of file JPDFTransformer.hh.
|
inlineinherited |
Weight function.
x | first abscissa values |
args | comma seperated list of remaining abscissa values |
Definition at line 84 of file JMultiMapTransformer.hh.
|
inlinestaticinherited |
Get default transformer.
Definition at line 101 of file JMultiMapTransformer.hh.
|
inlinestaticinherited |
Get clone of default transformer.
Definition at line 114 of file JMultiMapTransformer.hh.
double JPHYSICS::JPD0Transformer_t< JArgument_t >::ln |
Effective attenuation length [m].
Definition at line 446 of file JPDFTransformer.hh.
int JPHYSICS::JPD0Transformer_t< JArgument_t >::alpha |
Distance dependence (power term)
Definition at line 447 of file JPDFTransformer.hh.
double JPHYSICS::JPD0Transformer_t< JArgument_t >::kmin |
minimal kappa
Definition at line 448 of file JPDFTransformer.hh.
double JPHYSICS::JPD0Transformer_t< JArgument_t >::kmax |
maximal kappa
Definition at line 449 of file JPDFTransformer.hh.