Belle II Software development
KLMScintillatorFEEData.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
11/* ROOT headers. */
12#include <TObject.h>
13
14namespace Belle2 {
23 class KLMScintillatorFEEData : public TObject {
24
25 public:
26
31 {
32 }
33
38 {
39 }
40
44 float getPedestal() const
45 {
46 return m_Pedestal;
47 }
48
52 void setPedestal(float pedestal)
53 {
54 m_Pedestal = pedestal;
55 }
56
61 {
63 }
64
68 void setPhotoelectronAmplitude(float photoelectronAmplitude)
69 {
70 m_PhotoelectronAmplitude = photoelectronAmplitude;
71 }
72
76 int getThreshold() const
77 {
78 return m_Threshold;
79 }
80
84 void setThreshold(int threshold)
85 {
86 m_Threshold = threshold;
87 }
88
92 float getVoltage() const
93 {
94 return m_Voltage;
95 }
96
100 void setVoltage(float voltage)
101 {
102 m_Voltage = voltage;
103 }
104
109 {
110 return m_AdjustmentVoltage;
111 }
112
116 void setAdjustmentVoltage(int adjustmentVoltage)
117 {
118 m_AdjustmentVoltage = adjustmentVoltage;
119 }
120
124 int getLookbackTime() const
125 {
126 return m_LookbackTime;
127 }
128
132 void setLookbackTime(int lookbackTime)
133 {
134 m_LookbackTime = lookbackTime;
135 }
136
141 {
143 }
144
148 void setLookbackWindowWidth(int lookbackWindowWidth)
149 {
150 m_LookbackWindowWidth = lookbackWindowWidth;
151 }
152
153 private:
154
156 float m_Pedestal = 0;
157
160
162 int m_Threshold = 0;
163
165 float m_Voltage = 0;
166
169
172
175
178
179 };
180
182}
void setThreshold(int threshold)
Set threshold.
int getThreshold() const
Get threshold.
int m_LookbackWindowWidth
Lookback window width (unit is 32 TDC counts).
void setPedestal(float pedestal)
Set pedestal.
int getLookbackWindowWidth() const
Get lookback window width (unit is 32 TDC counts).
void setPhotoelectronAmplitude(float photoelectronAmplitude)
Set photoelectron amplitude.
void setLookbackTime(int lookbackTime)
Set lookback time (unit is 32 TDC counts).
int m_AdjustmentVoltage
Adjustment voltage.
float m_PhotoelectronAmplitude
Photoelectron amplitude.
int getLookbackTime() const
Get lookback time (unit is 32 TDC counts).
float getPhotoelectronAmplitude() const
Get photoelectron amplitude.
int getAdjustmentVoltage() const
Get adjustment voltage.
void setLookbackWindowWidth(int lookbackWindowWidth)
Set lookback window width (unit is 32 TDC counts).
ClassDef(Belle2::KLMScintillatorFEEData, 1)
Class version.
float getVoltage() const
Get voltage.
void setVoltage(float voltage)
Set voltage.
int m_LookbackTime
Lookback time (unit is 32 TDC counts).
int m_Threshold
Threshold (maximal EKLMDigit.m_Charge).
float getPedestal() const
Get pedestal.
void setAdjustmentVoltage(int adjustmentVoltage)
Set adjustment voltage.
Abstract base class for different kinds of events.