33 static int PacketType(
const void*ptr,
int bklen8);
38 void Unpack(
const void* bkptr,
int bklen8);
47 void Unpack(
const void* bkptr,
int bklen8);
50 #define MAX_ALPHA16 32
51 #define NUM_CHAN_ALPHA16 16
std::vector< int16_t > Alpha16WaveformVector
void CheckEvent(Alpha16Event *e)
Alpha16Event * NewEvent()
void Configure(int runno)
uint32_t fFirstEventTs[MAX_ALPHA16 *NUM_CHAN_ALPHA16]
void AddBank(Alpha16Event *e, int imodule, const void *bkptr, int bklen)
std::vector< int > fConfModMap
uint32_t udpEventTs[MAX_ALPHA16 *NUM_CHAN_ALPHA16]
bool udpPresent[MAX_ALPHA16 *NUM_CHAN_ALPHA16]
Alpha16Packet udpPacket[MAX_ALPHA16 *NUM_CHAN_ALPHA16]
Alpha16Waveform waveform[MAX_ALPHA16 *NUM_CHAN_ALPHA16]
static int PacketVersion(const void *ptr, int bklen8)
static int PacketChannel(const void *ptr, int bklen8)
static uint32_t PacketTimestamp(const void *ptr, int bklen8)
void Unpack(const void *bkptr, int bklen8)
static int PacketType(const void *ptr, int bklen8)