Singleton class to hold the ECL configuration.
More...
#include <EclConfiguration.h>
|
static constexpr int | m_nch |
| total number of electronic channels (crystals) in calorimeter
|
|
static constexpr double | m_step = 0.5 |
| time between points in internal units t_{asrto}*m_rf/2.
|
|
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
|
|
|
static double | m_rf = -1 |
| RF clock, www-linac.kek.jp/linac-com/report/skb-tdr/, ch.
|
|
static double | m_tick = -1 |
| == 72/127 digitization clock tick (in microseconds)
|
|
Singleton class to hold the ECL configuration.
Definition at line 21 of file EclConfiguration.h.
◆ EclConfiguration()
◆ background()
bool background |
( |
| ) |
const |
|
inline |
return the background flag
Definition at line 30 of file EclConfiguration.h.
bool m_background
constructor
◆ get()
return this instance
Definition at line 24 of file EclConfiguration.h.
25 {
26 static EclConfiguration instance;
27 return instance;
28 }
◆ getRF()
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{
42
43 m_rf = clock_info->getAcceleratorRF() * 1e3;
44 }
46}
Class for accessing objects in the database.
static double m_rf
RF clock, www-linac.kek.jp/linac-com/report/skb-tdr/, ch.
◆ getTick()
See m_tick.
Definition at line 48 of file EclConfiguration.cc.
49{
50 return 24.*12. /
getRF();
51}
static double getRF()
See m_rf.
◆ setBackground()
void setBackground |
( |
bool |
val | ) |
|
|
inline |
◆ m_background
bool m_background {false} |
|
private |
◆ m_nch
Initial value:=
const int c_NCrystals
Number of crystals.
total number of electronic channels (crystals) in calorimeter
Definition at line 34 of file EclConfiguration.h.
◆ m_ndt
number of points per ADC tick where signal fit procedure parameters are evaluated
Definition at line 45 of file EclConfiguration.h.
◆ m_nl
◆ m_ns
◆ m_nsmp
constexpr int m_nsmp = 31 |
|
staticconstexpr |
◆ m_ntrg
constexpr int m_ntrg = 144 |
|
staticconstexpr |
◆ m_rf
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.
◆ m_tick
== 72/127 digitization clock tick (in microseconds)
Definition at line 49 of file EclConfiguration.h.
◆ m_tmin
constexpr double m_tmin = -15 |
|
staticconstexpr |
lower range of the signal fitting region in ADC clocks
Definition at line 41 of file EclConfiguration.h.
◆ s_clock
constexpr double s_clock = 24.*12. |
|
staticconstexpr |
The documentation for this class was generated from the following files: