ATLAS Offline Software
NnPixelClusterSplitProbTool.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 //NnPixelClusterSplitProbTool.h
8 // (c) ATLAS Detector software
10 // Estimate cluster split probability by using multivariate techniquew
12 //
14 // @author Giacinto Piacquadio (CERN PH-ADE-ID)
15 //
17 
18 #ifndef SiClusterizationTool_NnPixelClusterSplitProbTool_H
19 #define SiClusterizationTool_NnPixelClusterSplitProbTool_H
20 
21 
22 #include "GaudiKernel/ToolHandle.h"
25 //Beam Spot Condition
28 
29 
30 namespace InDet {
31 
32  class NnClusterizationFactory;
33 
34  class NnPixelClusterSplitProbTool final : public extends<AthAlgTool, IPixelClusterSplitProbTool>
35  {
36  public:
37 
38  NnPixelClusterSplitProbTool(const std::string& t, const std::string& n, const IInterface* p);
39 
40  virtual ~NnPixelClusterSplitProbTool() = default;
41 
42  StatusCode initialize() override;
43 
45  const InDet::PixelCluster& origCluster) const override;
46 
48  const InDet::PixelCluster& origCluster,
49  const Trk::TrackParameters& trackParameters) const override;
50 
51  private:
52 
53  InDet::PixelClusterSplitProb compileSplitProbability(std::vector<double>& vectorOfProbs ) const;
54 
55  ToolHandle<NnClusterizationFactory> m_NnClusterizationFactory{ this, "NnClusterizationFactory", "InDet::NnClusterizationFactory/NnClusterizationFactory" };
56  SG::ReadCondHandleKey<InDet::BeamSpotData> m_beamSpotKey { this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" };
57 
58  DoubleArrayProperty m_priorMultiplicityContent{ this, "PriorMultiplicityContent", {2793337, 82056, 19944} };
59 
60  BooleanProperty m_useBeamSpotInfo{ this, "useBeamSpotInfo", true };
61 
62  };
63 
64 }
65 
66 
67 #endif
68 
TrackParameters.h
InDet::PixelClusterSplitProb
Definition: PixelClusterSplitProb.h:25
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::NnPixelClusterSplitProbTool::NnPixelClusterSplitProbTool
NnPixelClusterSplitProbTool(const std::string &t, const std::string &n, const IInterface *p)
Definition: NnPixelClusterSplitProbTool.cxx:28
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
InDet::NnPixelClusterSplitProbTool::m_priorMultiplicityContent
DoubleArrayProperty m_priorMultiplicityContent
Definition: NnPixelClusterSplitProbTool.h:58
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
IPixelClusterSplitProbTool.h
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
InDet::NnPixelClusterSplitProbTool::m_useBeamSpotInfo
BooleanProperty m_useBeamSpotInfo
Definition: NnPixelClusterSplitProbTool.h:60
InDet::NnPixelClusterSplitProbTool::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition: NnPixelClusterSplitProbTool.h:56
Trk::ParametersBase
Definition: ParametersBase.h:55
InDet::NnPixelClusterSplitProbTool::compileSplitProbability
InDet::PixelClusterSplitProb compileSplitProbability(std::vector< double > &vectorOfProbs) const
Definition: NnPixelClusterSplitProbTool.cxx:117
InDet::NnPixelClusterSplitProbTool::m_NnClusterizationFactory
ToolHandle< NnClusterizationFactory > m_NnClusterizationFactory
Definition: NnPixelClusterSplitProbTool.h:55
InDet::NnPixelClusterSplitProbTool::~NnPixelClusterSplitProbTool
virtual ~NnPixelClusterSplitProbTool()=default
InDet::NnPixelClusterSplitProbTool::initialize
StatusCode initialize() override
Definition: NnPixelClusterSplitProbTool.cxx:34
InDet::NnPixelClusterSplitProbTool::splitProbability
virtual InDet::PixelClusterSplitProb splitProbability(const InDet::PixelCluster &origCluster) const override
Definition: NnPixelClusterSplitProbTool.cxx:51
InDet::PixelCluster
Definition: InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h:49
SG::ReadCondHandleKey< InDet::BeamSpotData >
InDet::NnPixelClusterSplitProbTool
Definition: NnPixelClusterSplitProbTool.h:35
BeamSpotData.h