Belle II Software development
|
The SVD waveform class. More...
#include <SVDWaveform.h>
Classes | |
struct | ElementaryWaveform |
Type to store elementary waveform parameters. More... | |
Public Types | |
typedef std::deque< ElementaryWaveform > | elementary_waveform_list |
List of elementary waveforms. | |
typedef std::map< RelationElement::index_type, RelationElement::weight_type > | relations_map |
Type to store contributions to strip signal by different particles on output of SVDWaveform. | |
typedef std::map< RelationElement::index_type, RelationElement::weight_type >::value_type | relation_value_type |
Type of relation_map elements. | |
Public Member Functions | |
SVDWaveform () | |
Default constructor. | |
SVDWaveform (const SVDWaveform &other) | |
Copy constructor. | |
void | add (double initTime, double charge, double tau, int particle=-1, int truehit=-1, WaveformShape wfun=w_betaprime) |
Add a chargelet waveform to the total strip waveform. | |
SVDWaveform & | operator= (const SVDWaveform &other) |
Make the SVDWaveform assignable. | |
double | waveform (double t, double initTime, double charge, double tau, WaveformShape wfun=w_betaprime) const |
Waveform shape. | |
double | waveform (double t, const ElementaryWaveform &elemWaveform) const |
Waveform taking parameters from a ElementaryWaveform struct. | |
double | operator() (double t) const |
Make SVDWaveform a functor. | |
double | getCharge () const |
Return the charge collected in the strip. | |
const elementary_waveform_list & | getElementaryWaveforms () const |
Return the list of waveform parameters. | |
const relations_map & | getMCParticleRelations () const |
Return the list of MCParticle relations. | |
const relations_map & | getTrueHitRelations () const |
Return the list of TrueHit relations. | |
std::string | toString () const |
Produce a string representation of the object. | |
Protected Attributes | |
double | m_charge |
charge of the pixel | |
elementary_waveform_list | m_elementaryWaveforms |
list of elementary waveform parameters. | |
relations_map | m_particles |
Map of MCParticle associations. | |
relations_map | m_truehits |
Map of TrueHit associations. | |
The SVD waveform class.
The class implements the waveform appearing on an SVD strip as a result of ionization by particles passing through the detector. The class accumulates elementary waveforms formed by chargelets contributing to the charge accumulated on the strip. Currently two types of elementary waveforms are in use: w_betaprime and w_adjacent. The class is a functor returning values of summary waveform at a given time. Poisson and gaussian noises will be added externally.
Definition at line 38 of file SVDWaveform.h.
typedef std::deque< ElementaryWaveform > elementary_waveform_list |
List of elementary waveforms.
Definition at line 77 of file SVDWaveform.h.
typedef std::map<RelationElement::index_type,RelationElement::weight_type>::value_type relation_value_type |
Type of relation_map elements.
Definition at line 82 of file SVDWaveform.h.
typedef std::map<RelationElement::index_type, RelationElement::weight_type> relations_map |
Type to store contributions to strip signal by different particles on output of SVDWaveform.
Definition at line 80 of file SVDWaveform.h.
|
inline |
|
inline |
Copy constructor.
Definition at line 88 of file SVDWaveform.h.
|
inline |
Add a chargelet waveform to the total strip waveform.
Negative sign of charge has a special meaning, it designates noise signal carrying otherwise no useful information.
charge | Charge in electrons to be added |
initTime | Time of arrival of the chargelet to the sensitive surface of the sensor. |
tau | Characteristic time of waveform decay. |
particle | Index of the particle contributing the charge, -1 for no particle/noise |
truehit | Index of the truehit corresponding to the particle that contributed the charge. |
wfun | waveform shaper function |
Definition at line 106 of file SVDWaveform.h.
|
inline |
Return the charge collected in the strip.
Definition at line 169 of file SVDWaveform.h.
|
inline |
Return the list of waveform parameters.
Definition at line 174 of file SVDWaveform.h.
|
inline |
Return the list of MCParticle relations.
Definition at line 179 of file SVDWaveform.h.
|
inline |
Return the list of TrueHit relations.
Definition at line 184 of file SVDWaveform.h.
|
inline |
Make SVDWaveform a functor.
t | The time at which output is to be calculated. |
Definition at line 157 of file SVDWaveform.h.
|
inline |
Make the SVDWaveform assignable.
other | The original signal. |
Definition at line 121 of file SVDWaveform.h.
|
inline |
Produce a string representation of the object.
Definition at line 186 of file SVDWaveform.h.
|
inline |
Waveform taking parameters from a ElementaryWaveform struct.
t | The time at which the function is to be calculated. |
elemWaveform | The SVDWaveform::ElementaryWaveform struct with parameters of a waveform. |
Definition at line 150 of file SVDWaveform.h.
|
inline |
Waveform shape.
t | The time at which the function is to be calculated. |
initTime | The initial time of the waveform. |
charge | The charge (peak value) of the waveform. |
tau | The scale parameter (decay time) of the waveform. |
wfun | The functional form of the waveform. Default is betaprime. The function is normalized to peak value of 1. |
Definition at line 138 of file SVDWaveform.h.
|
protected |
charge of the pixel
Definition at line 198 of file SVDWaveform.h.
|
protected |
list of elementary waveform parameters.
Definition at line 200 of file SVDWaveform.h.
|
protected |
Map of MCParticle associations.
Definition at line 202 of file SVDWaveform.h.
|
protected |
Map of TrueHit associations.
Definition at line 204 of file SVDWaveform.h.