Belle II Software  release-08-01-10
EclConfiguration Class Reference

Singleton class to hold the ECL configuration. More...

#include <EclConfiguration.h>

Classes

struct  adccounts_t
 a struct for the ADC count More...
 
struct  algoparams_t
 a struct for the parameters of the algorithm More...
 
struct  fitparams_t
 a struct for the fit parameters More...
 
struct  signalsample_t
 a struct for a signal sample More...
 

Public Member Functions

bool background () const
 return the background flag
 
void setBackground (bool val)
 set the background flag
 

Static Public Member Functions

static EclConfigurationget ()
 return this instance
 
static double getRF ()
 See m_rf. More...
 
static double getTick ()
 See m_tick.
 

Static Public Attributes

static constexpr int m_nch
 total number of electronic channels (crystals) in calorimeter More...
 
static constexpr double m_step = 0.5
 time between points in internal units t_{asrto}*m_rf/2. More...
 
static constexpr double s_clock = 24.*12.
 digitization clock in RF units
 
static constexpr int m_ntrg = 144
 number of trigger counts per ADC clock tick
 
static constexpr int m_nsmp = 31
 number of ADC measurements for signal fitting
 
static constexpr double m_tmin = -15
 lower range of the signal fitting region in ADC clocks
 
static constexpr int m_nl = 48
 length of samples signal in number of ADC clocks
 
static constexpr int m_ns = 32
 number of samples per ADC clock
 
static constexpr int m_ndt = 96
 number of points per ADC tick where signal fit procedure parameters are evaluated
 

Private Attributes

bool m_background {false}
 constructor More...
 

Static Private Attributes

static double m_rf = -1
 RF clock, www-linac.kek.jp/linac-com/report/skb-tdr/, ch. More...
 
static double m_tick = -1
 == 72/127 digitization clock tick (in microseconds)
 

Detailed Description

Singleton class to hold the ECL configuration.

Definition at line 21 of file EclConfiguration.h.

Member Function Documentation

◆ getRF()

double getRF ( )
static

See m_rf.

This will try to use the value from the database

< Default RF value is 508.876 MHz, see www-linac.kek.jp/linac-com/report/skb-tdr/, ch. 6

Definition at line 36 of file EclConfiguration.cc.

37 {
40  if (m_rf < 0) {
41  DBObjPtr<Belle2::HardwareClockSettings> clock_info("HardwareClockSettings");
42  // Convert RF from GHz to MHz
43  m_rf = clock_info->getAcceleratorRF() * 1e3;
44  }
45  return m_rf;
46 }
static double m_rf
RF clock, www-linac.kek.jp/linac-com/report/skb-tdr/, ch.

Member Data Documentation

◆ m_background

bool m_background {false}
private

constructor

background configuration

Definition at line 59 of file EclConfiguration.h.

◆ m_nch

constexpr int m_nch
staticconstexpr
Initial value:

total number of electronic channels (crystals) in calorimeter

Definition at line 34 of file EclConfiguration.h.

◆ m_rf

double m_rf = -1
staticprivate

RF clock, www-linac.kek.jp/linac-com/report/skb-tdr/, ch.

6

Definition at line 48 of file EclConfiguration.h.

◆ m_step

constexpr double m_step = 0.5
staticconstexpr

time between points in internal units t_{asrto}*m_rf/2.

/24./12.

Definition at line 36 of file EclConfiguration.h.


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