![]() |
Belle II Software
release-06-02-00
|
Interpolate signal shape using function values and the first derivative. More...
#include <ECLWaveformFit.h>
Public Member Functions | |
| SignalInterpolation2 () | |
| Default constructor. | |
| SignalInterpolation2 (const std::vector< double > &) | |
| Constructor with parameters with the parameter layout as in ECLDigitWaveformParameters. | |
| void | getshape (double, val_der_t *) const |
| returns signal shape(+derivatives) in 31 equidistant time points starting from T0 | |
Public Attributes | |
| std::pair< double, double > | m_F [c_nt *c_ndt+c_ntail] |
| storage for function value + first derivative | |
| double | m_r0 |
| assuming exponential drop of the signal function far away from 0, extrapolate it to +inf f(i_last + i) = f(i_last)*m_r0^i f'(i_last + i) = f'(i_last)*m_r1^i where i_last is the last point within sampled values in m_F | |
| double | m_r1 |
| see above | |
Static Public Attributes | |
| constexpr static int | c_nt = 12 |
| Signal function is sampled in c_nt time steps with c_ndt substeps + c_ntail steps c_dt is the time step. | |
| constexpr static int | c_ndt = 5 |
| substeps | |
| constexpr static int | c_ntail = 20 |
| tail steps | |
| constexpr static double | c_dt = 0.5 |
| time step | |
| constexpr static double | c_idt = 1 / c_dt |
| inverted time step | |
| constexpr static double | c_dtn = c_dt / c_ndt |
| time substep | |
| constexpr static double | c_idtn = c_ndt / c_dt |
| inverted time substep | |
Interpolate signal shape using function values and the first derivative.
Definition at line 59 of file ECLWaveformFit.h.