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;
79
81 };
82
84} // end namespace Belle2
short getTrgDelay() const
Getter for trigger delay.
CDCFEEParams()
Default constructor.
short m_widthOfTimeWindow
Width of time window (in unit of 32*(TDC resol.))
ClassDef(CDCFEEParams, 1)
ClassDef.
short getTDCThreshIneV() const
Getter for threshold (eV) for timing-signal.
short m_tdcThreshInmV
Threshold for timing signal (mV); may be used in waveform sim.
short getTDCThreshInmV() const
Getter for threshold (mV) for timing-signal.
short getADCThresh() const
Getter for threshold for FADC.
short m_tdcThreshIneV
Threshold for timing signal (eV)
short m_trgDelay
Trigger delay (in unit of 32*(TDC resol.))
short m_l1TrgLatency
L1 trigger latency (in unit of TDC resol.)
short getL1TrgLatency() const
Getter for L1 trigger latency.
CDCFEEParams(short width, short trgDelay, short tThmV, short aTh, short late, short tTheV)
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.