1 #ifndef RecoLocalTracker_SiPixelClusterizer_SiPixelArrayBuffer_H 2 #define RecoLocalTracker_SiPixelClusterizer_SiPixelArrayBuffer_H 30 inline void setSize(
int rows,
int cols);
36 inline bool inside(
int row,
int col)
const;
37 inline void set_adc(
int row,
int col,
int adc);
39 inline void add_adc(
int row,
int col,
int adc);
43 int index(
int row,
int col)
const {
return col *
nrows + row; }
int operator()(int row, int col) const
void set_adc(int row, int col, int adc)
std::vector< int > pixel_vec
void add_adc(int row, int col, int adc)
int index(int row, int col) const
Definition of indexing within the buffer.
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
int index(const SiPixelCluster::PixelPos &pix) const
constexpr int col() const
bool inside(int row, int col) const
void setSize(int rows, int cols)
constexpr int row() const
Class to store ADC counts during clustering.