Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AMVFInfo.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file AMVFInfo.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2019-2023 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 
14 
15 #include <map>
16 
17 namespace Acts {
18 
20 template <typename input_track_t>
21 struct VertexInfo {
22  VertexInfo() = default;
23 
25  const Acts::Vector4& pos)
26  : constraint(constr),
27  linPoint(pos),
28  oldPosition(pos),
29  seedPosition(pos) {}
30 
31  // Vertex constraint
33 
34  // Point where all associated tracks are linearized
35  Acts::Vector4 linPoint{Acts::Vector4::Zero()};
36 
37  // Vertex position from the last iteration of the fit
38  Acts::Vector4 oldPosition{Acts::Vector4::Zero()};
39 
40  // The seed position (i.e., the first estimate for the vertex position as
41  // obtained by the vertex seed finder)
42  Acts::Vector4 seedPosition{Acts::Vector4::Zero()};
43 
44  // If set to true, the associated tracks need to be relinearized at a more
45  // recent vertex position
46  bool relinearize = true;
47 
48  // Vector of all tracks that are currently assigned to vertex
49  std::vector<const input_track_t*> trackLinks;
50 
51  std::map<const input_track_t*, const BoundTrackParameters> impactParams3D;
52 };
53 
54 } // namespace Acts