Belle II Software development
CDCFEElectronics Class Reference

Database object for Fron-endt electronics params. More...

#include <CDCFEElectronics.h>

Inheritance diagram for CDCFEElectronics:

Public Member Functions

 CDCFEElectronics ()
 Default constructor.
 
 CDCFEElectronics (short boardID, short width, short trgDelay, short aTh, short tThMV)
 Constructor.
 
short getBoardID () const
 Getter for width of time window.
 
short getWidthOfTimeWindow () const
 Getter for width of time window.
 
short getTrgDelay () const
 Getter for trigger delay.
 
short getTDCThreshInMV () const
 Getter for voltage threshold (mV) for timing-signal.
 
short getADCThresh () const
 Getter for threshold for FADC.
 

Private Member Functions

 ClassDef (CDCFEElectronics, 2)
 ClassDef.
 

Private Attributes

short m_boardID = 0
 fee board id
 
short m_widthOfTimeWindow = 28
 Width of time window (in unit of 32*(TDC resol.)).
 
short m_trgDelay = 132
 Trigger delay (in unit of 32*(TDC resol.)).
 
short m_adcThresh = 2
 Threshold for FADC (count)
 
short m_tdcThreshInMV = 3750
 Voltage threshold for timing signal (mV)
 

Detailed Description

Database object for Fron-endt electronics params.

Definition at line 20 of file CDCFEElectronics.h.

Constructor & Destructor Documentation

◆ CDCFEElectronics() [1/2]

CDCFEElectronics ( )
inline

Default constructor.

Definition at line 26 of file CDCFEElectronics.h.

26{}

◆ CDCFEElectronics() [2/2]

CDCFEElectronics ( short  boardID,
short  width,
short  trgDelay,
short  aTh,
short  tThMV 
)
inline

Constructor.

Definition at line 31 of file CDCFEElectronics.h.

31 : m_boardID(boardID),
33 m_trgDelay(trgDelay), m_adcThresh(aTh), m_tdcThreshInMV(tThMV)
34 {
35 }
short m_widthOfTimeWindow
Width of time window (in unit of 32*(TDC resol.)).
short m_tdcThreshInMV
Voltage threshold for timing signal (mV)
short m_trgDelay
Trigger delay (in unit of 32*(TDC resol.)).
short m_boardID
fee board id
short m_adcThresh
Threshold for FADC (count)

Member Function Documentation

◆ getADCThresh()

short getADCThresh ( ) const
inline

Getter for threshold for FADC.

Definition at line 62 of file CDCFEElectronics.h.

63 {
64 return m_adcThresh;
65 }

◆ getBoardID()

short getBoardID ( ) const
inline

Getter for width of time window.

Definition at line 38 of file CDCFEElectronics.h.

39 {
40 return m_boardID;
41 }

◆ getTDCThreshInMV()

short getTDCThreshInMV ( ) const
inline

Getter for voltage threshold (mV) for timing-signal.

Definition at line 56 of file CDCFEElectronics.h.

57 {
58 return m_tdcThreshInMV;
59 }

◆ getTrgDelay()

short getTrgDelay ( ) const
inline

Getter for trigger delay.

Definition at line 50 of file CDCFEElectronics.h.

51 {
52 return m_trgDelay;
53 }

◆ getWidthOfTimeWindow()

short getWidthOfTimeWindow ( ) const
inline

Getter for width of time window.

Definition at line 44 of file CDCFEElectronics.h.

45 {
47 }

Member Data Documentation

◆ m_adcThresh

short m_adcThresh = 2
private

Threshold for FADC (count)

Definition at line 71 of file CDCFEElectronics.h.

◆ m_boardID

short m_boardID = 0
private

fee board id

Definition at line 68 of file CDCFEElectronics.h.

◆ m_tdcThreshInMV

short m_tdcThreshInMV = 3750
private

Voltage threshold for timing signal (mV)

Definition at line 72 of file CDCFEElectronics.h.

◆ m_trgDelay

short m_trgDelay = 132
private

Trigger delay (in unit of 32*(TDC resol.)).

This value + 1 is used on FPGA.

Definition at line 70 of file CDCFEElectronics.h.

◆ m_widthOfTimeWindow

short m_widthOfTimeWindow = 28
private

Width of time window (in unit of 32*(TDC resol.)).

N.B. This value + 1 is used on FPGA.

Definition at line 69 of file CDCFEElectronics.h.


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