LDMX Software
|
Pulse made out of difference of two sigmoids. More...
#include <QIEInputPulse.h>
Public Member Functions | |
Bimoid (float start, float qq) | |
Constructor. | |
virtual | ~Bimoid ()=default |
Default Destructor. | |
float | EvalSingle (float T, int id) override |
Evaluate the pulse at time T. | |
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. | |
float | Max (int id) override |
maximum of the pulse | |
float | Derivative (float T, int id) override |
Differentiate pulse at time T. | |
Public Member Functions inherited from trigscint::QIEInputPulse | |
virtual | ~QIEInputPulse ()=default |
Destructor. | |
float | Eval (float T) |
Evaluate the pulse train at time T. | |
void | AddPulse (float toff, float ampl) |
To add a pulse to the collection. | |
int | GetNPulses () |
Get the number of pulses in the collection. | |
Private Attributes | |
float | rt_ |
rise time | |
float | ft_ |
fall time | |
Additional Inherited Members | |
Protected Attributes inherited from trigscint::QIEInputPulse | |
std::vector< float > | toff_ |
collection of pulse time offsets | |
std::vector< float > | ampl_ |
collection of pulse amplitudes | |
Pulse made out of difference of two sigmoids.
Definition at line 74 of file QIEInputPulse.h.
trigscint::Bimoid::Bimoid | ( | float | start, |
float | |||
) |
Constructor.
Definition at line 32 of file QIEInputPulse.cxx.
|
overridevirtual |
Differentiate pulse at time T.
Implements trigscint::QIEInputPulse.
Definition at line 86 of file QIEInputPulse.cxx.
References trigscint::QIEInputPulse::ampl_, ft_, rt_, and trigscint::QIEInputPulse::toff_.
Referenced by Max().
|
overridevirtual |
Evaluate the pulse at time T.
Implements trigscint::QIEInputPulse.
Definition at line 37 of file QIEInputPulse.cxx.
References trigscint::QIEInputPulse::ampl_, ft_, rt_, and trigscint::QIEInputPulse::toff_.
float trigscint::Bimoid::I_Int | ( | float | T, |
int | id | ||
) |
Indefinite integral at time T.
Definition at line 57 of file QIEInputPulse.cxx.
References trigscint::QIEInputPulse::ampl_, ft_, rt_, and trigscint::QIEInputPulse::toff_.
Referenced by Integrate().
|
overridevirtual |
Integrate the pulse from T1 to T2.
Implements trigscint::QIEInputPulse.
Definition at line 47 of file QIEInputPulse.cxx.
References trigscint::QIEInputPulse::ampl_, I_Int(), and trigscint::QIEInputPulse::toff_.
|
overridevirtual |
maximum of the pulse
Implements trigscint::QIEInputPulse.
Definition at line 71 of file QIEInputPulse.cxx.
References Derivative().
|
private |
fall time
Definition at line 111 of file QIEInputPulse.h.
Referenced by Bimoid(), Derivative(), EvalSingle(), and I_Int().
|
private |
rise time
Definition at line 109 of file QIEInputPulse.h.
Referenced by Bimoid(), Derivative(), EvalSingle(), and I_Int().