|
ATLAS Offline Software
|
Go to the documentation of this file.
23 #include "GaudiKernel/IToolSvc.h"
26 const std::string &
name,
32 return StatusCode::SUCCESS;
36 return StatusCode::SUCCESS;
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;
JetConstituentVector::iterator iterator
void setCharge(const double charge)
virtual StatusCode finalize() override
does nothing
Class representing a hit in silicon detector.
int pixelHorizID() const
Index of the pixel along X axis in LHC coordinate system.
Full definition of AFPSiClusterBasicObj.
Class representing basic silicon pixels cluster, designed to be used for creating the clusters.
int pixelVertID() const
Index of the pixel along Y axis in LHC coordinate system.
::StatusCode StatusCode
StatusCode definition for legacy code.
float depositedCharge() const
Charge deposited in the pixel.
Definitions of identification numbers of pixel clustering algorithms.
double charge(const T &p)
virtual StatusCode initialize() override
does nothing
virtual StatusCode doClustering(const std::list< const xAOD::AFPSiHit * > &hits, std::list< AFPSiClusterBasicObj > &outputClusters) const override
Creates a cluster from the neighbouring pixels, joining only two pixels with charge above m_chargeThr...
void setVertID(const float vertID)
Header file for AFPSiClusterBasicNearestNeighbour used for clustering hits.
Gaudi::Property< float > m_chargeThreshold
void setHorizID(const float horizID)
AFPSiClusterBasicNearestNeighbour(const std::string &type, const std::string &name, const IInterface *parent)
static const int nearestNeighbour
Nearest neighbour algorithm.
std::list< const xAOD::AFPSiHit * > & hits()
list of pixels used to form the cluster