2#ifndef TRIGSCINT_QIEINPUTPULSE_H
3#define TRIGSCINT_QIEINPUTPULSE_H
46 virtual float max(
int id) = 0;
53 void addPulse(
float toff,
float ampl);
77 Bimoid(
float start,
float qq);
90 float iInt(
float T,
int id);
95 float integrate(
float T1,
float T2)
override;
100 float max(
int id)
override;
134 Expo(
float k,
float tmax);
165 float integrate(
float T1,
float T2)
override;
170 float max(
int id)
override;
190 float iInt(
float T,
int id);
Pulse made out of difference of two sigmoids.
float iInt(float T, int id)
Indefinite integral at time T.
float max(int id) override
maximum of the pulse
Bimoid(float start, float qq)
Constructor.
virtual ~Bimoid()=default
Default Destructor.
float integrate(float T1, float T2) override
Integrate the pulse from T1 to T2.
float evalSingle(float T, int id) override
Evaluate the pulse at time T.
float derivative(float T, int id) override
Differentiate pulse at time T.
piece-wise exponential pulse, modelled as an output of a capacitor
float evalSingle(float T, int id) override
Evaluate the pulse at time T.
float iInt(float T, int id)
Indefinite integral at time T.
float k_
1/RC time constant (for the capacitor)
float getRise()
Get Rise time of the pulse.
float derivative(float T, int id) override
Differentiate pulse at time T.
Expo()
The default constructor.
float max(int id) override
maximum of the pulse
float integrate(float T1, float T2) override
Integrate the pulse from T1 to T2.
float getFall()
Get Fall time of the pulse.
virtual ~Expo()=default
main constructor
float tmax_
time when pulse attains maximum
void setRiseFall(float rr, float ff)
Set Rise and Fall time of the pulse.