ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
AFP
AFP_Reconstruction
AFP_SiClusterTools
AFP_SiClusterTools
AFPSiClusterBasicNearestNeighbour.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef AFP_SICLUSTERTOOLS_AFPSICLUSTERBASICNEARESTNEIGHBOUR_H
6
#define AFP_SICLUSTERTOOLS_AFPSICLUSTERBASICNEARESTNEIGHBOUR_H
7
8
17
18
// STL includes
19
#include <string>
20
#include <list>
21
22
// FrameWork includes
23
#include "
AthenaBaseComps/AthAlgTool.h
"
24
#include "GaudiKernel/ServiceHandle.h"
25
26
// AFP_LocReco includes
27
#include "
AFP_SiClusterTools/IAFPSiClusterAlgTool.h
"
28
29
// Forward declaration
30
class
AFPSiClusterBasicNearestNeighbour
31
:
public
extends<AthAlgTool, IAFPSiClusterAlgTool>
32
{
33
public
:
34
AFPSiClusterBasicNearestNeighbour
(
const
std::string&
type
,
35
const
std::string& name,
36
const
IInterface* parent);
37
38
virtual
~AFPSiClusterBasicNearestNeighbour
()
override
{}
39
41
virtual
StatusCode
initialize
()
override
;
42
44
virtual
StatusCode
finalize
()
override
;
45
47
virtual
StatusCode
doClustering
(
const
std::list<const xAOD::AFPSiHit*>& hits, std::list<AFPSiClusterBasicObj>& outputClusters)
const override
;
48
50
float
chargeThreshold
()
const
{
return
m_chargeThreshold
;}
51
52
private
:
53
Gaudi::Property<float>
m_chargeThreshold
{
this
,
"chargeThreshold"
, 1000.,
"charge above which hits are used for clustering"
};
54
};
55
56
57
#endif
// AFP_SICLUSTERTOOLS_AFPSICLUSTERBASICNEARESTNEIGHBOUR_H
AthAlgTool.h
IAFPSiClusterAlgTool.h
Header file for interface IAFPSiClusterAlgTool.
AFPSiClusterBasicNearestNeighbour::m_chargeThreshold
Gaudi::Property< float > m_chargeThreshold
Definition
AFPSiClusterBasicNearestNeighbour.h:53
AFPSiClusterBasicNearestNeighbour::~AFPSiClusterBasicNearestNeighbour
virtual ~AFPSiClusterBasicNearestNeighbour() override
Definition
AFPSiClusterBasicNearestNeighbour.h:38
AFPSiClusterBasicNearestNeighbour::finalize
virtual StatusCode finalize() override
does nothing
Definition
AFPSiClusterBasicNearestNeighbour.cxx:35
AFPSiClusterBasicNearestNeighbour::doClustering
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...
Definition
AFPSiClusterBasicNearestNeighbour.cxx:39
AFPSiClusterBasicNearestNeighbour::AFPSiClusterBasicNearestNeighbour
AFPSiClusterBasicNearestNeighbour(const std::string &type, const std::string &name, const IInterface *parent)
Definition
AFPSiClusterBasicNearestNeighbour.cxx:25
AFPSiClusterBasicNearestNeighbour::chargeThreshold
float chargeThreshold() const
Definition
AFPSiClusterBasicNearestNeighbour.h:50
AFPSiClusterBasicNearestNeighbour::initialize
virtual StatusCode initialize() override
does nothing
Definition
AFPSiClusterBasicNearestNeighbour.cxx:31
type
Generated on
for ATLAS Offline Software by
1.17.0