Belle II Software  release-05-01-25
CDCFEEParams.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 CDCFEEParams: public TObject {
23  public:
24 
28  CDCFEEParams() {}
29 
33  CDCFEEParams(short width, short trgDelay, short tThmV, short aTh, short late, short tTheV) : m_widthOfTimeWindow(width),
34  m_trgDelay(trgDelay), m_tdcThreshInmV(tThmV), m_adcThresh(aTh), m_l1TrgLatency(late), m_tdcThreshIneV(tTheV)
35  {
36  }
37 
39  short getWidthOfTimeWindow() const
40  {
42  }
43 
45  short getTrgDelay() const
46  {
47  return m_trgDelay;
48  }
49 
51  short getTDCThreshInmV() const
52  {
54  }
55 
57  short getADCThresh() const
58  {
59  return m_adcThresh;
60  }
61 
63  short getL1TrgLatency() const
64  {
66  }
67 
69  short getTDCThreshIneV() const
70  {
72  }
73 
74  private:
75  short m_widthOfTimeWindow = 29;
76  short m_trgDelay = 133;
77  short m_tdcThreshInmV = 70;
78  short m_adcThresh = 1;
79  short m_l1TrgLatency = 4900;
80  short m_tdcThreshIneV = 160;
83  };
84 
86 } // end namespace Belle2
Belle2::CDCFEEParams::getTDCThreshIneV
short getTDCThreshIneV() const
Getter for threshold (eV) for timing-signal.
Definition: CDCFEEParams.h:77
Belle2::CDCFEEParams::getL1TrgLatency
short getL1TrgLatency() const
Getter for L1 trigger latency.
Definition: CDCFEEParams.h:71
Belle2::CDCFEEParams::CDCFEEParams
CDCFEEParams()
Default constructor.
Definition: CDCFEEParams.h:36
Belle2::CDCFEEParams
Database object for FEE params.
Definition: CDCFEEParams.h:30
Belle2::CDCFEEParams::m_widthOfTimeWindow
short m_widthOfTimeWindow
Width of time window (in unit of 32*(TDC resol.))
Definition: CDCFEEParams.h:83
Belle2::CDCFEEParams::getTDCThreshInmV
short getTDCThreshInmV() const
Getter for threshold (mV) for timing-signal.
Definition: CDCFEEParams.h:59
Belle2::CDCFEEParams::getWidthOfTimeWindow
short getWidthOfTimeWindow() const
Getter for width of time window.
Definition: CDCFEEParams.h:47
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CDCFEEParams::m_adcThresh
short m_adcThresh
Threshold for FADC (count)
Definition: CDCFEEParams.h:86
Belle2::CDCFEEParams::m_tdcThreshIneV
short m_tdcThreshIneV
Threshold for timing signal (eV)
Definition: CDCFEEParams.h:88
Belle2::CDCFEEParams::m_tdcThreshInmV
short m_tdcThreshInmV
Threshold for timing signal (mV); may be used in waveform sim.
Definition: CDCFEEParams.h:85
Belle2::CDCFEEParams::m_l1TrgLatency
short m_l1TrgLatency
L1 trigger latency (in unit of TDC resol.)
Definition: CDCFEEParams.h:87
Belle2::CDCFEEParams::getTrgDelay
short getTrgDelay() const
Getter for trigger delay.
Definition: CDCFEEParams.h:53
Belle2::CDCFEEParams::getADCThresh
short getADCThresh() const
Getter for threshold for FADC.
Definition: CDCFEEParams.h:65
Belle2::CDCFEEParams::m_trgDelay
short m_trgDelay
Trigger delay (in unit of 32*(TDC resol.))
Definition: CDCFEEParams.h:84
Belle2::CDCFEEParams::ClassDef
ClassDef(CDCFEEParams, 1)
ClassDef.