Class to store ADC counts during clustering. More...
#include <Phase2ITPixelArrayBuffer.h>
Public Member Functions | |
int | columns () const |
int | index (int row, int col) const |
Definition of indexing within the buffer. More... | |
int | index (const Phase2ITPixelCluster::PixelPos &pix) const |
bool | inside (int row, int col) const |
int | operator() (int row, int col) const |
int | operator() (const Phase2ITPixelCluster::PixelPos &) const |
Phase2ITPixelArrayBuffer (int rows, int cols) | |
Phase2ITPixelArrayBuffer () | |
int | rows () const |
void | set_adc (int row, int col, int adc) |
void | set_adc (const Phase2ITPixelCluster::PixelPos &, int adc) |
void | setSize (int rows, int cols) |
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 PhasePixelThresholdClusterizer
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 Phase2ITPixelArrayBuffer.h.
|
inline |
Definition at line 56 of file Phase2ITPixelArrayBuffer.h.
|
inline |
Definition at line 31 of file Phase2ITPixelArrayBuffer.h.
References cuy::col, operator()(), and setSize().
|
inline |
Definition at line 37 of file Phase2ITPixelArrayBuffer.h.
References ecalMGPA::adc(), inside(), ncols, and set_adc().
|
inline |
Definition of indexing within the buffer.
Definition at line 45 of file Phase2ITPixelArrayBuffer.h.
References nrows.
Referenced by BeautifulSoup.PageElement::insert(), operator()(), and set_adc().
|
inline |
Definition at line 46 of file Phase2ITPixelArrayBuffer.h.
References Phase2ITPixelCluster::PixelPos::col(), index(), and Phase2ITPixelCluster::PixelPos::row().
Referenced by index(), and BeautifulSoup.PageElement::insert().
|
inline |
Definition at line 67 of file Phase2ITPixelArrayBuffer.h.
References ncols.
Referenced by columns().
|
inline |
Definition at line 73 of file Phase2ITPixelArrayBuffer.h.
References index(), and pixel_vec.
Referenced by Phase2ITPixelArrayBuffer().
|
inline |
Definition at line 76 of file Phase2ITPixelArrayBuffer.h.
References index(), and pixel_vec.
|
inline |
Definition at line 36 of file Phase2ITPixelArrayBuffer.h.
References nrows.
Referenced by setSize().
|
inline |
Definition at line 79 of file Phase2ITPixelArrayBuffer.h.
References ecalMGPA::adc(), index(), and pixel_vec.
Referenced by columns().
|
inline |
Definition at line 85 of file Phase2ITPixelArrayBuffer.h.
References ecalMGPA::adc(), index(), and pixel_vec.
|
inline |
Definition at line 60 of file Phase2ITPixelArrayBuffer.h.
References ncols, nrows, pixel_vec, and rows().
Referenced by Phase2ITPixelArrayBuffer().
|
inline |
Definition at line 42 of file Phase2ITPixelArrayBuffer.h.
References pixel_vec.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 51 of file Phase2ITPixelArrayBuffer.h.
|
private |
Definition at line 50 of file Phase2ITPixelArrayBuffer.h.
|
private |
Definition at line 49 of file Phase2ITPixelArrayBuffer.h.
Referenced by operator()(), set_adc(), setSize(), and size().