Class to store ADC counts during clustering. More...
#include <SiPixelArrayBuffer.h>
Public Member Functions | |
void | add_adc (int row, int col, int adc) |
int | columns () const |
int | index (int row, int col) const |
Definition of indexing within the buffer. More... | |
int | index (const SiPixelCluster::PixelPos &pix) const |
bool | inside (int row, int col) const |
int | operator() (int row, int col) const |
int | operator() (const SiPixelCluster::PixelPos &) const |
int | rows () const |
void | set_adc (int row, int col, int adc) |
void | set_adc (const SiPixelCluster::PixelPos &, int adc) |
void | setSize (int rows, int cols) |
SiPixelArrayBuffer (int rows, int cols) | |
SiPixelArrayBuffer () | |
int | size () const |
Private Attributes | |
int | ncols |
int | nrows |
std::vector< int > | pixel_vec |
Class to store ADC counts during clustering.
This class defines the buffer where the pixel ADC are stored. The size is the number of rows and cols into a ROC and it is set in the PixelThresholdClusterizer
TO DO: the chip size should be obtained in some better way.
History: Modify the indexing to col*nrows + row. 9/01 d.k. Add setSize method to adjust array size. 3/02 d.k.
Definition at line 25 of file SiPixelArrayBuffer.h.
|
inline |
Definition at line 52 of file SiPixelArrayBuffer.h.
|
inline |
Definition at line 28 of file SiPixelArrayBuffer.h.
|
inline |
Definition at line 71 of file SiPixelArrayBuffer.h.
References gpuClustering::adc, cuy::col, index(), and pixel_vec.
Referenced by PixelThresholdClusterizer::copy_to_buffer().
|
inline |
Definition at line 34 of file SiPixelArrayBuffer.h.
References ncols.
Referenced by PixelThresholdClusterizer::make_cluster(), PixelThresholdClusterizerForBricked::make_cluster_bricked(), and PixelThresholdClusterizer::setup().
|
inline |
Definition of indexing within the buffer.
Definition at line 43 of file SiPixelArrayBuffer.h.
References cuy::col, and nrows.
Referenced by add_adc(), PixelThresholdClusterizer::copy_to_buffer(), BeautifulSoup.PageElement::insert(), operator()(), and set_adc().
|
inline |
Definition at line 44 of file SiPixelArrayBuffer.h.
References SiPixelCluster::PixelPos::col(), index(), and SiPixelCluster::PixelPos::row().
Referenced by index(), and BeautifulSoup.PageElement::insert().
|
inline |
|
inline |
Definition at line 62 of file SiPixelArrayBuffer.h.
References cuy::col, index(), and pixel_vec.
|
inline |
Definition at line 64 of file SiPixelArrayBuffer.h.
References index(), and pixel_vec.
|
inline |
Definition at line 33 of file SiPixelArrayBuffer.h.
References nrows.
Referenced by PixelThresholdClusterizer::make_cluster(), PixelThresholdClusterizerForBricked::make_cluster_bricked(), setSize(), and PixelThresholdClusterizer::setup().
|
inline |
Definition at line 67 of file SiPixelArrayBuffer.h.
References gpuClustering::adc, cuy::col, index(), and pixel_vec.
Referenced by PixelThresholdClusterizer::clear_buffer(), PixelThresholdClusterizer::copy_to_buffer(), PixelThresholdClusterizer::make_cluster(), and PixelThresholdClusterizerForBricked::make_cluster_bricked().
|
inline |
Definition at line 69 of file SiPixelArrayBuffer.h.
References gpuClustering::adc, index(), and pixel_vec.
|
inline |
Definition at line 54 of file SiPixelArrayBuffer.h.
References ncols, nrows, pixel_vec, and rows().
Referenced by PixelThresholdClusterizer::PixelThresholdClusterizer(), and PixelThresholdClusterizer::setup().
|
inline |
Definition at line 40 of file SiPixelArrayBuffer.h.
References pixel_vec.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 49 of file SiPixelArrayBuffer.h.
|
private |
Definition at line 48 of file SiPixelArrayBuffer.h.
|
private |
Definition at line 47 of file SiPixelArrayBuffer.h.
Referenced by add_adc(), operator()(), set_adc(), setSize(), and size().