Belle II Software  release-08-01-10
DefaultWave Class Reference

A functor to provide a simple model of APV25 strip response. More...

#include <WaveFitter.h>

Public Member Functions

 DefaultWave (double tau=s_default_tau)
 Constructor takes waveform decay time as parameter. More...
 
double getValue (double t) const
 getValue() returns the value at desired time and time shift. More...
 
double getTau () const
 return the decay time
 

Static Public Attributes

static double s_default_tau = 50
 Default waveform decay time.
 

Private Attributes

double m_tau
 Waveform decay time.
 

Detailed Description

A functor to provide a simple model of APV25 strip response.

Definition at line 25 of file WaveFitter.h.

Constructor & Destructor Documentation

◆ DefaultWave()

DefaultWave ( double  tau = s_default_tau)
inline

Constructor takes waveform decay time as parameter.

Parameters
tauwaveform decay time

Definition at line 31 of file WaveFitter.h.

31 : m_tau(tau) {}
double m_tau
Waveform decay time.
Definition: WaveFitter.h:55

Member Function Documentation

◆ 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
ttime at which wave has to be calculated
t0time shift - time when the wave starts to rise from 0
Returns
waveform at time t

Definition at line 41 of file WaveFitter.h.


The documentation for this class was generated from the following files: