11#ifndef ALICEO2_FOCAL_PADDATA_H
12#define ALICEO2_FOCAL_PADDATA_H
40 const
char*
what() const noexcept final
42 return mMessage.data();
79 gsl::span<const ASICHeader>
getHeaders()
const;
87 gsl::span<const ASICChannel>
getCalibs()
const;
92 gsl::span<const ASICChannel>
getCMNs()
const;
97 std::array<ASICHeader, NHALVES> mHeaders;
98 std::array<ASICChannel, NCHANNELS> mChannels;
99 std::array<ASICChannel, NHALVES> mCalibChannels;
100 std::array<ASICChannel, NHALVES> mCMNChannels;
120 std::vector<TriggerWord> mTriggerData;
137 const
char*
what() const noexcept final
139 return mMessage.data();
148 std::string mMessage;
163 std::array<ASICContainer, NASICS> mASICs;
void appendTriggerWords(gsl::span< const TriggerWord > triggerwords)
gsl::span< const TriggerWord > getTriggerWords() const
const ASICData & getASIC() const
void appendTriggerWord(TriggerWord triggerword)
~IndexException() noexcept final=default
IndexException(int index, int maxindex)
const char * what() const noexcept final
ASICChannel getFirstCMN() const
void setChannels(const gsl::span< const ASICChannel > channels)
ASICChannel getFirstCalib() const
void setSecondHeader(ASICHeader header)
void setSecondCalib(ASICChannel data)
void setFirstHeader(ASICHeader header)
void setChannel(ASICChannel data, int index)
gsl::span< const ASICChannel > getCalibs() const
ASICChannel getSecondCMN() const
ASICHeader getSecondHeader() const
ASICHeader getFirstHeader() const
ASICChannel getCalib(int index) const
gsl::span< const ASICChannel > getCMNs() const
ASICChannel getSecondCalib() 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 setSecondCMN(ASICChannel data)
void setCMNs(const gsl::span< const ASICChannel > channels)
void setFirstCMN(ASICChannel data)
gsl::span< const ASICChannel > getChannels() const
void setFirstCalib(ASICChannel data)
ASICChannel getCMN(int index) const
const char * what() const noexcept final
~IndexException() noexcept final=default
IndexException(int index, int maxindex)
const ASICContainer & getDataForASIC(int index) const
ASICContainer & operator[](int index)
static constexpr int NASICS
const ASICContainer & operator[](int index) const
Defining DataPointCompositeObject explicitly as copiable.
std::string to_string(gsl::span< T, Size > span)
std::vector< ChannelData > channels