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;
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error s
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