Class to store ADC counts during clustering. More...
#include <SiPixelArrayBuffer.h>
Public Member Functions | |
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 27 of file SiPixelArrayBuffer.h.
|
inline |
Definition at line 56 of file SiPixelArrayBuffer.h.
|
inline |
Definition at line 31 of file SiPixelArrayBuffer.h.
|
inline |
|
inline |
Definition of indexing within the buffer.
Definition at line 45 of file SiPixelArrayBuffer.h.
References nrows.
Referenced by BeautifulSoup.PageElement::_invert(), operator()(), and set_adc().
|
inline |
Definition at line 46 of file SiPixelArrayBuffer.h.
References SiPixelCluster::PixelPos::col(), index(), and SiPixelCluster::PixelPos::row().
Referenced by BeautifulSoup.PageElement::_invert(), and index().
|
inline |
|
inline |
Definition at line 73 of file SiPixelArrayBuffer.h.
References index(), and pixel_vec.
|
inline |
Definition at line 76 of file SiPixelArrayBuffer.h.
References index(), and pixel_vec.
|
inline |
|
inline |
Definition at line 79 of file SiPixelArrayBuffer.h.
References ecalMGPA::adc(), index(), and pixel_vec.
|
inline |
Definition at line 85 of file SiPixelArrayBuffer.h.
References ecalMGPA::adc(), index(), and pixel_vec.
|
inline |
|
inline |
|
private |
Definition at line 51 of file SiPixelArrayBuffer.h.
|
private |
Definition at line 50 of file SiPixelArrayBuffer.h.
|
private |
Definition at line 49 of file SiPixelArrayBuffer.h.
Referenced by operator()(), set_adc(), setSize(), and size().