27 mHeaders[
index] = header;
74 return mHeaders[
index];
92 return mChannels[
index];
100 return mCalibChannels[
index];
105 return mCalibChannels;
113 return mCMNChannels[
index];
137 std::fill(mHeaders.begin(), mHeaders.end(),
ASICHeader(0));
138 std::fill(mChannels.begin(), mChannels.end(),
ASICChannel(0));
139 std::fill(mCalibChannels.begin(), mCalibChannels.end(),
ASICChannel(0));
140 std::fill(mCMNChannels.begin(), mCMNChannels.end(),
ASICChannel(0));
150 std::copy(triggerwords.begin(), triggerwords.end(), std::back_inserter(mTriggerData));
155 mTriggerData.emplace_back(triggerword);
161 mTriggerData.clear();
166 for (
auto& asic : mASICs) {
176 return mASICs[
index];
184 return mASICs[
index];
void appendTriggerWords(gsl::span< const TriggerWord > triggerwords)
gsl::span< const TriggerWord > getTriggerWords() const
void appendTriggerWord(TriggerWord triggerword)
void setChannels(const gsl::span< const ASICChannel > channels)
void setSecondHeader(ASICHeader header)
void setFirstHeader(ASICHeader header)
void setChannel(ASICChannel data, int index)
gsl::span< const ASICChannel > getCalibs() const
ASICChannel getCalib(int index) const
gsl::span< const ASICChannel > getCMNs() const
void setHeader(ASICHeader header, int index)
ASICHeader getHeader(int index) const
void setCalib(ASICChannel data, int index)
void setCMN(ASICChannel data, int index)
static constexpr int NHALVES
gsl::span< const ASICHeader > getHeaders() const
static constexpr int NCHANNELS
void setCalibs(const gsl::span< const ASICChannel > channels)
ASICChannel getChannel(int index) const
void setCMNs(const gsl::span< const ASICChannel > channels)
gsl::span< const ASICChannel > getChannels() const
ASICChannel getCMN(int index) const
const ASICContainer & getDataForASIC(int index) const
static constexpr int NASICS
std::vector< ChannelData > channels