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 27 of file SiPixelArrayBuffer.h.
|
inline |
Definition at line 57 of file SiPixelArrayBuffer.h.
|
inline |
Definition at line 31 of file SiPixelArrayBuffer.h.
References cuy::col, operator()(), and setSize().
|
inline |
Definition at line 91 of file SiPixelArrayBuffer.h.
References ecalMGPA::adc(), index(), and pixel_vec.
Referenced by columns().
|
inline |
Definition at line 37 of file SiPixelArrayBuffer.h.
References ecalMGPA::adc(), add_adc(), inside(), ncols, and set_adc().
|
inline |
Definition of indexing within the buffer.
Definition at line 46 of file SiPixelArrayBuffer.h.
References nrows.
Referenced by add_adc(), BeautifulSoup.PageElement::insert(), operator()(), and set_adc().
|
inline |
Definition at line 47 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 74 of file SiPixelArrayBuffer.h.
References index(), and pixel_vec.
Referenced by SiPixelArrayBuffer().
|
inline |
Definition at line 77 of file SiPixelArrayBuffer.h.
References index(), and pixel_vec.
|
inline |
|
inline |
Definition at line 80 of file SiPixelArrayBuffer.h.
References ecalMGPA::adc(), index(), and pixel_vec.
Referenced by columns().
|
inline |
Definition at line 86 of file SiPixelArrayBuffer.h.
References ecalMGPA::adc(), index(), and pixel_vec.
|
inline |
Definition at line 61 of file SiPixelArrayBuffer.h.
References ncols, nrows, pixel_vec, and rows().
Referenced by SiPixelArrayBuffer().
|
inline |
Definition at line 43 of file SiPixelArrayBuffer.h.
References pixel_vec.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 52 of file SiPixelArrayBuffer.h.
|
private |
Definition at line 51 of file SiPixelArrayBuffer.h.
|
private |
Definition at line 50 of file SiPixelArrayBuffer.h.
Referenced by add_adc(), operator()(), set_adc(), setSize(), and size().