Belle II Software  release-08-01-10
EclConfiguration::signalsample_t Struct Reference

a struct for a signal sample More...

#include <EclConfiguration.h>

Public Member Functions

void InitSample (const float *MP, double unitscale=-1)
 
void InitSample (const double *MPd, double unitscale=-1)
 
double Accumulate (const double a, const double t0, double *s) const
 

Public Attributes

double m_sumscale
 energy deposit in fitting window scale factor
 
double m_ft [m_nl *m_ns]
 Simulated signal shape.
 

Detailed Description

a struct for a signal sample

Definition at line 63 of file EclConfiguration.h.

Member Function Documentation

◆ Accumulate()

double Accumulate ( const double  a,
const double  t0,
double *  s 
) const
Parameters
[in]aSignal amplitude
[in]t0Signal offset
[out]sOutput array with added signal
Returns
Energy deposition in ADC units

Definition at line 79 of file EclConfiguration.cc.

◆ InitSample() [1/2]

void InitSample ( const double *  MPd,
double  unitscale = -1 
)
Parameters
MPdDouble array of waveform parameters
unitscaleNormalization of template waveform

Definition at line 53 of file EclConfiguration.cc.

◆ InitSample() [2/2]

void InitSample ( const float *  MP,
double  unitscale = -1 
)
Parameters
MPFloat array of waveform parameters
unitscaleNormalization of template waveform

Definition at line 67 of file EclConfiguration.cc.


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