Class for signal processing.
More...
#include <Shaper.hh>
|
| | Shaper ()=delete |
| | Default constructor.
|
| | Shaper (const unsigned int n, const double tau, const double g, std::string shaperType) |
| | Constructor.
|
| | ~Shaper () |
| | Destructor.
|
| double | Shape (const double t) const |
| | Evaluate the transfer function.
|
| double | UnipolarShaper (const double t) const |
| | Transfer function for a unipolar shaper.
|
| double | BipolarShaper (const double t) const |
| | Transfer function for a bipolar shaper.
|
| double | PeakingTime () const |
| | Time for the transfer function to rise from zero to peak height.
|
| double | TransferFuncSq () const |
| | Return the integral of the transfer function squared.
|
| bool | IsUnipolar () const |
| | Is it a unipolar shaper?
|
| bool | IsBipolar () const |
| | Is it a bipolar shaper?
|
| void | GetParameters (unsigned int &n, double &tp) |
| | Retrieve the parameters.
|
Class for signal processing.
Definition at line 10 of file Shaper.hh.
◆ ShaperType
| Enumerator |
|---|
| Unipolar | |
| Bipolar | |
Definition at line 46 of file Shaper.hh.
46{ Unipolar = 0, Bipolar };
◆ Shaper() [1/2]
| Garfield::Shaper::Shaper |
( |
| ) |
|
|
delete |
◆ Shaper() [2/2]
| Garfield::Shaper::Shaper |
( |
const unsigned int | n, |
|
|
const double | tau, |
|
|
const double | g, |
|
|
std::string | shaperType ) |
◆ ~Shaper()
| Garfield::Shaper::~Shaper |
( |
| ) |
|
|
inline |
◆ BipolarShaper()
| double Garfield::Shaper::BipolarShaper |
( |
const double | t | ) |
const |
Transfer function for a bipolar shaper.
◆ GetParameters()
| void Garfield::Shaper::GetParameters |
( |
unsigned int & | n, |
|
|
double & | tp ) |
|
inline |
Retrieve the parameters.
Definition at line 37 of file Shaper.hh.
◆ IsBipolar()
| bool Garfield::Shaper::IsBipolar |
( |
| ) |
const |
|
inline |
Is it a bipolar shaper?
Definition at line 35 of file Shaper.hh.
◆ IsUnipolar()
| bool Garfield::Shaper::IsUnipolar |
( |
| ) |
const |
|
inline |
Is it a unipolar shaper?
Definition at line 33 of file Shaper.hh.
◆ PeakingTime()
| double Garfield::Shaper::PeakingTime |
( |
| ) |
const |
|
inline |
Time for the transfer function to rise from zero to peak height.
Definition at line 27 of file Shaper.hh.
◆ Shape()
| double Garfield::Shaper::Shape |
( |
const double | t | ) |
const |
Evaluate the transfer function.
◆ TransferFuncSq()
| double Garfield::Shaper::TransferFuncSq |
( |
| ) |
const |
|
inline |
Return the integral of the transfer function squared.
Definition at line 30 of file Shaper.hh.
double m_transfer_func_sq
◆ UnipolarShaper()
| double Garfield::Shaper::UnipolarShaper |
( |
const double | t | ) |
const |
Transfer function for a unipolar shaper.
◆ m_className
| std::string Garfield::Shaper::m_className = "Shaper" |
|
private |
◆ m_g
| double Garfield::Shaper::m_g = 1. |
|
private |
◆ m_n
| unsigned int Garfield::Shaper::m_n = 1 |
|
private |
◆ m_prefactor
| double Garfield::Shaper::m_prefactor = 1. |
|
private |
◆ m_tau
| double Garfield::Shaper::m_tau = 1. |
|
private |
◆ m_tp
| double Garfield::Shaper::m_tp = 1. |
|
private |
◆ m_transfer_func_sq
| double Garfield::Shaper::m_transfer_func_sq = -1. |
|
private |
◆ m_type
The documentation for this class was generated from the following file:
- /builds/garfield/docs/source/Include/Garfield/Shaper.hh