Class to represent the coordinates of one pixel.
More...
#include <PXDDigitizerModule.h>
|
| Digit (unsigned short u=0, unsigned short v=0) |
| Constructor.
|
|
bool | operator< (const Digit &b) const |
| Comparison operator to provide unique ordering.
|
|
bool | operator== (const Digit &b) const |
| Equality operator to check for equality.
|
|
unsigned short | u () const |
| Return u (column) ID.
|
|
unsigned short | v () const |
| Return v (row) ID.
|
|
|
unsigned short | m_u |
| u (column) ID
|
|
unsigned short | m_v |
| v (row) ID
|
|
Class to represent the coordinates of one pixel.
Definition at line 29 of file PXDDigitizerModule.h.
◆ Digit()
Digit |
( |
unsigned short |
u = 0 , |
|
|
unsigned short |
v = 0 |
|
) |
| |
|
inline |
Constructor.
Definition at line 32 of file PXDDigitizerModule.h.
unsigned short v() const
Return v (row) ID.
unsigned short m_u
u (column) ID
unsigned short u() const
Return u (column) ID.
unsigned short m_v
v (row) ID
◆ operator<()
bool operator< |
( |
const Digit & |
b | ) |
const |
|
inline |
Comparison operator to provide unique ordering.
Definition at line 34 of file PXDDigitizerModule.h.
34{
return v() < b.v() || (
v() == b.v() &&
u() < b.u()); }
◆ operator==()
bool operator== |
( |
const Digit & |
b | ) |
const |
|
inline |
Equality operator to check for equality.
Definition at line 36 of file PXDDigitizerModule.h.
36{
return v() == b.v() &&
u() == b.u(); }
◆ u()
unsigned short u |
( |
| ) |
const |
|
inline |
◆ v()
unsigned short v |
( |
| ) |
const |
|
inline |
◆ m_u
◆ m_v
The documentation for this class was generated from the following file: