Belle II Software  release-08-01-10
TOPSignalShape Class Reference

Normalized shape of single photon pulse (waveform) Pulse must be positive. More...

#include <TOPSignalShape.h>

Inheritance diagram for TOPSignalShape:
Collaboration diagram for TOPSignalShape:

Public Member Functions

 TOPSignalShape ()
 Default constructor.
 
 TOPSignalShape (std::vector< double > shape, double timeBin, double tau, double pole1, double pole2)
 Full constructor. More...
 
 TOPSignalShape (const TOPSignalShape &shape)
 Copy constructor.
 
TOPSignalShapeoperator= (const TOPSignalShape &shape)
 Assignment operator.
 
 ~TOPSignalShape ()
 Destructor.
 
double getValue (double t) const
 Returns value at time t of the normalized waveform using interpolator. More...
 
double getTMin () const
 Returns time of the first waveform sample. More...
 
double getTMax () const
 Returns time of the last waveform sample. More...
 
double getPeakingTime () const
 Returns peaking time of the signal. More...
 
double getTau () const
 Returns time constant of the exponential used for the extrapolation of tail. More...
 
double getPole1 () const
 Returns first pole of noise bandwidth. More...
 
double getPole2 () const
 Returns second pole of noise bandwidth. More...
 
const std::vector< double > & getShape () const
 Returns waveform values. More...
 
const TSpline5 * getInterpolator () const
 Returns interpolator. More...
 

Private Member Functions

 ClassDef (TOPSignalShape, 1)
 do not write out More...
 

Private Attributes

std::vector< double > m_shape
 waveform values
 
double m_tmin = 0
 time of the first waveform sample [ns]
 
double m_tmax = 0
 time of the last waveform sample [ns]
 
double m_tau = 0
 time constant of the exponential tail [ns]
 
double m_pole1 = 0
 noise bandwidth: first pole [GHz]
 
double m_pole2 = 0
 noise bandwidth: second pole [GHz]
 
TSpline5 * m_interpolator = 0
 cache for the interpolator
 
double m_peakTime = 0
 do not write out More...
 

Detailed Description

Normalized shape of single photon pulse (waveform) Pulse must be positive.

Definition at line 25 of file TOPSignalShape.h.

Member Function Documentation

◆ ClassDef()

ClassDef ( TOPSignalShape  ,
 
)
private

do not write out

ClassDef

◆ getInterpolator()

const TSpline5* getInterpolator ( ) const
inline

Returns interpolator.

Returns
interpolator

Definition at line 133 of file TOPSignalShape.h.

133 {return m_interpolator;}
TSpline5 * m_interpolator
cache for the interpolator

◆ getPole1()

double getPole1 ( ) const
inline

Returns first pole of noise bandwidth.

Returns
first pole [GHz]

Definition at line 115 of file TOPSignalShape.h.

◆ getPole2()

double getPole2 ( ) const
inline

Returns second pole of noise bandwidth.

Returns
second pole [GHz]

Definition at line 121 of file TOPSignalShape.h.

◆ getShape()

const std::vector<double>& getShape ( ) const
inline

Returns waveform values.

Returns
vector of normalized values

Definition at line 127 of file TOPSignalShape.h.

◆ getTau()

double getTau ( ) const
inline

Returns time constant of the exponential used for the extrapolation of tail.

Returns
time constant [ns]

Definition at line 109 of file TOPSignalShape.h.

◆ getTMax()

double getTMax ( ) const
inline

Returns time of the last waveform sample.

Returns
time [ns]

Definition at line 97 of file TOPSignalShape.h.

◆ getTMin()

double getTMin ( ) const
inline

Returns time of the first waveform sample.

Returns
time [ns]

Definition at line 91 of file TOPSignalShape.h.

Member Data Documentation

◆ m_peakTime

double m_peakTime = 0
mutableprivate

do not write out

cache for peaking time

Definition at line 148 of file TOPSignalShape.h.


The documentation for this class was generated from the following files: