ATLAS Offline Software
KalmanVertexOnJetAxisSmoother.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
30 #ifndef TrkJetFitter_KalmanVertexOnJetAxisSmoother_H
31 #define TrkJetFitter_KalmanVertexOnJetAxisSmoother_H
32 
34 #include "GaudiKernel/ToolHandle.h"
36 
37 namespace Trk
38 {
39  class VxVertexOnJetAxis;
40  class VxJetCandidate;
41  class KalmanVertexOnJetAxisUpdator;
42  class VertexPositions;
43  class RecVertexPositions;
44 
45  static const InterfaceID IID_KalmanVertexOnJetAxisSmoother("Trk::KalmanVertexOnJetAxisSmoother", 1, 0);
46 
47 
49  {
50  public:
51 
52  virtual StatusCode initialize() override;
53 
58  KalmanVertexOnJetAxisSmoother(const std::string& t, const std::string& n, const IInterface* p);
59 
65 
66  static const InterfaceID& interfaceID()
67  {
68  return IID_KalmanVertexOnJetAxisSmoother;
69  };
70 
77  void update(VxVertexOnJetAxis* vertexToSmooth,const VxJetCandidate* candidateToUpdate,
78  bool updateTrack=true) const;
79 
80  void fastUpdate(VxVertexOnJetAxis* vertexToSmooth,const VxJetCandidate* candidateToUpdate,
81  bool updateTrack=true) const;
88  void update(VxVertexOnJetAxis* vertexToSmooth,bool isPrimary,
89  const RecVertexPositions & myFinalPosition,
90  const VertexPositions & linearizationPositions,
91  bool updateTrack=false,
92  bool doFastUpdate=false) const;
93 
94  private:
95 
96  ToolHandle<KalmanVertexOnJetAxisUpdator> m_Updator;
97 
103  double m_maxWeight;
105  AmgSymMatrix(3) m_initial_cov_momentum;
106 
107  }; //end of class definitions
108 
109 } //end of the namespace definitions
110 
111 #endif
Trk::KalmanVertexOnJetAxisSmoother::AmgSymMatrix
AmgSymMatrix(3) m_initial_cov_momentum
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
Trk::VxVertexOnJetAxis
VxVertexOnJetAxis inherits from Vertex.
Definition: VxVertexOnJetAxis.h:79
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Trk::KalmanVertexOnJetAxisSmoother::update
void update(VxVertexOnJetAxis *vertexToSmooth, const VxJetCandidate *candidateToUpdate, bool updateTrack=true) const
Update the VxVertexOnJetAxis (chi2 and ndf) with the knowledge coming from the fitted VxJetCandidate,...
Definition: KalmanVertexOnJetAxisSmoother.cxx:64
Trk::KalmanVertexOnJetAxisSmoother::initialize
virtual StatusCode initialize() override
Definition: KalmanVertexOnJetAxisSmoother.cxx:29
Trk::KalmanVertexOnJetAxisSmoother::KalmanVertexOnJetAxisSmoother
KalmanVertexOnJetAxisSmoother(const std::string &t, const std::string &n, const IInterface *p)
Constructor.
Definition: KalmanVertexOnJetAxisSmoother.cxx:48
Trk::KalmanVertexOnJetAxisSmoother::~KalmanVertexOnJetAxisSmoother
~KalmanVertexOnJetAxisSmoother()
Destructor.
Trk::KalmanVertexOnJetAxisSmoother
ATLAS Reconstruction Software - (C) 2005 - 2007.
Definition: KalmanVertexOnJetAxisSmoother.h:49
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::KalmanVertexOnJetAxisSmoother::m_Updator
ToolHandle< KalmanVertexOnJetAxisUpdator > m_Updator
Definition: KalmanVertexOnJetAxisSmoother.h:96
EventPrimitives.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::KalmanVertexOnJetAxisSmoother::fastUpdate
void fastUpdate(VxVertexOnJetAxis *vertexToSmooth, const VxJetCandidate *candidateToUpdate, bool updateTrack=true) const
Definition: KalmanVertexOnJetAxisSmoother.cxx:75
Trk::VxJetCandidate
Definition: VxJetCandidate.h:72
Trk::RecVertexPositions
Definition: RecVertexPositions.h:34
Trk::KalmanVertexOnJetAxisSmoother::interfaceID
static const InterfaceID & interfaceID()
Definition: KalmanVertexOnJetAxisSmoother.h:66
Trk::KalmanVertexOnJetAxisSmoother::m_initialMomentumError
double m_initialMomentumError
Definition: KalmanVertexOnJetAxisSmoother.h:104
Trk::KalmanVertexOnJetAxisSmoother::m_maxWeight
double m_maxWeight
Meaningless in case no adaptive fitting is used.
Definition: KalmanVertexOnJetAxisSmoother.h:103
Trk::VertexPositions
VertexPositions class to represent and store a vertex.
Definition: VertexPositions.h:36
AthAlgTool
Definition: AthAlgTool.h:26
egammaParameters::isPrimary
@ isPrimary
true if matched track has a hit in first or second pixel layer
Definition: egammaParamDefs.h:225