5#ifndef AFP_SICLUSTERTOOLS_AFPSICLUSTERBASICNEARESTNEIGHBOUR_H
6#define AFP_SICLUSTERTOOLS_AFPSICLUSTERBASICNEARESTNEIGHBOUR_H
24#include "GaudiKernel/ServiceHandle.h"
31 :
public extends<AthAlgTool, IAFPSiClusterAlgTool>
35 const std::string& name,
36 const IInterface* parent);
44 virtual StatusCode
finalize()
override;
47 virtual StatusCode
doClustering (
const std::list<const xAOD::AFPSiHit*>& hits, std::list<AFPSiClusterBasicObj>& outputClusters)
const override;
53 Gaudi::Property<float>
m_chargeThreshold {
this,
"chargeThreshold", 1000.,
"charge above which hits are used for clustering"};
Gaudi::Property< float > m_chargeThreshold
virtual ~AFPSiClusterBasicNearestNeighbour() override
virtual StatusCode finalize() 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...
AFPSiClusterBasicNearestNeighbour(const std::string &type, const std::string &name, const IInterface *parent)
float chargeThreshold() const
virtual StatusCode initialize() override
does nothing