#include <PndLmdAlignStructs.h>
Definition at line 55 of file PndLmdAlignStructs.h.
◆ pixelCluster() [1/3]
pixelCluster::pixelCluster |
( |
| ) |
|
|
inline |
◆ pixelCluster() [2/3]
pixelCluster::pixelCluster |
( |
const pixelHit & |
hit | ) |
|
|
inline |
◆ pixelCluster() [3/3]
◆ calculateCenter()
void pixelCluster::calculateCenter |
( |
| ) |
|
|
inline |
Definition at line 128 of file PndLmdAlignStructs.h.
References i, max(), and sqrt().
144 for (
size_t j =
i + 1; j <
pixelHits.size(); j++) {
159 tempDistance =
sqrt(deltax * deltax + deltay * deltay);
friend F32vec4 sqrt(const F32vec4 &a)
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
vector< pixelHit > pixelHits
◆ isNeighbour()
Definition at line 98 of file PndLmdAlignStructs.h.
References _sensorId, i, and pixelHits.
104 double _col1, _col2, _row1, _row2;
108 for (
size_t j = 0; j < other.
pixelHits.size(); j++) {
112 if ((_col2 - _col1) * (_col2 - _col1) + (_row2 - _row1) * (_row2 - _row1) < 2.25) {
vector< pixelHit > pixelHits
◆ merge()
◆ printCenter()
void pixelCluster::printCenter |
( |
| ) |
|
|
inline |
◆ printPixels()
void pixelCluster::printPixels |
( |
| ) |
|
|
inline |
◆ _sensorId
int pixelCluster::_sensorId |
◆ centerCol
double pixelCluster::centerCol |
◆ centerRow
double pixelCluster::centerRow |
◆ clusterReady
bool pixelCluster::clusterReady |
◆ clusterSize
double pixelCluster::clusterSize |
◆ pixelHits
vector<pixelHit> pixelCluster::pixelHits |
The documentation for this struct was generated from the following file: