Jpp
17.3.1
the software that should make you happy
|
Transformer for the 1D probability density function (PDF) of the time response of a PMT to a muon. 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 | |
JPDFTransformer_t () | |
Default constructor. More... | |
JPDFTransformer_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 | getRmin () |
Get shortest distance of approach. 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 to a muon.
PDFs are evaluated by interpolation for:
The evaluation of the weights is based on:
Definition at line 40 of file JPDFTransformer.hh.
typedef JMultiMapTransformer<1, JArgument_t> JPHYSICS::JPDFTransformer_t< JArgument_t >::JMultiMapTransformer_t |
Definition at line 45 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::clone_type JPHYSICS::JPDFTransformer_t< JArgument_t >::clone_type |
Definition at line 47 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::argument_type JPHYSICS::JPDFTransformer_t< JArgument_t >::argument_type |
Definition at line 48 of file JPDFTransformer.hh.
typedef JMultiMapTransformer_t::const_array_type JPHYSICS::JPDFTransformer_t< JArgument_t >::const_array_type |
Definition at line 49 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 67 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 83 of file JPDFTransformer.hh.
|
inlinestatic |
Get shortest distance of approach.
Definition at line 58 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Clone object.
Reimplemented from JLANG::JClonable< JClonable_t, JDerived_t >.
Definition at line 99 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Evaluate arrival time.
buffer | {R_m} |
xn | old t_ns |
Implements JTOOLS::JMultiMapTransformer< N, JArgument_t >.
Definition at line 112 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Evaluate arrival time.
buffer | {R_m} |
xn | old t_ns |
Implements JTOOLS::JMultiMapTransformer< N, JArgument_t >.
Definition at line 140 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Weight function.
buffer | {R_m} |
Implements JTOOLS::JMultiMapTransformer< N, JArgument_t >.
Definition at line 167 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Read PDF transformer from input.
in | reader |
Implements JIO::JSerialisable.
Definition at line 189 of file JPDFTransformer.hh.
|
inlineoverridevirtual |
Write PDF transformer to output.
out | writer |
Implements JIO::JSerialisable.
Definition at line 206 of file JPDFTransformer.hh.
|
inline |
Print PDF transformer to output stream.
out | output stream |
Definition at line 223 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::JPDFTransformer_t< JArgument_t >::ln |
Effective attenuation length [m].
Definition at line 236 of file JPDFTransformer.hh.
int JPHYSICS::JPDFTransformer_t< JArgument_t >::alpha |
Distance dependence (power term)
Definition at line 237 of file JPDFTransformer.hh.
double JPHYSICS::JPDFTransformer_t< JArgument_t >::kmin |
minimal kappa
Definition at line 238 of file JPDFTransformer.hh.
double JPHYSICS::JPDFTransformer_t< JArgument_t >::kmax |
maximal kappa
Definition at line 239 of file JPDFTransformer.hh.