16 #include <pxd/dataobjects/PXDRawAdc.h>
17 #include <boost/endian/arithmetic.hpp>
18 #include <framework/logging/Logger.h>
24 PXDRawAdc::PXDRawAdc(
VxdID sensorID,
void* data,
int len):
25 m_sensorID(sensorID), m_adcs()
27 unsigned char* d = (
unsigned char*)data;
32 B2ERROR(
"PXDRawAdc size is negative!");
35 std::memcpy(&
m_adcs[0], d, len);
unsigned short m_dhp_header
needed for Chip id
std::vector< uint8_t > m_adcs
Raw ADC data as it is memory dumped by the DHP.
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.