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::Out_ADC(), 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::I_Int(), trigscint::Expo::I_Int(), 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::I_Int(), trigscint::Expo::I_Int(), trigscint::Bimoid::Integrate(), and trigscint::Expo::Integrate().