Belle II Software development
|
Front-end settings: storage depths, lookback, readout windows etc. More...
#include <TOPFrontEndSetting.h>
Public Member Functions | |
TOPFrontEndSetting () | |
Default constructor. | |
void | setWriteDepths (const std::vector< int > &depths) |
Sets write depths. | |
void | setLookbackWindows (int lookback) |
Sets the number of lookback windows. | |
void | setReadoutWindows (int readoutWindows) |
Sets the number of readout windows. | |
void | setExtraWindows (int extra) |
Sets the number of extra windows between the one determined from lookback and the first readout window. | |
void | setWindowShifts (std::vector< int > shifts) |
Sets window shifts. | |
void | setOffset (int offset) |
Sets the offset of a photon peak within the readout window region. | |
const std::vector< int > & | getWriteDepths () const |
Returns write depths. | |
int | getLookbackWindows () const |
Returns the number of lookback windows. | |
int | getReadoutWindows () const |
Returns the number of readout windows. | |
int | getExtraWindows () const |
Returns the number of extra windows between the one determined from lookback and the first readout window. | |
int | getWindowShift (unsigned revo9count) const |
Returns window shift at a given revo9count. | |
int | getOffset () const |
Returns the offset of a photon peak within the readout window region. | |
Private Member Functions | |
ClassDef (TOPFrontEndSetting, 1) | |
ClassDef. | |
Private Attributes | |
std::vector< int > | m_writeDepths |
write depths | |
int | m_lookbackWindows = 0 |
number of lookback windows | |
int | m_readoutWindows = 0 |
number of readout windows | |
int | m_extraWindows = 0 |
number of extra windows | |
int | m_windowShifts [6] = {0} |
window shifts as a function of revo9count%6 | |
int | m_offset = 0 |
position of photon peak within readout region [RF clocks] | |
Front-end settings: storage depths, lookback, readout windows etc.
Definition at line 23 of file TOPFrontEndSetting.h.
|
inline |
|
inline |
Returns the number of extra windows between the one determined from lookback and the first readout window.
These are 64-sample wide storage windows.
Definition at line 103 of file TOPFrontEndSetting.h.
|
inline |
Returns the number of lookback windows.
Lookback is given as the number of 64-sample wide storage windows.
Definition at line 88 of file TOPFrontEndSetting.h.
|
inline |
Returns the offset of a photon peak within the readout window region.
Definition at line 116 of file TOPFrontEndSetting.h.
|
inline |
Returns the number of readout windows.
These are 64-sample wide storage windows.
Definition at line 95 of file TOPFrontEndSetting.h.
|
inline |
Returns window shift at a given revo9count.
revo9count | revo9 count |
Definition at line 110 of file TOPFrontEndSetting.h.
|
inline |
Returns write depths.
Write depths are given as the number 128-sample wide write windows.
Definition at line 81 of file TOPFrontEndSetting.h.
|
inline |
Sets the number of extra windows between the one determined from lookback and the first readout window.
These are 64-sample wide storage windows.
extra | the number of extra windows |
Definition at line 60 of file TOPFrontEndSetting.h.
|
inline |
Sets the number of lookback windows.
Lookback is given as the number of 64-sample wide storage windows.
lookback | the number of lookback windows |
Definition at line 45 of file TOPFrontEndSetting.h.
|
inline |
Sets the offset of a photon peak within the readout window region.
This has to be calibrated with data in a such way that the reconstructed bunch distribution peaks at zero.
offset | offset given in RF clocks |
Definition at line 74 of file TOPFrontEndSetting.h.
|
inline |
Sets the number of readout windows.
These are 64-sample wide storage windows.
readoutWindows | the number of readout windows |
Definition at line 52 of file TOPFrontEndSetting.h.
|
inline |
Sets write depths.
Write depths are given as the number 128-sample wide write windows.
depths | a vector of write depths |
Definition at line 38 of file TOPFrontEndSetting.h.
|
private |
number of extra windows
Definition at line 124 of file TOPFrontEndSetting.h.
|
private |
number of lookback windows
Definition at line 122 of file TOPFrontEndSetting.h.
|
private |
position of photon peak within readout region [RF clocks]
Definition at line 126 of file TOPFrontEndSetting.h.
|
private |
number of readout windows
Definition at line 123 of file TOPFrontEndSetting.h.
|
private |
window shifts as a function of revo9count%6
Definition at line 125 of file TOPFrontEndSetting.h.
|
private |
write depths
Definition at line 121 of file TOPFrontEndSetting.h.