ATLAS Offline Software
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 
21 namespace InDet
22 {
23 
24  class NnClusterizationFactory;
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
PixelClusterParts.h
InDet::NnPixelClusterSplitter::NnPixelClusterSplitter
NnPixelClusterSplitter(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition: NnPixelClusterSplitter.cxx:32
PixelCluster
Definition: Trigger/TrigAccel/TrigCudaFitter/src/PixelCluster.h:8
InDet::PixelClusterSplitProb
Definition: PixelClusterSplitProb.h:25
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::NnPixelClusterSplitter::splitCluster
virtual std::vector< InDet::PixelClusterParts > splitCluster(const InDet::PixelCluster &origCluster) const override
take one, give zero or many
Definition: NnPixelClusterSplitter.cxx:58
InDet::NnPixelClusterSplitter::initialize
virtual StatusCode initialize() override
AthAlgTool interface methods.
Definition: NnPixelClusterSplitter.cxx:39
InDet::NnPixelClusterSplitter::m_thresholdSplittingIntoTwoClusters
DoubleProperty m_thresholdSplittingIntoTwoClusters
Definition: NnPixelClusterSplitter.h:56
InDet::NnPixelClusterSplitter::m_useBeamSpotInfo
BooleanProperty m_useBeamSpotInfo
Definition: NnPixelClusterSplitter.h:59
PixelClusterSplitProb.h
InDet::NnPixelClusterSplitter
Definition: NnPixelClusterSplitter.h:30
InDet::NnPixelClusterSplitter::m_NnClusterizationFactory
ToolHandle< NnClusterizationFactory > m_NnClusterizationFactory
Definition: NnPixelClusterSplitter.h:54
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
IPixelClusterSplitter.h
InDet::NnPixelClusterSplitter::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition: NnPixelClusterSplitter.h:55
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDet::NnPixelClusterSplitter::~NnPixelClusterSplitter
~NnPixelClusterSplitter()=default
Destructor.
InDet::NnPixelClusterSplitter::m_splitOnlyOnBLayer
BooleanProperty m_splitOnlyOnBLayer
Definition: NnPixelClusterSplitter.h:58
InDet::NnPixelClusterSplitter::finalize
virtual StatusCode finalize() override
Definition: NnPixelClusterSplitter.cxx:53
InDet::PixelCluster
Definition: InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h:49
SG::ReadCondHandleKey< InDet::BeamSpotData >
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
InDet::NnPixelClusterSplitter::m_thresholdSplittingIntoThreeClusters
DoubleProperty m_thresholdSplittingIntoThreeClusters
Definition: NnPixelClusterSplitter.h:57
BeamSpotData.h