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