Belle II Software development
KLMScintillatorDigitizationParameters Class Reference

Class to store KLM scintillator simulation parameters in the database. More...

#include <KLMScintillatorDigitizationParameters.h>

Inheritance diagram for KLMScintillatorDigitizationParameters:

Public Member Functions

 KLMScintillatorDigitizationParameters ()
 Constructor.
 
 ~KLMScintillatorDigitizationParameters ()
 Destructor.
 
int getADCRange () const
 Get ADC range.
 
void setADCRange (int range)
 Set ADC range.
 
int getADCSamplingTDCPeriods () const
 Get ADC sampling time in TDC periods.
 
void setADCSamplingTDCPeriods (int periods)
 Set ADC sampling time in TDC periods.
 
int getNDigitizations () const
 Get number of digitizations (points) in one sample.
 
void setNDigitizations (int digitizations)
 Set number of digitizations (points) in one sample.
 
float getADCPedestal () const
 Get ADC pedestal.
 
void setADCPedestal (float pedestal)
 Set ADC pedestal.
 
float getADCPEAmplitude () const
 Get ADC photoelectron amplitude.
 
void setADCPEAmplitude (float amplitude)
 Set ADC photoelectron amplitude.
 
int getADCThreshold () const
 Get ADC readout corresponding to saturation.
 
void setADCThreshold (int threshold)
 Set ADC readout corresponding to saturation.
 
int getADCSaturation () const
 Get ADC readout corresponding to saturation.
 
void setADCSaturation (int saturation)
 Set ADC readout corresponding to saturation.
 
float getNPEperMeV () const
 Get number of photoelectrons / 1 MeV.
 
void setNPEperMeV (float npe)
 Set number of photoelectrons / 1 MeV.
 
float getMinCosTheta () const
 Get cosine of maximal light capture angle (by fiber).
 
void setMinCosTheta (float minCosTheta)
 Set cosine of maximal light capture angle (by fiber).
 
float getMirrorReflectiveIndex () const
 Get mirror reflective index.
 
void setMirrorReflectiveIndex (float reflectiveIndex)
 Set mirror reflective index.
 
float getScintillatorDeExcitationTime () const
 Get scintillator deexcitation time.
 
void setScintillatorDeExcitationTime (float time)
 Set scintillator deexcitation time.
 
float getFiberDeExcitationTime () const
 Get fiber deexcitation time.
 
void setFiberDeExcitationTime (float time)
 Set fiber deexcitation time.
 
float getFiberLightSpeed () const
 Get speed of light in fiber.
 
void setFiberLightSpeed (float lightSpeed)
 Set speed of light in fiber.
 
float getAttenuationLength () const
 Get attenuation length in fiber.
 
void setAttenuationLength (float length)
 Set attenuation length in fiber.
 
float getPEAttenuationFrequency () const
 Get attenuation frequency of a single photoelectron pulse.
 
void setPEAttenuationFrequency (float frequency)
 Set attenuation frequency of a single photoelectron pulse.
 
float getMeanSiPMNoise () const
 Get mean for SiPM backgrounds.
 
void setMeanSiPMNoise (int noise)
 Set mean for SiPM backgrounds.
 
bool getEnableConstBkg () const
 Check if background is enabled in fitting.
 
void setEnableConstBkg (bool enable)
 Set if background is enabled in fitting.
 

Private Member Functions

 ClassDef (Belle2::KLMScintillatorDigitizationParameters, 2)
 Class version.
 

Private Attributes

int m_ADCRange
 ADC range: 2**(resolution in bits).
 
int m_ADCSamplingTDCPeriods
 ADC sampling time (TDC periods).
 
int m_NDigitizations
 Number of digitizations (points) in one sample.
 
float m_ADCPedestal
 ADC pedestal.
 
float m_ADCPEAmplitude
 ADC photoelectron amplitude.
 
float m_ADCThreshold
 ADC threshold.
 
int m_ADCSaturation
 ADC readout corresponding to saturation.
 
float m_NPEperMeV
 Number of photoelectrons / 1 MeV.
 
float m_MinCosTheta
 Cosine of maximal light capture angle (by fiber).
 
float m_MirrorReflectiveIndex
 Mirror reflective index.
 
float m_ScintillatorDeExcitationTime
 Scintillator deexcitation time, ns.
 
float m_FiberDeExcitationTime
 Fiber deexcitation time, ns.
 
float m_FiberLightSpeed
 Speed of light in fiber, cm/ns.
 
float m_AttenuationLength
 Attenuation length in fiber, cm.
 
float m_PEAttenuationFrequency
 Attenuation frequency of a single photoelectron pulse, ns^-1.
 
float m_MeanSiPMNoise
 Mean for SiPM backgrounds.
 
bool m_EnableConstBkg
 Enable background in fitting.
 

Detailed Description

Class to store KLM scintillator simulation parameters in the database.

Definition at line 23 of file KLMScintillatorDigitizationParameters.h.

Constructor & Destructor Documentation

◆ KLMScintillatorDigitizationParameters()

Constructor.

Definition at line 14 of file KLMScintillatorDigitizationParameters.cc.

14 :
15 m_ADCRange(0),
22 m_NPEperMeV(0),
31 m_EnableConstBkg(false)
32{
33}
float m_PEAttenuationFrequency
Attenuation frequency of a single photoelectron pulse, ns^-1.
int m_NDigitizations
Number of digitizations (points) in one sample.
int m_ADCSaturation
ADC readout corresponding to saturation.
float m_MinCosTheta
Cosine of maximal light capture angle (by fiber).
float m_ScintillatorDeExcitationTime
Scintillator deexcitation time, ns.

◆ ~KLMScintillatorDigitizationParameters()

Destructor.

Definition at line 35 of file KLMScintillatorDigitizationParameters.cc.

36{
37}

Member Function Documentation

◆ getADCPEAmplitude()

float getADCPEAmplitude ( ) const
inline

Get ADC photoelectron amplitude.

Definition at line 104 of file KLMScintillatorDigitizationParameters.h.

105 {
106 return m_ADCPEAmplitude;
107 }

◆ getADCPedestal()

float getADCPedestal ( ) const
inline

Get ADC pedestal.

Definition at line 88 of file KLMScintillatorDigitizationParameters.h.

89 {
90 return m_ADCPedestal;
91 }

◆ getADCRange()

int getADCRange ( ) const
inline

Get ADC range.

Definition at line 40 of file KLMScintillatorDigitizationParameters.h.

41 {
42 return m_ADCRange;
43 }

◆ getADCSamplingTDCPeriods()

int getADCSamplingTDCPeriods ( ) const
inline

Get ADC sampling time in TDC periods.

Definition at line 56 of file KLMScintillatorDigitizationParameters.h.

57 {
59 }

◆ getADCSaturation()

int getADCSaturation ( ) const
inline

Get ADC readout corresponding to saturation.

Definition at line 136 of file KLMScintillatorDigitizationParameters.h.

137 {
138 return m_ADCSaturation;
139 }

◆ getADCThreshold()

int getADCThreshold ( ) const
inline

Get ADC readout corresponding to saturation.

Definition at line 120 of file KLMScintillatorDigitizationParameters.h.

121 {
122 return m_ADCThreshold;
123 }

◆ getAttenuationLength()

float getAttenuationLength ( ) const
inline

Get attenuation length in fiber.

Definition at line 248 of file KLMScintillatorDigitizationParameters.h.

249 {
250 return m_AttenuationLength;
251 }

◆ getEnableConstBkg()

bool getEnableConstBkg ( ) const
inline

Check if background is enabled in fitting.

Definition at line 296 of file KLMScintillatorDigitizationParameters.h.

297 {
298 return m_EnableConstBkg;
299 }

◆ getFiberDeExcitationTime()

float getFiberDeExcitationTime ( ) const
inline

Get fiber deexcitation time.

Definition at line 216 of file KLMScintillatorDigitizationParameters.h.

217 {
219 }

◆ getFiberLightSpeed()

float getFiberLightSpeed ( ) const
inline

Get speed of light in fiber.

Definition at line 232 of file KLMScintillatorDigitizationParameters.h.

233 {
234 return m_FiberLightSpeed;
235 }

◆ getMeanSiPMNoise()

float getMeanSiPMNoise ( ) const
inline

Get mean for SiPM backgrounds.

Definition at line 280 of file KLMScintillatorDigitizationParameters.h.

281 {
282 return m_MeanSiPMNoise;
283 }

◆ getMinCosTheta()

float getMinCosTheta ( ) const
inline

Get cosine of maximal light capture angle (by fiber).

Definition at line 168 of file KLMScintillatorDigitizationParameters.h.

169 {
170 return m_MinCosTheta;
171 }

◆ getMirrorReflectiveIndex()

float getMirrorReflectiveIndex ( ) const
inline

Get mirror reflective index.

Definition at line 184 of file KLMScintillatorDigitizationParameters.h.

185 {
187 }

◆ getNDigitizations()

int getNDigitizations ( ) const
inline

Get number of digitizations (points) in one sample.

Definition at line 72 of file KLMScintillatorDigitizationParameters.h.

73 {
74 return m_NDigitizations;
75 }

◆ getNPEperMeV()

float getNPEperMeV ( ) const
inline

Get number of photoelectrons / 1 MeV.

Definition at line 152 of file KLMScintillatorDigitizationParameters.h.

153 {
154 return m_NPEperMeV;
155 }

◆ getPEAttenuationFrequency()

float getPEAttenuationFrequency ( ) const
inline

Get attenuation frequency of a single photoelectron pulse.

Definition at line 264 of file KLMScintillatorDigitizationParameters.h.

265 {
267 }

◆ getScintillatorDeExcitationTime()

float getScintillatorDeExcitationTime ( ) const
inline

Get scintillator deexcitation time.

Definition at line 200 of file KLMScintillatorDigitizationParameters.h.

201 {
203 }

◆ setADCPEAmplitude()

void setADCPEAmplitude ( float  amplitude)
inline

Set ADC photoelectron amplitude.

Definition at line 112 of file KLMScintillatorDigitizationParameters.h.

113 {
114 m_ADCPEAmplitude = amplitude;
115 }

◆ setADCPedestal()

void setADCPedestal ( float  pedestal)
inline

Set ADC pedestal.

Definition at line 96 of file KLMScintillatorDigitizationParameters.h.

97 {
98 m_ADCPedestal = pedestal;
99 }

◆ setADCRange()

void setADCRange ( int  range)
inline

Set ADC range.

Definition at line 48 of file KLMScintillatorDigitizationParameters.h.

49 {
50 m_ADCRange = range;
51 }

◆ setADCSamplingTDCPeriods()

void setADCSamplingTDCPeriods ( int  periods)
inline

Set ADC sampling time in TDC periods.

Definition at line 64 of file KLMScintillatorDigitizationParameters.h.

65 {
67 }

◆ setADCSaturation()

void setADCSaturation ( int  saturation)
inline

Set ADC readout corresponding to saturation.

Definition at line 144 of file KLMScintillatorDigitizationParameters.h.

145 {
146 m_ADCSaturation = saturation;
147 }

◆ setADCThreshold()

void setADCThreshold ( int  threshold)
inline

Set ADC readout corresponding to saturation.

Definition at line 128 of file KLMScintillatorDigitizationParameters.h.

129 {
130 m_ADCThreshold = threshold;
131 }

◆ setAttenuationLength()

void setAttenuationLength ( float  length)
inline

Set attenuation length in fiber.

Definition at line 256 of file KLMScintillatorDigitizationParameters.h.

257 {
258 m_AttenuationLength = length;
259 }

◆ setEnableConstBkg()

void setEnableConstBkg ( bool  enable)
inline

Set if background is enabled in fitting.

Definition at line 304 of file KLMScintillatorDigitizationParameters.h.

305 {
306 m_EnableConstBkg = enable;
307 }

◆ setFiberDeExcitationTime()

void setFiberDeExcitationTime ( float  time)
inline

Set fiber deexcitation time.

Definition at line 224 of file KLMScintillatorDigitizationParameters.h.

225 {
227 }

◆ setFiberLightSpeed()

void setFiberLightSpeed ( float  lightSpeed)
inline

Set speed of light in fiber.

Definition at line 240 of file KLMScintillatorDigitizationParameters.h.

241 {
242 m_FiberLightSpeed = lightSpeed;
243 }

◆ setMeanSiPMNoise()

void setMeanSiPMNoise ( int  noise)
inline

Set mean for SiPM backgrounds.

Definition at line 288 of file KLMScintillatorDigitizationParameters.h.

289 {
290 m_MeanSiPMNoise = noise;
291 }

◆ setMinCosTheta()

void setMinCosTheta ( float  minCosTheta)
inline

Set cosine of maximal light capture angle (by fiber).

Definition at line 176 of file KLMScintillatorDigitizationParameters.h.

177 {
178 m_MinCosTheta = minCosTheta;
179 }

◆ setMirrorReflectiveIndex()

void setMirrorReflectiveIndex ( float  reflectiveIndex)
inline

Set mirror reflective index.

Definition at line 192 of file KLMScintillatorDigitizationParameters.h.

193 {
194 m_MirrorReflectiveIndex = reflectiveIndex;
195 }

◆ setNDigitizations()

void setNDigitizations ( int  digitizations)
inline

Set number of digitizations (points) in one sample.

Definition at line 80 of file KLMScintillatorDigitizationParameters.h.

81 {
82 m_NDigitizations = digitizations;
83 }

◆ setNPEperMeV()

void setNPEperMeV ( float  npe)
inline

Set number of photoelectrons / 1 MeV.

Definition at line 160 of file KLMScintillatorDigitizationParameters.h.

161 {
162 m_NPEperMeV = npe;
163 }

◆ setPEAttenuationFrequency()

void setPEAttenuationFrequency ( float  frequency)
inline

Set attenuation frequency of a single photoelectron pulse.

Definition at line 272 of file KLMScintillatorDigitizationParameters.h.

273 {
274 m_PEAttenuationFrequency = frequency;
275 }

◆ setScintillatorDeExcitationTime()

void setScintillatorDeExcitationTime ( float  time)
inline

Set scintillator deexcitation time.

Definition at line 208 of file KLMScintillatorDigitizationParameters.h.

209 {
211 }

Member Data Documentation

◆ m_ADCPEAmplitude

float m_ADCPEAmplitude
private

ADC photoelectron amplitude.

Definition at line 324 of file KLMScintillatorDigitizationParameters.h.

◆ m_ADCPedestal

float m_ADCPedestal
private

ADC pedestal.

Definition at line 321 of file KLMScintillatorDigitizationParameters.h.

◆ m_ADCRange

int m_ADCRange
private

ADC range: 2**(resolution in bits).

Definition at line 312 of file KLMScintillatorDigitizationParameters.h.

◆ m_ADCSamplingTDCPeriods

int m_ADCSamplingTDCPeriods
private

ADC sampling time (TDC periods).

Definition at line 315 of file KLMScintillatorDigitizationParameters.h.

◆ m_ADCSaturation

int m_ADCSaturation
private

ADC readout corresponding to saturation.

Definition at line 330 of file KLMScintillatorDigitizationParameters.h.

◆ m_ADCThreshold

float m_ADCThreshold
private

ADC threshold.

Definition at line 327 of file KLMScintillatorDigitizationParameters.h.

◆ m_AttenuationLength

float m_AttenuationLength
private

Attenuation length in fiber, cm.

Definition at line 351 of file KLMScintillatorDigitizationParameters.h.

◆ m_EnableConstBkg

bool m_EnableConstBkg
private

Enable background in fitting.

Definition at line 362 of file KLMScintillatorDigitizationParameters.h.

◆ m_FiberDeExcitationTime

float m_FiberDeExcitationTime
private

Fiber deexcitation time, ns.

Definition at line 345 of file KLMScintillatorDigitizationParameters.h.

◆ m_FiberLightSpeed

float m_FiberLightSpeed
private

Speed of light in fiber, cm/ns.

Definition at line 348 of file KLMScintillatorDigitizationParameters.h.

◆ m_MeanSiPMNoise

float m_MeanSiPMNoise
private

Mean for SiPM backgrounds.

If zero or negative no backgrounds are added.

Definition at line 359 of file KLMScintillatorDigitizationParameters.h.

◆ m_MinCosTheta

float m_MinCosTheta
private

Cosine of maximal light capture angle (by fiber).

Definition at line 336 of file KLMScintillatorDigitizationParameters.h.

◆ m_MirrorReflectiveIndex

float m_MirrorReflectiveIndex
private

Mirror reflective index.

Definition at line 339 of file KLMScintillatorDigitizationParameters.h.

◆ m_NDigitizations

int m_NDigitizations
private

Number of digitizations (points) in one sample.

Definition at line 318 of file KLMScintillatorDigitizationParameters.h.

◆ m_NPEperMeV

float m_NPEperMeV
private

Number of photoelectrons / 1 MeV.

Definition at line 333 of file KLMScintillatorDigitizationParameters.h.

◆ m_PEAttenuationFrequency

float m_PEAttenuationFrequency
private

Attenuation frequency of a single photoelectron pulse, ns^-1.

Definition at line 354 of file KLMScintillatorDigitizationParameters.h.

◆ m_ScintillatorDeExcitationTime

float m_ScintillatorDeExcitationTime
private

Scintillator deexcitation time, ns.

Definition at line 342 of file KLMScintillatorDigitizationParameters.h.


The documentation for this class was generated from the following files: