12#include <framework/datastore/StoreArray.h>
26 const int c_NChannelsAsic = 15;
64 int copper,
int slot,
const int* buffer,
165 return (raw >> 13) & 0x7;
174 return (raw >> 8) & 0x1F;
183 return (raw >> 7) & 0x1;
210 return (raw >> 11) & 0x1F;
235 return (raw >> 15) & 0x1;
Class to store the raw words from the unpacker, digit-by-digit.
uint16_t m_Charge
Charge (12 bits).
static uint16_t unpackFE(uint16_t raw)
Unpack feature-extraction bit.
uint16_t m_TDC
TDC (11 bits).
uint16_t getType() const
Get packet type.
static uint16_t unpackTDC(uint16_t raw)
Unpack TDC.
static uint16_t unpackType(uint16_t raw)
Unpack packet type.
static uint16_t unpackChannel(uint16_t raw)
Unpack channel.
uint16_t getCTime() const
Get CTIME.
static uint16_t unpackCharge(uint16_t raw)
Unpack charge.
uint16_t getTDC() const
Get TDC.
uint16_t m_Axis
Axis (1 bit).
uint16_t m_Channel
Channel (7 bits).
uint16_t m_TriggerBits
Trigger bits (5 bits).
uint16_t getChannel() const
Get channel.
static uint16_t unpackCTime(uint16_t raw)
Unpack CTIME.
uint16_t m_Type
Packet type (3 bits).
uint16_t m_FE
Feature extraction mode (1 bit).
static uint16_t unpackLane(uint16_t raw)
Unpack lane.
uint16_t getLane() const
Get lane.
static uint16_t unpackTriggerBits(uint16_t raw)
Unpack trigger bits.
uint16_t m_Lane
Lane (5 bits).
bool multipleStripHit() const
Check whether this hit corresponds to multiple strips.
uint16_t getCharge() const
Get charge.
uint16_t getFE() const
Get feature-extraction mode.
static uint16_t unpackAxis(uint16_t raw)
Unpack axis.
void getChannelGroups(std::vector< ChannelGroup > &channelGroups) const
Get channel groups corresponding to this hit.
uint16_t m_CTime
CTIME (16 bits).
uint16_t getTriggerBits() const
Get trigger bits.
uint16_t getAxis() const
Get axis.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.
int firstChannel
First channel in the group.
int firstStrip
Strip number corresponding to the first channel.
int lastStrip
Strip number corresponding to the last channel.
int lastChannel
Last channel in the group (0 for single-strip hits).