Belle II Software development
|
enum class SubTriggerType : unsigned char {Merger, TSF, T2D, T3D, Neuro, ETF}; More...
#include <CDCTriggerUnpackerModule.h>
Public Member Functions | |
SubTrigger (const std::string &inName, unsigned inEventWidth, unsigned inOffset, int inHeaderSize, const std::vector< int > &inNodeID, const std::vector< int > &inNodeID_pcie40, int &inDelay, int &inCnttrg, int inDebugLevel=0) | |
constructor | |
virtual void | reserve (int, std::array< int, nFinesse >, bool) |
Calculate the number of clocks in the data, reserve that much of clocks in the Bitstream(s) | |
virtual void | unpack (int, std::array< int *, nFinesse >, std::array< int, nFinesse >, bool) |
Unpack the Belle2Link data and fill the Bitstream. | |
virtual int | getHeaders (int subDetectorId, std::array< int *, 48 > data32tab, std::array< int, 48 > nWords, bool pciedata) |
Get the Belle2Link header information. | |
virtual | ~SubTrigger () |
destructor | |
Public Attributes | |
std::string | name |
Name of the UT3. | |
unsigned | eventWidth |
Size of an event in the Belle2Link data in 32-bit words. | |
unsigned | offset |
The starting point of the data in an event. | |
int | headerSize |
Size of the B2L header in words. | |
int | iNode |
COPPER id of the board. | |
int | iFinesse |
FINESSE (HSLB) id) of the board. | |
int | iNode_pcie40 |
PCIe40 id of the board. | |
int | iFinesse_pcie40 |
PCIe40 ch id of the board. | |
std::string | firmwareType |
type of the FPGA firmware | |
std::string | firmwareVersion |
version of the FPGA firmware | |
int & | delay |
Reference to the variable of its Belle2Link delay. | |
int & | cnttrg |
counter of trgger signal, total 32 bits, the 20 LSBs recorded in the event header | |
int | debugLevel |
debug level in the steering file | |
enum class SubTriggerType : unsigned char {Merger, TSF, T2D, T3D, Neuro, ETF};
Definition at line 58 of file CDCTriggerUnpackerModule.h.
|
inline |
constructor
Definition at line 60 of file CDCTriggerUnpackerModule.h.
|
inlinevirtual |
|
inlinevirtual |
Get the Belle2Link header information.
subDetectorId | COPPER id of the current data |
data32tab | list of pointers to the Belle2Link data buffers |
nWords | Number of words of each FINESSE in the COPPER |
pciedata | Switch between PCIe 40 and COPPER |
Definition at line 128 of file CDCTriggerUnpackerModule.h.
|
inlinevirtual |
Calculate the number of clocks in the data, reserve that much of clocks in the Bitstream(s)
Reimplemented in Merger, Tracker2D, and Neuro.
Definition at line 105 of file CDCTriggerUnpackerModule.h.
|
inlinevirtual |
Unpack the Belle2Link data and fill the Bitstream.
Reimplemented in Neuro.
Definition at line 110 of file CDCTriggerUnpackerModule.h.
int& cnttrg |
counter of trgger signal, total 32 bits, the 20 LSBs recorded in the event header
Definition at line 96 of file CDCTriggerUnpackerModule.h.
int debugLevel |
debug level in the steering file
Definition at line 99 of file CDCTriggerUnpackerModule.h.
int& delay |
Reference to the variable of its Belle2Link delay.
Definition at line 94 of file CDCTriggerUnpackerModule.h.
unsigned eventWidth |
Size of an event in the Belle2Link data in 32-bit words.
Definition at line 74 of file CDCTriggerUnpackerModule.h.
std::string firmwareType |
type of the FPGA firmware
Definition at line 90 of file CDCTriggerUnpackerModule.h.
std::string firmwareVersion |
version of the FPGA firmware
Definition at line 92 of file CDCTriggerUnpackerModule.h.
int headerSize |
Size of the B2L header in words.
Definition at line 78 of file CDCTriggerUnpackerModule.h.
int iFinesse |
FINESSE (HSLB) id) of the board.
Definition at line 82 of file CDCTriggerUnpackerModule.h.
int iFinesse_pcie40 |
PCIe40 ch id of the board.
Definition at line 86 of file CDCTriggerUnpackerModule.h.
int iNode |
COPPER id of the board.
Definition at line 80 of file CDCTriggerUnpackerModule.h.
int iNode_pcie40 |
PCIe40 id of the board.
Definition at line 84 of file CDCTriggerUnpackerModule.h.
std::string name |
Name of the UT3.
Definition at line 72 of file CDCTriggerUnpackerModule.h.
unsigned offset |
The starting point of the data in an event.
Definition at line 76 of file CDCTriggerUnpackerModule.h.