Belle II Software development
|
unpacker for the 2D tracker More...
Public Member Functions | |
Tracker2D (StoreArray< TSFOutputBitStream > *inArrayPtr, StoreArray< T2DOutputBitStream > *outArrayPtr, const std::string &inName, unsigned inEventWidth, unsigned inOffset, unsigned inHeaderSize, const std::vector< int > &inNodeID, const std::vector< int > &inNodeID_pcie40, unsigned inNumTS, int &inDelay, int &inCnttrg, int inDebugLevel) | |
constructor | |
void | reserve (int subDetectorId, std::array< int, nFinesse > nWords, bool pciedata) override |
Calculate the number of clocks in the data, reserve that much of clocks in the Bitstream(s) | |
void | unpack (int subDetectorId, std::array< int *, 48 > data32tab, std::array< int, 48 > nWords, bool pciedata) override |
Unpack the Belle2Link data and fill the Bitstream. | |
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. | |
Public Attributes | |
StoreArray< TSFOutputBitStream > * | inputArrayPtr |
pointer to the Bitstream of 2D input | |
StoreArray< T2DOutputBitStream > * | outputArrayPtr |
pointer to the Bitstream of 2D output to 3D/Neuro | |
unsigned | iTracker |
ID of the 2D tracker (0 to 3) | |
unsigned | numTS |
Number of TS sent to 2D (0 to 20) | |
unsigned | offsetBitWidth |
starting point of the input data in an Belle2Link event | |
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 | |
unpacker for the 2D tracker
Definition at line 155 of file CDCTriggerUnpackerModule.cc.
|
inline |
constructor
Definition at line 157 of file CDCTriggerUnpackerModule.cc.
|
inlinevirtualinherited |
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.
|
inlineoverridevirtual |
Calculate the number of clocks in the data, reserve that much of clocks in the Bitstream(s)
subDetectorId | COPPER id of the current data |
nWords | Number of words of each FINESSE in the COPPER |
pciedata | Switch between PCIe 40 and COPPER |
Reimplemented from SubTrigger.
Definition at line 189 of file CDCTriggerUnpackerModule.cc.
|
inlineoverride |
Unpack the Belle2Link data and fill the Bitstream.
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 231 of file CDCTriggerUnpackerModule.cc.
|
inlinevirtualinherited |
Unpack the Belle2Link data and fill the Bitstream.
Reimplemented in Neuro.
Definition at line 110 of file CDCTriggerUnpackerModule.h.
|
inherited |
counter of trgger signal, total 32 bits, the 20 LSBs recorded in the event header
Definition at line 96 of file CDCTriggerUnpackerModule.h.
|
inherited |
debug level in the steering file
Definition at line 99 of file CDCTriggerUnpackerModule.h.
|
inherited |
Reference to the variable of its Belle2Link delay.
Definition at line 94 of file CDCTriggerUnpackerModule.h.
|
inherited |
Size of an event in the Belle2Link data in 32-bit words.
Definition at line 74 of file CDCTriggerUnpackerModule.h.
|
inherited |
type of the FPGA firmware
Definition at line 90 of file CDCTriggerUnpackerModule.h.
|
inherited |
version of the FPGA firmware
Definition at line 92 of file CDCTriggerUnpackerModule.h.
|
inherited |
Size of the B2L header in words.
Definition at line 78 of file CDCTriggerUnpackerModule.h.
|
inherited |
FINESSE (HSLB) id) of the board.
Definition at line 82 of file CDCTriggerUnpackerModule.h.
|
inherited |
PCIe40 ch id of the board.
Definition at line 86 of file CDCTriggerUnpackerModule.h.
|
inherited |
COPPER id of the board.
Definition at line 80 of file CDCTriggerUnpackerModule.h.
|
inherited |
PCIe40 id of the board.
Definition at line 84 of file CDCTriggerUnpackerModule.h.
StoreArray<TSFOutputBitStream>* inputArrayPtr |
pointer to the Bitstream of 2D input
Definition at line 171 of file CDCTriggerUnpackerModule.cc.
unsigned iTracker |
ID of the 2D tracker (0 to 3)
Definition at line 175 of file CDCTriggerUnpackerModule.cc.
|
inherited |
Name of the UT3.
Definition at line 72 of file CDCTriggerUnpackerModule.h.
unsigned numTS |
Number of TS sent to 2D (0 to 20)
Definition at line 177 of file CDCTriggerUnpackerModule.cc.
|
inherited |
The starting point of the data in an event.
Definition at line 76 of file CDCTriggerUnpackerModule.h.
unsigned offsetBitWidth |
starting point of the input data in an Belle2Link event
Definition at line 179 of file CDCTriggerUnpackerModule.cc.
StoreArray<T2DOutputBitStream>* outputArrayPtr |
pointer to the Bitstream of 2D output to 3D/Neuro
Definition at line 173 of file CDCTriggerUnpackerModule.cc.