A functor to provide a simple model of APV25 strip response.
More...
#include <WaveFitter.h>
|
double | m_tau |
| Waveform decay time.
|
|
A functor to provide a simple model of APV25 strip response.
Definition at line 25 of file WaveFitter.h.
◆ DefaultWave()
Constructor takes waveform decay time as parameter.
- Parameters
-
Definition at line 31 of file WaveFitter.h.
double m_tau
Waveform decay time.
◆ getTau()
◆ getValue()
double getValue |
( |
double |
t | ) |
const |
|
inline |
getValue() returns the value at desired time and time shift.
It is normalized to unit amplitude (value at maximum).
- Parameters
-
t | time at which wave has to be calculated |
- Returns
- waveform at time t
Definition at line 40 of file WaveFitter.h.
41 {
42 if (t < 0)
43 return 0.0;
44 else {
46 return z * std::exp(1.0 - z);
47 }
48 }
◆ m_tau
◆ s_default_tau
double s_default_tau = 50 |
|
static |
Default waveform decay time.
Definition at line 33 of file WaveFitter.h.
The documentation for this class was generated from the following files: