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 I_Int(
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 I_Int(
float T,
int id);
Pulse made out of difference of two sigmoids.
float EvalSingle(float T, int id) override
Evaluate the pulse at time T.
float Max(int id) override
maximum of the pulse
virtual ~Bimoid()=default
Default Destructor.
float Integrate(float T1, float T2) override
Integrate the pulse from T1 to T2.
float Derivative(float T, int id) override
Differentiate pulse at time T.
float I_Int(float T, int id)
Indefinite integral at time T.
piece-wise exponential pulse, modelled as an output of a capacitor
float Max(int id) override
maximum of the pulse
float k_
1/RC time constant (for the capacitor)
float I_Int(float T, int id)
Indefinite integral at time T.
float Integrate(float T1, float T2) override
Integrate the pulse from T1 to T2.
Expo()
The default constructor.
float GetFall()
Get Fall time of the pulse.
float Derivative(float T, int id) override
Differentiate pulse at time T.
virtual ~Expo()=default
main constructor
void SetRiseFall(float rr, float ff)
Set Rise and Fall time of the pulse.
float GetRise()
Get Rise time of the pulse.
float tmax_
time when pulse attains maximum
float EvalSingle(float T, int id) override
Evaluate the pulse at time T.