ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
blob
master
CI
Core
include
Acts
EventData
Fitter
Geometry
MagneticField
Material
Propagator
Seeding
Surfaces
TrackFinder
Utilities
Vertexing
AdaptiveMultiVertexFinder.hpp
AdaptiveMultiVertexFinder.ipp
AdaptiveMultiVertexFitter.hpp
AdaptiveMultiVertexFitter.ipp
AMVFInfo.hpp
DummyVertexFitter.hpp
FsmwMode1dFinder.hpp
FullBilloirVertexFitter.hpp
FullBilloirVertexFitter.ipp
GaussianTrackDensity.hpp
HelicalTrackLinearizer.hpp
HelicalTrackLinearizer.ipp
ImpactPointEstimator.hpp
ImpactPointEstimator.ipp
IterativeVertexFinder.hpp
IterativeVertexFinder.ipp
KalmanVertexTrackUpdater.hpp
KalmanVertexTrackUpdater.ipp
KalmanVertexUpdater.hpp
KalmanVertexUpdater.ipp
LinearizedTrack.hpp
LinearizerConcept.hpp
TrackAtVertex.hpp
TrackDensity.hpp
TrackDensityVertexFinder.hpp
TrackDensityVertexFinder.ipp
Vertex.hpp
Vertex.ipp
VertexFinderConcept.hpp
VertexFitterConcept.hpp
VertexingError.hpp
VertexingOptions.hpp
ZScanVertexFinder.hpp
ZScanVertexFinder.ipp
Visualization
src
doc
Examples
Fatras
Plugins
Tests
thirdparty
analysis
coresoftware
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
KalmanVertexUpdater.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file KalmanVertexUpdater.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2019 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
#include "
Acts/Utilities/Result.hpp
"
12
#include "
Acts/Vertexing/TrackAtVertex.hpp
"
13
#include "
Acts/Vertexing/Vertex.hpp
"
14
15
namespace
Acts {
16
namespace
KalmanVertexUpdater {
17
24
26
struct
MatrixCache
{
27
Vector3D
newVertexPos
= Vector3D::Zero();
28
ActsSymMatrixD<3>
newVertexCov
=
ActsSymMatrixD<3>::Zero
();
29
ActsSymMatrixD<3>
newVertexWeight
=
ActsSymMatrixD<3>::Zero
();
30
ActsSymMatrixD<3>
oldVertexWeight
=
ActsSymMatrixD<3>::Zero
();
31
ActsSymMatrixD<3>
momWeightInv
=
ActsSymMatrixD<3>::Zero
();
32
};
33
42
template
<
typename
input_track_t>
43
void
updateVertexWithTrack
(
Vertex<input_track_t>
& vtx,
44
TrackAtVertex<input_track_t>
& trk);
45
55
template
<
typename
input_track_t>
56
void
updatePosition
(
const
Acts::Vertex<input_track_t>
& vtx,
57
const
Acts::LinearizedTrack
& linTrack,
double
trackWeight,
58
int
sign
,
MatrixCache
& matrixCache);
59
60
namespace
detail {
61
68
template
<
typename
input_track_t>
69
double
vertexPositionChi2
(
const
Vertex<input_track_t>
& oldVtx,
70
const
MatrixCache
& matrixCache);
71
79
template
<
typename
input_track_t>
80
double
trackParametersChi2
(
const
LinearizedTrack
& linTrack,
81
const
MatrixCache
& matrixCache);
82
89
template
<
typename
input_track_t>
90
void
update
(
Vertex<input_track_t>
& vtx,
TrackAtVertex<input_track_t>
& trk,
91
int
sign
);
92
}
// Namespace detail
93
94
}
// Namespace KalmanVertexUpdater
95
}
// Namespace Acts
96
97
#include "
KalmanVertexUpdater.ipp
"
acts
blob
master
Core
include
Acts
Vertexing
KalmanVertexUpdater.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:22
using
1.8.2 with
ECCE GitHub integration