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

FPGA fitter class. More...

#include <ScintillatorFirmware.h>

Public Member Functions

 ScintillatorFirmware (int nPoints)
 Constructor. More...
 
 ~ScintillatorFirmware ()
 Destructor.
 
enum ScintillatorFirmwareFitStatus fit (const int *amp, int threshold, KLMScintillatorFirmwareFitResult *fitData)
 FPGA fitter. More...
 

Private Attributes

int m_nPoints
 Number of points.
 

Detailed Description

FPGA fitter class.

Definition at line 31 of file ScintillatorFirmware.h.

Constructor & Destructor Documentation

◆ ScintillatorFirmware()

ScintillatorFirmware ( int  nPoints)
explicit

Constructor.

Parameters
[in]nPointsNumber of points in amplitude arrays.

Definition at line 14 of file ScintillatorFirmware.cc.

14  :
15  m_nPoints(nPoints)
16 {
17 }

Member Function Documentation

◆ fit()

enum KLM::ScintillatorFirmwareFitStatus fit ( const int *  amp,
int  threshold,
KLMScintillatorFirmwareFitResult fitData 
)

FPGA fitter.

Parameters
[in]ampDigital amplitude.
[in]thresholdThreshold.
[out]fitDataFit data.
Returns
Fit status.

Definition at line 19 of file ScintillatorFirmware.cc.


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