1#ifndef TV1730DppData_hxx_seen
2#define TV1730DppData_hxx_seen
23 int header_size = (
header1 & 0xfff)*8;
24 if(header_size != (
int)
fSamples.size())
25 std::cerr <<
"v17390::ChannelMeasurement N samples doesn't match!!"
26 << header_size <<
" " <<
fSamples.size() <<std::endl;
34 if(i >= 0 && i < (
int)
fSamples.size())
68 TV1730DppData(
int bklen,
int bktype,
const char* name,
void *pdata);
uint32_t GetSample(int i)
Get Errors.
std::vector< uint32_t > fSamples
bool GetBaselineEnabled()
ChannelMeasurement(int chan, uint32_t iheader0, uint32_t iheader1)
Constructor; need to pass in header and measurement.
void AddSamples(std::vector< uint32_t > Samples)
bool GetDualTraceEnabled()
See CAEN DPP manual for definition of all these variables.
Class to store DPP data from CAEN V1730.
uint32_t GetTriggerTimeTag() const
Get the extended trigger time tag.
std::vector< uint32_t > fGlobalHeader
The overall global header.
uint32_t GetGeoAddress() const
Get Geographical Address.
void Print()
Print the bank contents in a structured way.
uint32_t GetEventCounter() const
Get Event Counter.
uint32_t GetChMask()
Get channel mask.
std::vector< ChannelMeasurement > fMeasurements
Vector of V1730 Measurements.
std::vector< ChannelMeasurement > & GetMeasurements()
Get the Vector of TDC Measurements.