16 Shaper(
const unsigned int n,
const double tau,
const double g,
17 std::string shaperType);
22 double Shape(
const double t)
const;
34 std::string m_className =
"Shaper";
37 enum class ShaperType { Unipolar = 0, Bipolar };
38 ShaperType m_type = ShaperType::Unipolar;
46 double m_prefactor = 1.;
50 double m_transfer_func_sq = -1.;
Class for signal processing.
double BipolarShaper(const double t) const
Transfer function for a bipolar shaper.
Shaper()=delete
Default constructor.
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.
double Shape(const double t) const
Evaluate the transfer function.
double UnipolarShaper(const double t) const
Transfer function for a unipolar shaper.