Jpp
master_rocky
the software that should make you happy
|
Transformer for the 2D probability density function (PDF) of the time response of a PMT due to an EM shower. More...
#include <JPDFTransformer.hh>
Public Types | |
typedef JPD0Transformer_t< JArgument_t > | JFunction1DTransformer_t |
typedef JMultiMapTransformer< 2, 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 | |
JPDGTransformer_t () | |
Default constructor. More... | |
JPDGTransformer_t (const double ln, const int alpha, const double kmin, const double kmax, const JGeant_t &geant, const double bmin) | |
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... | |
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... | |
template<class ... Args> | |
double | getWeight (const argument_type x, const Args &...args) const |
Weight function. More... | |
Static Public Member Functions | |
static const JMultiMapTransformer & | getDefaultTransformer () |
Get default transformer. More... | |
static JMultiMapTransformer * | getClone () |
Get clone of default transformer. More... | |
Public Attributes | |
JFunction1DTransformer_t | transformer |
JGeant_t | getShowerProbability |
Transformer for the 2D probability density function (PDF) of the time response of a PMT due to an EM shower.
PDFs are evaluated by interpolation for:
The evaluation of the weights is based on:
Definition at line 466 of file JPDFTransformer.hh.
typedef JPD0Transformer_t<JArgument_t> JPHYSICS::JPDGTransformer_t< JArgument_t >::JFunction1DTransformer_t |
Definition at line 471 of file JPDFTransformer.hh.
typedef JMultiMapTransformer<2, JArgument_t> JPHYSICS::JPDGTransformer_t< JArgument_t >::JMultiMapTransformer_t |
Definition at line 472 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::clone_type JPHYSICS::JPDGTransformer_t< JArgument_t >::clone_type |
Definition at line 474 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::argument_type JPHYSICS::JPDGTransformer_t< JArgument_t >::argument_type |
Definition at line 475 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::const_array_type JPHYSICS::JPDGTransformer_t< JArgument_t >::const_array_type |
Definition at line 476 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 484 of file JPDFTransformer.hh.
|
inline |
Constructor.
ln | Effective attenuation length [m] |
alpha | Distance dependence (power term) |
kmin | Minimal kappa |
kmax | Maximal kappa |
geant | Function photon emission from EM-shower |
bmin | Baseline photon emission from EM-shower |
Definition at line 500 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Clone object.
Reimplemented from JLANG::JClonable< JClonable_t, JDerived_t >.
Definition at line 519 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Evaluate arrival time.
buffer | {D_m, cd} |
xn | old t_ns |
Implements JTOOLS::JMultiMapTransformer< N, JArgument_t >.
Definition at line 532 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Evaluate arrival time.
buffer | {D_m, cd} |
xn | old t_ns |
Implements JTOOLS::JMultiMapTransformer< N, JArgument_t >.
Definition at line 545 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Weight function.
buffer | {D_m, cd} |
Implements JTOOLS::JMultiMapTransformer< N, JArgument_t >.
Definition at line 557 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Read PDF transformer from input.
in | reader |
Implements JIO::JSerialisable.
Definition at line 574 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Write PDF transformer to output.
out | writer |
Implements JIO::JSerialisable.
Definition at line 589 of file JPDFTransformer.hh.
|
inline |
Print PDF transformer to output stream.
out | output stream |
Definition at line 604 of file JPDFTransformer.hh.
virtual double JTOOLS::JMultiMapTransformer< N, JArgument_t >::getWeight |
Weight function.
buffer | x0 - xn-1 values |
|
inline |
Weight function.
x | first abscissa values |
args | comma seperated list of remaining abscissa values |
Definition at line 84 of file JMultiMapTransformer.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.
JFunction1DTransformer_t JPHYSICS::JPDGTransformer_t< JArgument_t >::transformer |
Definition at line 610 of file JPDFTransformer.hh.
JGeant_t JPHYSICS::JPDGTransformer_t< JArgument_t >::getShowerProbability |
Definition at line 611 of file JPDFTransformer.hh.