Belle II Software development
SVDWaveform::ElementaryWaveform Struct Reference

Type to store elementary waveform parameters. More...

#include <SVDWaveform.h>

Public Member Functions

 ElementaryWaveform (double initTime, double charge, double tau, WaveformShape wfun, RelationElement::index_type particle, RelationElement::index_type truehit)
 Constructor.
 
std::string toString () const
 Create a string containing data of this ElementaryWaveform object.
 

Public Attributes

double m_initTime
 Start time of the waveform.
 
double m_charge
 Charge of the waveform.
 
double m_tau
 Decay time of the waveform.
 
WaveformShape m_wfun
 Waveform shape.
 
RelationElement::index_type m_particle
 DataStore index of the generating MC Particle.
 
RelationElement::index_type m_truehit
 DataStore index of the associated SVDTrueHit.
 

Detailed Description

Type to store elementary waveform parameters.

Waveforms are parameterized (in this order) by location parameter (initTime), norm (charge), decay time (tau) and waveform shape function. It is assumed that each chargelet is generated by a single MCParticle and it contributes to a single TrueHit.

Definition at line 48 of file SVDWaveform.h.

Constructor & Destructor Documentation

◆ ElementaryWaveform()

ElementaryWaveform ( double  initTime,
double  charge,
double  tau,
WaveformShape  wfun,
RelationElement::index_type  particle,
RelationElement::index_type  truehit 
)
inline

Constructor.

Definition at line 50 of file SVDWaveform.h.

51 :
52 m_initTime(initTime), m_charge(charge), m_tau(tau), m_wfun(wfun),
53 m_particle(particle), m_truehit(truehit)
54 {}
RelationElement::index_type m_truehit
DataStore index of the associated SVDTrueHit.
Definition: SVDWaveform.h:73
RelationElement::index_type m_particle
DataStore index of the generating MC Particle.
Definition: SVDWaveform.h:71
double m_tau
Decay time of the waveform.
Definition: SVDWaveform.h:67
double m_charge
Charge of the waveform.
Definition: SVDWaveform.h:65
WaveformShape m_wfun
Waveform shape.
Definition: SVDWaveform.h:69
double m_initTime
Start time of the waveform.
Definition: SVDWaveform.h:63

Member Function Documentation

◆ toString()

std::string toString ( ) const
inline

Create a string containing data of this ElementaryWaveform object.

Definition at line 56 of file SVDWaveform.h.

57 {
58 std::ostringstream os;
59 os << m_initTime << '\t' << m_charge << '\t' << m_tau << std::endl;
60 return os.str();
61 }

Member Data Documentation

◆ m_charge

double m_charge

Charge of the waveform.

Definition at line 65 of file SVDWaveform.h.

◆ m_initTime

double m_initTime

Start time of the waveform.

Definition at line 63 of file SVDWaveform.h.

◆ m_particle

DataStore index of the generating MC Particle.

Definition at line 71 of file SVDWaveform.h.

◆ m_tau

double m_tau

Decay time of the waveform.

Definition at line 67 of file SVDWaveform.h.

◆ m_truehit

DataStore index of the associated SVDTrueHit.

Definition at line 73 of file SVDWaveform.h.

◆ m_wfun

WaveformShape m_wfun

Waveform shape.

Definition at line 69 of file SVDWaveform.h.


The documentation for this struct was generated from the following file: