15 Shaper(
const unsigned int n,
const double tau,
const double g,
16 std::string shaperType);
21 double Shape(
const double t)
const;
bool IsUnipolar() const
Is it a unipolar shaper?
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 m_transfer_func_sq
double TransferFuncSq() const
Return the integral of the transfer function squared.
void GetParameters(unsigned int &n, double &tp)
Retrieve the parameters.
Shaper(const unsigned int n, const double tau, const double g, std::string shaperType)
Constructor.
double Shape(const double t) const
Evaluate the transfer function.
bool IsBipolar() const
Is it a bipolar shaper?
double UnipolarShaper(const double t) const
Transfer function for a unipolar shaper.