Belle II Software development
CDCFEEParams.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 CDCFEEParams: public TObject {
21 public:
22
27
31 CDCFEEParams(short width, short trgDelay, short tThmV, short aTh, short late, short tTheV) : m_widthOfTimeWindow(width),
32 m_trgDelay(trgDelay), m_tdcThreshInmV(tThmV), m_adcThresh(aTh), m_l1TrgLatency(late), m_tdcThreshIneV(tTheV)
33 {
34 }
35
38 {
40 }
41
43 short getTrgDelay() const
44 {
45 return m_trgDelay;
46 }
47
49 short getTDCThreshInmV() const
50 {
51 return m_tdcThreshInmV;
52 }
53
55 short getADCThresh() const
56 {
57 return m_adcThresh;
58 }
59
61 short getL1TrgLatency() const
62 {
63 return m_l1TrgLatency;
64 }
65
67 short getTDCThreshIneV() const
68 {
69 return m_tdcThreshIneV;
70 }
71
72 private:
74 short m_trgDelay = 133;
75 short m_tdcThreshInmV = 70;
76 short m_adcThresh = 1;
77 short m_l1TrgLatency = 4900;
78 short m_tdcThreshIneV = 160;
81 };
82
84} // end namespace Belle2
Database object for FEE params.
Definition: CDCFEEParams.h:20
short getTrgDelay() const
Getter for trigger delay.
Definition: CDCFEEParams.h:43
CDCFEEParams()
Default constructor.
Definition: CDCFEEParams.h:26
short m_widthOfTimeWindow
Width of time window (in unit of 32*(TDC resol.))
Definition: CDCFEEParams.h:73
ClassDef(CDCFEEParams, 1)
ClassDef.
short getTDCThreshIneV() const
Getter for threshold (eV) for timing-signal.
Definition: CDCFEEParams.h:67
short m_tdcThreshInmV
Threshold for timing signal (mV); may be used in waveform sim.
Definition: CDCFEEParams.h:75
short getTDCThreshInmV() const
Getter for threshold (mV) for timing-signal.
Definition: CDCFEEParams.h:49
short getADCThresh() const
Getter for threshold for FADC.
Definition: CDCFEEParams.h:55
short m_tdcThreshIneV
Threshold for timing signal (eV)
Definition: CDCFEEParams.h:78
short m_trgDelay
Trigger delay (in unit of 32*(TDC resol.))
Definition: CDCFEEParams.h:74
short m_l1TrgLatency
L1 trigger latency (in unit of TDC resol.)
Definition: CDCFEEParams.h:77
short getL1TrgLatency() const
Getter for L1 trigger latency.
Definition: CDCFEEParams.h:61
CDCFEEParams(short width, short trgDelay, short tThmV, short aTh, short late, short tTheV)
Constructor.
Definition: CDCFEEParams.h:31
short m_adcThresh
Threshold for FADC (count)
Definition: CDCFEEParams.h:76
short getWidthOfTimeWindow() const
Getter for width of time window.
Definition: CDCFEEParams.h:37
Abstract base class for different kinds of events.