#include <AFPSiClusterBasicNearestNeighbour.h>
◆ AFPSiClusterBasicNearestNeighbour()
AFPSiClusterBasicNearestNeighbour::AFPSiClusterBasicNearestNeighbour |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~AFPSiClusterBasicNearestNeighbour()
virtual AFPSiClusterBasicNearestNeighbour::~AFPSiClusterBasicNearestNeighbour |
( |
| ) |
|
|
inlineoverridevirtual |
◆ chargeThreshold()
float AFPSiClusterBasicNearestNeighbour::chargeThreshold |
( |
| ) |
const |
|
inline |
◆ doClustering()
Creates a cluster from the neighbouring pixels, joining only two pixels with charge above m_chargeThreshold.
Definition at line 39 of file AFPSiClusterBasicNearestNeighbour.cxx.
41 std::list<const xAOD::AFPSiHit*> hitsAboveThreshold;
46 hitsAboveThreshold.push_back(theHit);
48 while (!hitsAboveThreshold.empty()) {
50 hitsAboveThreshold.pop_front();
53 float horizID = pixelHorizID;
60 while (neighbourIter != neighbourEnd) {
71 hitsAboveThreshold.erase(neighbourIter);
78 theCluster.
hits().push_back(neighbour);
87 return StatusCode::SUCCESS;
◆ finalize()
StatusCode AFPSiClusterBasicNearestNeighbour::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode AFPSiClusterBasicNearestNeighbour::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_chargeThreshold
Gaudi::Property<float> AFPSiClusterBasicNearestNeighbour::m_chargeThreshold {this, "chargeThreshold", 1000., "charge above which hits are used for clustering"} |
|
private |
The documentation for this class was generated from the following files: