Belle II Software development
CDCFEElectronics.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10#include <TObject.h>
11
12namespace Belle2 {
20 class CDCFEElectronics: public TObject {
21 public:
22
27
31 CDCFEElectronics(short boardID, short width, short trgDelay, short aTh, short tThMV) : m_boardID(boardID),
33 m_trgDelay(trgDelay), m_adcThresh(aTh), m_tdcThreshInMV(tThMV)
34 {
35 }
36
38 short getBoardID() const
39 {
40 return m_boardID;
41 }
42
45 {
47 }
48
50 short getTrgDelay() const
51 {
52 return m_trgDelay;
53 }
54
56 short getTDCThreshInMV() const
57 {
58 return m_tdcThreshInMV;
59 }
60
62 short getADCThresh() const
63 {
64 return m_adcThresh;
65 }
66
67 private:
68 short m_boardID = 0;
70 short m_trgDelay = 132;
71 short m_adcThresh = 2;
72 short m_tdcThreshInMV = 3750;
75 };
76
78} // end namespace Belle2
Database object for Fron-endt electronics params.
short getTrgDelay() const
Getter for trigger delay.
CDCFEElectronics(short boardID, short width, short trgDelay, short aTh, short tThMV)
Constructor.
short m_widthOfTimeWindow
Width of time window (in unit of 32*(TDC resol.)).
short m_tdcThreshInMV
Voltage threshold for timing signal (mV)
ClassDef(CDCFEElectronics, 2)
ClassDef.
short getADCThresh() const
Getter for threshold for FADC.
short getBoardID() const
Getter for width of time window.
short getTDCThreshInMV() const
Getter for voltage threshold (mV) for timing-signal.
short m_trgDelay
Trigger delay (in unit of 32*(TDC resol.)).
short m_boardID
fee board id
CDCFEElectronics()
Default constructor.
short m_adcThresh
Threshold for FADC (count)
short getWidthOfTimeWindow() const
Getter for width of time window.
Abstract base class for different kinds of events.