 |
Belle II Software
release-05-02-19
|
14 #include <framework/datastore/RelationsObject.h>
17 #include <klm/rawdata/RawData.h>
51 KLMDigitRaw(
int copper,
int slot, uint16_t word1, uint16_t word2,
52 uint16_t word3, uint16_t word4):
static uint16_t unpackTriggerBits(uint16_t raw)
Unpack trigger bits.
uint16_t getChannel() const
Get the channel number.
int getCopper() const
Get copper identifier.
uint16_t m_word3
Third (of four) raw-data words (contains lane number).
uint16_t getTriggerBits()
Get trigger bits.
uint16_t m_word2
Second (of four) raw-data words (contains view/axis/plane).
uint16_t getCharge()
Get charge.
static uint16_t unpackLane(uint16_t raw)
Unpack lane.
uint16_t getWord1() const
Get the first (of four) raw words.
uint16_t getLane() const
Get the lane number.
uint16_t getTdc()
Get TDC.
static uint16_t unpackTDC(uint16_t raw)
Unpack TDC.
uint16_t getWord4() const
Get the fourth (of four) raw words.
uint16_t getAxis() const
Get the view (= axis = plane) number.
uint16_t m_word4
Fourth (of four) raw-data words (contains status flag).
Abstract base class for different kinds of events.
ClassDef(KLMDigitRaw, 2)
Class version.
static uint16_t unpackChannel(uint16_t raw)
Unpack channel.
uint16_t getWord2() const
Get the second (of four) raw words.
Class to store the raw words from the unpacker, digit-by-digit.
uint16_t getUnusedBits()
Get unused bits from the fourth word.
int getSlot() const
Get slot number.
static uint16_t unpackCTime(uint16_t raw)
Unpack CTIME.
uint16_t getFlag() const
Get the status flag.
uint16_t getCtime() const
Get CTIME.
KLMDigitRaw()
Default constructor.
static uint16_t unpackCharge(uint16_t raw)
Unpack charge.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
int m_Copper
Copper identifier.
static uint16_t unpackAxis(uint16_t raw)
Unpack axis.
uint16_t m_word1
First (of four) raw-data words (contains channel number).
uint16_t getWord3() const
Get the third (of four) raw words.