ATLAS Offline Software
TruthPixelClusterSplitProbTool.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 //TruthPixelClusterSplitProbTool.h
8 // (c) ATLAS Detector software
10 // Estimate cluster split probability by using multivariate techniquew
12 //
14 // @author Roland Jansky & Felix Cormier
15 //
17 
18 #ifndef SiClusterizationTool_TruthPixelClusterSplitProbTool_H
19 #define SiClusterizationTool_TruthPixelClusterSplitProbTool_H
20 
21 
22 #include "GaudiKernel/ToolHandle.h"
26 
27 
28 namespace InDet {
29 
30  class TruthClusterizationFactory;
31 
32  class TruthPixelClusterSplitProbTool final: public extends<AthAlgTool, IPixelClusterSplitProbTool>
33  {
34  public:
35 
36  TruthPixelClusterSplitProbTool(const std::string& t, const std::string& n, const IInterface* p);
37 
38  virtual ~TruthPixelClusterSplitProbTool() = default;
39 
40  virtual StatusCode initialize() override;
41 
43  const InDet::PixelCluster& origCluster) const override;
44 
46  const InDet::PixelCluster& origCluster,
47  const Trk::TrackParameters& trackParameters) const override;
48 
49  private:
50 
51  InDet::PixelClusterSplitProb compileSplitProbability(std::vector<double>& vectorOfProbs ) const;
52 
53  ToolHandle<TruthClusterizationFactory> m_truthClusterizationFactory{this, "NnClusterizationFactory", "InDet::NnClusterizationFactory/TruthClusterizationFactory"};
54 
55  DoubleArrayProperty m_priorMultiplicityContent{this, "PriorMultiplicityContent", {2793337, 82056, 19944}};
56 
57  };
58 
59 }
60 
61 #endif
InDet::TruthPixelClusterSplitProbTool::splitProbability
virtual InDet::PixelClusterSplitProb splitProbability(const InDet::PixelCluster &origCluster) const override
Definition: TruthPixelClusterSplitProbTool.cxx:48
TrackParameters.h
InDet::PixelClusterSplitProb
Definition: PixelClusterSplitProb.h:25
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
InDet::TruthPixelClusterSplitProbTool
Definition: TruthPixelClusterSplitProbTool.h:33
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
Trk::ParametersBase
Definition: ParametersBase.h:55
InDet::TruthPixelClusterSplitProbTool::TruthPixelClusterSplitProbTool
TruthPixelClusterSplitProbTool(const std::string &t, const std::string &n, const IInterface *p)
Definition: TruthPixelClusterSplitProbTool.cxx:27
InDet::TruthPixelClusterSplitProbTool::~TruthPixelClusterSplitProbTool
virtual ~TruthPixelClusterSplitProbTool()=default
InDet::TruthPixelClusterSplitProbTool::initialize
virtual StatusCode initialize() override
Definition: TruthPixelClusterSplitProbTool.cxx:34
InDet::PixelCluster
Definition: InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h:49
InDet::TruthPixelClusterSplitProbTool::m_priorMultiplicityContent
DoubleArrayProperty m_priorMultiplicityContent
Definition: TruthPixelClusterSplitProbTool.h:55
InDet::TruthPixelClusterSplitProbTool::compileSplitProbability
InDet::PixelClusterSplitProb compileSplitProbability(std::vector< double > &vectorOfProbs) const
Definition: TruthPixelClusterSplitProbTool.cxx:100
InDet::TruthPixelClusterSplitProbTool::m_truthClusterizationFactory
ToolHandle< TruthClusterizationFactory > m_truthClusterizationFactory
Definition: TruthPixelClusterSplitProbTool.h:53