 |
Belle II Software
release-05-02-19
|
14 #include <framework/datastore/StoreArray.h>
63 int copper,
int slot,
const int* buffer,
148 return (raw >> 8) & 0x1F;
157 return (raw >> 7) & 0x1;
184 return (raw >> 11) & 0x1F;
uint16_t getCharge() const
Get charge.
uint16_t getChannel() const
Get channel.
static uint16_t unpackTriggerBits(uint16_t raw)
Unpack trigger bits.
uint16_t getTriggerBits() const
Get trigger bits.
int firstChannel
First channel in the group.
uint16_t m_CTime
CTIME (16 bits).
uint16_t m_Axis
Axis (1 bit).
uint16_t getCTime() const
Get CTIME.
uint16_t getTDC() const
Get TDC.
static uint16_t unpackLane(uint16_t raw)
Unpack lane.
uint16_t m_Lane
Lane (5 bits).
int lastStrip
Strip number corresponding to the last channel.
static uint16_t unpackTDC(uint16_t raw)
Unpack TDC.
int lastChannel
Last channel in the group (0 for single-strip hits).
Abstract base class for different kinds of events.
uint16_t m_Charge
Charge (12 bits).
RawData(int copper, int slot, const int *buffer, StoreArray< KLMDigitRaw > *klmDigitRaws, KLMDigitRaw **newDigitRaw, bool fillDigitRaws)
Constructor (unpack KLM raw data).
static uint16_t unpackChannel(uint16_t raw)
Unpack channel.
uint16_t m_Channel
Channel (7 bits).
Class to store the raw words from the unpacker, digit-by-digit.
uint16_t m_TriggerBits
Trigger bits (5 bits).
static uint16_t unpackCTime(uint16_t raw)
Unpack CTIME.
int firstStrip
Strip number corresponding to the first channel.
bool multipleStripHit() const
Check whether this hit corresponds to multiple strips.
uint16_t getAxis() const
Get axis.
static uint16_t unpackCharge(uint16_t raw)
Unpack charge.
uint16_t m_TDC
TDC (11 bits).
void getChannelGroups(std::vector< ChannelGroup > &channelGroups) const
Get channel groups corresponding to this hit.
static uint16_t unpackAxis(uint16_t raw)
Unpack axis.
Accessor to arrays stored in the data store.
uint16_t getLane() const
Get lane.