 |
Belle II Software
release-05-02-19
|
14 #include <pxd/dataobjects/PXDRawHit.h>
15 #include <pxd/dataobjects/PXDDigit.h>
45 Pixel(
const PXDDigit* digit,
unsigned int index):
m_index(index),
46 m_u(digit->getUCellID()),
m_v(digit->getVCellID()),
50 m_u(rawhit->getColumn()),
m_v(rawhit->getRow()),
54 Pixel(
unsigned int index,
unsigned short u,
unsigned short v,
float charge):
69 unsigned short getU()
const {
return m_u; }
71 unsigned short getV()
const {
return m_v; }
bool operator==(const Pixel &b) const
Equality operator.
float getCharge() const
Return the Charge of the Pixel.
float m_charge
Charge of the pixel.
Pixel(unsigned int index=0)
Construct using only an index, used for testing.
bool operator<(const Pixel &b) const
Comparison operator, sorting by row,column in ascending order.
Class to represent one pixel, used in clustering for fast access.
void setCharge(float newCharge)
Adjust the charge of a pixel.
The PXD Raw Hit class This class stores information about PXD Pixel hits and makes them available in ...
unsigned int m_index
Index of the corresponding PXDDigit in the StoreArray.
Abstract base class for different kinds of events.
bool operator<=(const Pixel &b) const
Comparison operator, sorting by row,column in ascending order.
unsigned int getIndex() const
Return the Index of the digit.
bool operator>=(const Pixel &b) const
Comparison operator, sorting by row,column in ascending order.
unsigned short getV() const
Return the CellID in v.
bool operator>(const Pixel &b) const
Comparison operator, sorting by row,column in ascending order.
unsigned short getU() const
Return the CellID in u.
unsigned short m_u
Cell ID in u.
unsigned short m_v
Cell ID in v.