|
| Pixel (unsigned int index=0) |
| Construct using only an index, used for testing.
|
|
| Pixel (const PXDDigit *digit, unsigned int index) |
| Construct from a given PXDDigit and its store index.
|
|
| Pixel (const PXDRawHit *rawhit, unsigned int index) |
| Construct from a given PXDRawHit and its store index.
|
|
| Pixel (unsigned int index, unsigned short u, unsigned short v, float charge) |
| Construct using an index, coordinates and charge.
|
|
bool | operator< (const Pixel &b) const |
| Comparison operator, sorting by row,column in ascending order.
|
|
bool | operator<= (const Pixel &b) const |
| Comparison operator, sorting by row,column in ascending order.
|
|
bool | operator> (const Pixel &b) const |
| Comparison operator, sorting by row,column in ascending order.
|
|
bool | operator>= (const Pixel &b) const |
| Comparison operator, sorting by row,column in ascending order.
|
|
bool | operator== (const Pixel &b) const |
| Equality operator.
|
|
unsigned short | getU () const |
| Return the CellID in u.
|
|
unsigned short | getV () const |
| Return the CellID in v.
|
|
float | getCharge () const |
| Return the Charge of the Pixel.
|
|
unsigned int | getIndex () const |
| Return the Index of the digit.
|
|
void | setCharge (float newCharge) |
| Adjust the charge of a pixel.
|
|
Class to represent one pixel, used in clustering for fast access.
This class is a wrapper around PXDDigit or PXDRawHit to provide ordered access. Ordering is row-wise: first all digits/rawhits belonging to the first row, ordered by column in ascending order.
The Pixel object contains a copy of the essential values of the PXDDigit or PXDRawHit to speed up lookup during sorting or clustering. PXDDigit or RawHit is not used directly as a) we need the index of the digit after clustering and the digit does not keep its own index and b) Inheriting from TObject makes the PXDDigit/PXDRawHit more than three times larger than this small class
Definition at line 36 of file Pixel.h.