Belle II Software  release-05-01-25
CDCFEElectronics.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: CDC group *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 #include <TObject.h>
13 
14 namespace Belle2 {
22  class CDCFEElectronics: public TObject {
23  public:
24 
28  CDCFEElectronics() {}
29 
33  CDCFEElectronics(short boardID, short width, short trgDelay, short aTh, short tThMV) : m_boardID(boardID),
34  m_widthOfTimeWindow(width),
35  m_trgDelay(trgDelay), m_adcThresh(aTh), m_tdcThreshInMV(tThMV)
36  {
37  }
38 
40  short getBoardID() const
41  {
42  return m_boardID;
43  }
44 
46  short getWidthOfTimeWindow() const
47  {
49  }
50 
52  short getTrgDelay() const
53  {
54  return m_trgDelay;
55  }
56 
58  short getTDCThreshInMV() const
59  {
61  }
62 
64  short getADCThresh() const
65  {
66  return m_adcThresh;
67  }
68 
69  private:
70  short m_boardID = 0;
71  short m_widthOfTimeWindow = 28;
72  short m_trgDelay = 132;
73  short m_adcThresh = 2;
74  short m_tdcThreshInMV = 3750;
77  };
78 
80 } // end namespace Belle2
Belle2::CDCFEElectronics::m_tdcThreshInMV
short m_tdcThreshInMV
Voltage threshold for timing signal (mV)
Definition: CDCFEElectronics.h:82
Belle2::CDCFEElectronics::getTDCThreshInMV
short getTDCThreshInMV() const
Getter for voltage threshold (mV) for timing-signal.
Definition: CDCFEElectronics.h:66
Belle2::CDCFEElectronics::m_adcThresh
short m_adcThresh
Threshold for FADC (count)
Definition: CDCFEElectronics.h:81
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CDCFEElectronics::CDCFEElectronics
CDCFEElectronics()
Default constructor.
Definition: CDCFEElectronics.h:36
Belle2::CDCFEElectronics::ClassDef
ClassDef(CDCFEElectronics, 2)
ClassDef.
Belle2::CDCFEElectronics::getWidthOfTimeWindow
short getWidthOfTimeWindow() const
Getter for width of time window.
Definition: CDCFEElectronics.h:54
Belle2::CDCFEElectronics::getTrgDelay
short getTrgDelay() const
Getter for trigger delay.
Definition: CDCFEElectronics.h:60
Belle2::CDCFEElectronics::getBoardID
short getBoardID() const
Getter for width of time window.
Definition: CDCFEElectronics.h:48
Belle2::CDCFEElectronics::m_widthOfTimeWindow
short m_widthOfTimeWindow
Width of time window (in unit of 32*(TDC resol.)).
Definition: CDCFEElectronics.h:79
Belle2::CDCFEElectronics
Database object for Fron-endt electronics params.
Definition: CDCFEElectronics.h:30
Belle2::CDCFEElectronics::m_boardID
short m_boardID
fee board id
Definition: CDCFEElectronics.h:78
Belle2::CDCFEElectronics::m_trgDelay
short m_trgDelay
Trigger delay (in unit of 32*(TDC resol.)).
Definition: CDCFEElectronics.h:80
Belle2::CDCFEElectronics::getADCThresh
short getADCThresh() const
Getter for threshold for FADC.
Definition: CDCFEElectronics.h:72