21 m_status(0xffffffff), m_adcMax(-1)
31 float pedestal,
float pedestalRMS,
34 m_energy(
energy), m_time(
time), m_quality(quality),
35 m_pedestal(pedestal), m_pedestalRMS(pedestalRMS),
36 m_status(
status), m_adcMax(adcMax)
39 m_corrs.reserve( autoCorrs.size());
41 for (
unsigned int i = 0;
i < autoCorrs.size() &&
i <
nSamples() - 1; ++
i)
47 const std::vector<float>& corrs,
50 float pedestal,
float pedestalRMS,
52 : m_gain(
gain), m_samples(samples), m_corrs(corrs), m_eventIndex(
eventIndex),
53 m_energy(
energy), m_time(
time), m_quality(quality),
54 m_pedestal(pedestal), m_pedestalRMS(pedestalRMS),
55 m_status(
status), m_adcMax(adcMax)
62 : m_gain(
other.m_gain), m_samples(
other.m_samples), m_corrs(
other.m_corrs),
63 m_eventIndex(
other.m_eventIndex),
64 m_energy(
other.m_energy), m_time(adcMax > 0 ?
time :
other.m_time), m_quality(
other.m_quality),
65 m_pedestal(
other.m_pedestal), m_pedestalRMS(
other.m_pedestalRMS),
66 m_status(
other.m_status), m_adcMax(adcMax > 0 ? adcMax :
other.m_adcMax)
87 if (
status() < 0)
return false;