11#ifndef ALICEO2_FOCAL_PADPEDESTAL_H
12#define ALICEO2_FOCAL_PADPEDESTAL_H
17#include <unordered_map>
19#include <boost/container_hash/hash.hpp>
48 boost::hash_combine(seed, s.mLayer);
49 boost::hash_combine(seed, s.mChannel);
63 const
char*
what() const noexcept final {
return mMessage.data(); }
65 std::size_t
getLayer() const noexcept {
return mLayer; }
66 std::size_t
getChannel() const noexcept {
return mChannel; }
83 const
char*
what() const noexcept final {
return mMessage.data(); }
84 std::size_t
getLayer() const noexcept {
return mLayer; }
87 std::size_t mLayer = 0;
105 std::unordered_map<ChannelID, double, ChannelIDHasher> mPedestalValues;
const char * what() const noexcept final
std::size_t getLayer() const noexcept
InvalidChannelException(std::size_t layer, std::size_t channel)
~InvalidChannelException() noexcept final=default
std::size_t getChannel() const noexcept
const char * what() const noexcept final
~InvalidLayerException() noexcept final=default
std::size_t getLayer() const noexcept
InvalidLayerException(std::size_t layer)
void setPedestal(std::size_t layer, std::size_t channel, double pedestal)
int getNumberOfChannels() const
TH1 * getHistogramRepresentation(int layer) const
double getPedestal(std::size_t layer, std::size_t channel) const
bool operator==(const PadPedestal &rhs) const
std::array< TH1 *, 18 > getLayerHistogramRepresentations() const
GLenum GLuint GLint GLint layer
std::string to_string(gsl::span< T, Size > span)
size_t operator()(const ChannelID &s) const
Functor implementation.
bool operator==(const ChannelID &other) const
VectorOfTObjectPtrs other