|
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 | iInt (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 | qq ) |
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::iInt | ( | 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_, iInt(), 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 iInt().
|
private |
rise time
Definition at line 109 of file QIEInputPulse.h.
Referenced by Bimoid(), derivative(), evalSingle(), and iInt().