![]() |
Belle II Software
release-08-02-04
|
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. More... | |
| void | setLookbackWindows (int lookback) |
| Sets the number of lookback windows. More... | |
| void | setReadoutWindows (int readoutWindows) |
| Sets the number of readout windows. More... | |
| void | setExtraWindows (int extra) |
| Sets the number of extra windows between the one determined from lookback and the first readout window. More... | |
| void | setWindowShifts (std::vector< int > shifts) |
| Sets window shifts. More... | |
| void | setOffset (int offset) |
| Sets the offset of a photon peak within the readout window region. More... | |
| const std::vector< int > & | getWriteDepths () const |
| Returns write depths. More... | |
| int | getLookbackWindows () const |
| Returns the number of lookback windows. More... | |
| int | getReadoutWindows () const |
| Returns the number of readout windows. More... | |
| int | getExtraWindows () const |
| Returns the number of extra windows between the one determined from lookback and the first readout window. More... | |
| int | getWindowShift (unsigned revo9count) const |
| Returns window shift at a given revo9count. More... | |
| int | getOffset () const |
| Returns the offset of a photon peak within the readout window region. More... | |
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 |
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.