ATLAS Offline Software
KalmanVertexTrackUpdator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrkVertexFitterUtils_KalmanVertexTrackUpdator_H
6 #define TrkVertexFitterUtils_KalmanVertexTrackUpdator_H
7 
9 #include "GaudiKernel/ToolHandle.h"
12 
36 namespace Trk
37 {
38  class VxTrackAtVertex;
39 
41  {
42  public:
43 
44  virtual StatusCode initialize() override;
45 
49  KalmanVertexTrackUpdator(const std::string& t, const std::string& n, const IInterface* p);
50 
55 
59  virtual void update(VxTrackAtVertex& trk, const xAOD::Vertex& vtx) const override;
60 
61  private:
62 
63  ToolHandle< IVertexUpdator > m_Updator {
64  this, "VertexUpdator", "Trk::KalmanVertexUpdator"};
65 
66  DoubleProperty m_maxWeight {
67  this, "MaximalWeight", 0.001, "Max weight of a given track in the vertex reconstruction"};
68  BooleanProperty m_skipInvertibleCheck {
69  this, "SkipInvertibleCheck", false, "skip the invertible check for the track CovMat and the vertex CovMat"};
70 
71  }; //end of class definitions
72 } //end of the namespace definitions
73 
74 #endif
Trk::KalmanVertexTrackUpdator::m_Updator
ToolHandle< IVertexUpdator > m_Updator
Definition: KalmanVertexTrackUpdator.h:63
Trk::VxTrackAtVertex
The VxTrackAtVertex is a common class for all present TrkVertexFitters The VxTrackAtVertex is designe...
Definition: VxTrackAtVertex.h:77
Trk::KalmanVertexTrackUpdator::KalmanVertexTrackUpdator
KalmanVertexTrackUpdator(const std::string &t, const std::string &n, const IInterface *p)
Constructor.
Definition: KalmanVertexTrackUpdator.cxx:27
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Trk::KalmanVertexTrackUpdator::~KalmanVertexTrackUpdator
~KalmanVertexTrackUpdator()=default
Destructor.
Trk::KalmanVertexTrackUpdator::update
virtual void update(VxTrackAtVertex &trk, const xAOD::Vertex &vtx) const override
Update method
Definition: KalmanVertexTrackUpdator.cxx:33
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Trk::KalmanVertexTrackUpdator::m_maxWeight
DoubleProperty m_maxWeight
Definition: KalmanVertexTrackUpdator.h:66
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::KalmanVertexTrackUpdator::initialize
virtual StatusCode initialize() override
Definition: KalmanVertexTrackUpdator.cxx:12
Trk::IVertexTrackUpdator
Definition: IVertexTrackUpdator.h:42
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::KalmanVertexTrackUpdator::m_skipInvertibleCheck
BooleanProperty m_skipInvertibleCheck
Definition: KalmanVertexTrackUpdator.h:68
IVertexUpdator.h
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
AthAlgTool
Definition: AthAlgTool.h:26
IVertexTrackUpdator.h
Trk::KalmanVertexTrackUpdator
Definition: KalmanVertexTrackUpdator.h:41