![]() |
Belle II Software
release-08-02-04
|
KLM raw data. More...
#include <RawData.h>
Public Member Functions | |
| RawData (int copper, int slot, const int *buffer, StoreArray< KLMDigitRaw > *klmDigitRaws, KLMDigitRaw **newDigitRaw, bool fillDigitRaws) | |
| Constructor (unpack KLM raw data). More... | |
| ~RawData () | |
| Destructor. | |
| uint16_t | getType () const |
| Get packet type. | |
| uint16_t | getLane () const |
| Get lane. | |
| uint16_t | getAxis () const |
| Get axis. | |
| uint16_t | getChannel () const |
| Get channel. | |
| uint16_t | getCTime () const |
| Get CTIME. | |
| uint16_t | getTriggerBits () const |
| Get trigger bits. | |
| uint16_t | getTDC () const |
| Get TDC. | |
| uint16_t | getCharge () const |
| Get charge. | |
| uint16_t | getFE () const |
| Get feature-extraction mode. | |
| bool | multipleStripHit () const |
| Check whether this hit corresponds to multiple strips. | |
| void | getChannelGroups (std::vector< ChannelGroup > &channelGroups) const |
| Get channel groups corresponding to this hit. More... | |
Static Public Member Functions | |
| static uint16_t | unpackType (uint16_t raw) |
| Unpack packet type. More... | |
| static uint16_t | unpackLane (uint16_t raw) |
| Unpack lane. More... | |
| static uint16_t | unpackAxis (uint16_t raw) |
| Unpack axis. More... | |
| static uint16_t | unpackChannel (uint16_t raw) |
| Unpack channel. More... | |
| static uint16_t | unpackCTime (uint16_t raw) |
| Unpack CTIME. More... | |
| static uint16_t | unpackTriggerBits (uint16_t raw) |
| Unpack trigger bits. More... | |
| static uint16_t | unpackTDC (uint16_t raw) |
| Unpack TDC. More... | |
| static uint16_t | unpackCharge (uint16_t raw) |
| Unpack charge. | |
| static uint16_t | unpackFE (uint16_t raw) |
| Unpack feature-extraction bit. | |
Protected Attributes | |
| uint16_t | m_Type |
| Packet type (3 bits). | |
| uint16_t | m_Lane |
| Lane (5 bits). | |
| uint16_t | m_Axis |
| Axis (1 bit). | |
| uint16_t | m_Channel |
| Channel (7 bits). | |
| uint16_t | m_CTime |
| CTIME (16 bits). | |
| uint16_t | m_TriggerBits |
| Trigger bits (5 bits). | |
| uint16_t | m_TDC |
| TDC (11 bits). | |
| uint16_t | m_Charge |
| Charge (12 bits). | |
| uint16_t | m_FE |
| Feature extraction mode (1 bit). | |
| RawData | ( | int | copper, |
| int | slot, | ||
| const int * | buffer, | ||
| StoreArray< KLMDigitRaw > * | klmDigitRaws, | ||
| KLMDigitRaw ** | newDigitRaw, | ||
| bool | fillDigitRaws | ||
| ) |
Constructor (unpack KLM raw data).
| [in] | copper | Copper identifier. |
| [in] | slot | Slot number (1-based). |
| [in] | buffer | Data buffer (to be unpacked). |
| [in,out] | klmDigitRaws | KLMDigitRaw array. |
| [out] | newDigitRaw | New KLMRawDigit. |
| [in] | fillDigitRaws | Whether to fill klmDigitRaws. |
Definition at line 20 of file RawData.cc.
| void getChannelGroups | ( | std::vector< ChannelGroup > & | channelGroups | ) | const |
Get channel groups corresponding to this hit.
| [out] | channelGroups | Channel groups. |
Definition at line 50 of file RawData.cc.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |