|
LDMX Software
|
The base class to store the most important functions. More...
#include <QIEInputPulse.h>
Public Member Functions | |
| virtual | ~QIEInputPulse ()=default |
| Destructor. | |
| float | eval (float T) |
| Evaluate the pulse train at time T. | |
| virtual float | evalSingle (float T, int id)=0 |
| Evaluate the pulse train at time T. | |
| virtual float | integrate (float T1, float T2)=0 |
| Integrate the pulse from T1 to T2. | |
| virtual float | derivative (float T, int id)=0 |
| Differentiate pulse at time T. | |
| virtual float | max (int id)=0 |
| maximum of the pulse | |
| void | addPulse (float toff, float ampl) |
| To add a pulse to the collection. | |
| int | getNPulses () |
| Get the number of pulses in the collection. | |
Protected Attributes | |
| std::vector< float > | toff_ |
| collection of pulse time offsets | |
| std::vector< float > | ampl_ |
| collection of pulse amplitudes | |
The base class to store the most important functions.
Definition at line 17 of file QIEInputPulse.h.
| void trigscint::QIEInputPulse::addPulse | ( | float | toff, |
| float | ampl ) |
To add a pulse to the collection.
| toff | time at which the pulse starts |
| ampl | pulse amplitude (total area under the curve) |
Definition at line 13 of file QIEInputPulse.cxx.
|
pure virtual |
Differentiate pulse at time T.
Implemented in trigscint::Bimoid, and trigscint::Expo.
| float trigscint::QIEInputPulse::eval | ( | float | T | ) |
Evaluate the pulse train at time T.
Definition at line 18 of file QIEInputPulse.cxx.
References ampl_, and evalSingle().
Referenced by trigscint::SimQIE::tdc().
|
pure virtual |
Evaluate the pulse train at time T.
Implemented in trigscint::Bimoid, and trigscint::Expo.
Referenced by eval().
|
inline |
Get the number of pulses in the collection.
Definition at line 58 of file QIEInputPulse.h.
References ampl_.
Referenced by trigscint::SimQIE::pulseCut().
|
pure virtual |
Integrate the pulse from T1 to T2.
Implemented in trigscint::Bimoid, and trigscint::Expo.
Referenced by trigscint::SimQIE::outAdc(), and trigscint::SimQIE::pulseCut().
|
pure virtual |
maximum of the pulse
Implemented in trigscint::Bimoid, and trigscint::Expo.
|
protected |
collection of pulse amplitudes
Definition at line 65 of file QIEInputPulse.h.
Referenced by addPulse(), trigscint::Bimoid::derivative(), trigscint::Expo::derivative(), eval(), trigscint::Bimoid::evalSingle(), trigscint::Expo::evalSingle(), getNPulses(), trigscint::Bimoid::iInt(), trigscint::Expo::iInt(), trigscint::Bimoid::integrate(), trigscint::Expo::integrate(), and trigscint::Expo::max().
|
protected |
collection of pulse time offsets
Definition at line 62 of file QIEInputPulse.h.
Referenced by addPulse(), trigscint::Bimoid::derivative(), trigscint::Expo::derivative(), trigscint::Bimoid::evalSingle(), trigscint::Expo::evalSingle(), trigscint::Bimoid::iInt(), trigscint::Expo::iInt(), trigscint::Bimoid::integrate(), and trigscint::Expo::integrate().