ATLAS Offline Software
Loading...
Searching...
No Matches
NnPixelClusterSplitter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6// NnPixelClusterSplitter.h, (c) ATLAS Detector software
8
9#ifndef INDETRECTOOLS_NNPIXELCLUSTERSPLITTER_H
10#define INDETRECTOOLS_NNPIXELCLUSTERSPLITTER_H
11
12
14#include "GaudiKernel/ToolHandle.h"
15
20
21namespace InDet
22{
23
25 class PixelCluster;
26
30 class NnPixelClusterSplitter final: public extends<AthAlgTool, IPixelClusterSplitter> {
31 public :
33 NnPixelClusterSplitter(const std::string &type,
34 const std::string &name,
35 const IInterface *parent);
36
39
41 virtual StatusCode initialize() override;
42 virtual StatusCode finalize() override;
43
45 virtual std::vector<InDet::PixelClusterParts> splitCluster(
46 const InDet::PixelCluster& origCluster) const override;
47
49 virtual std::vector<InDet::PixelClusterParts> splitCluster(
50 const InDet::PixelCluster& origCluster,
51 const InDet::PixelClusterSplitProb& spo) const override;
52
53 private:
54 ToolHandle<NnClusterizationFactory> m_NnClusterizationFactory { this, "NnClusterizationFactory", "InDet::NnClusterizationFactory/NnClusterizationFactory" };
55 SG::ReadCondHandleKey<InDet::BeamSpotData> m_beamSpotKey { this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" };
56 DoubleProperty m_thresholdSplittingIntoTwoClusters { this, "ThresholdSplittingIntoTwoClusters", 0.95 };
57 DoubleProperty m_thresholdSplittingIntoThreeClusters { this, "ThresholdSplittingIntoThreeClusters", 0.90 };
58 BooleanProperty m_splitOnlyOnBLayer { this, "SplitOnlyOnBLayer", true };
59 BooleanProperty m_useBeamSpotInfo { this, "useBeamSpotInfo", true };
60
61 };
62}
63#endif
virtual StatusCode initialize() override
AthAlgTool interface methods.
ToolHandle< NnClusterizationFactory > m_NnClusterizationFactory
NnPixelClusterSplitter(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
~NnPixelClusterSplitter()=default
Destructor.
virtual std::vector< InDet::PixelClusterParts > splitCluster(const InDet::PixelCluster &origCluster) const override
take one, give zero or many
virtual StatusCode finalize() override
return object of the IPixelClusterSplitProbTool
Primary Vertex Finder.