ECCE @ EIC 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 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 
26  : constraintVertex(vtx),
27  linPoint(pos),
28  oldPosition(pos),
29  seedPosition(pos) {}
30 
31  // The constraint vertex
33 
34  // The linearization point
35  Acts::SpacePointVector linPoint{Acts::SpacePointVector::Zero()};
36 
37  // Old position from last iteration
38  Acts::SpacePointVector oldPosition{Acts::SpacePointVector::Zero()};
39 
40  // The seed position
41  Acts::SpacePointVector seedPosition{Acts::SpacePointVector::Zero()};
42 
43  // Needs relinearization bool
44  bool relinearize = true;
45 
46  // Vector of all track currently held by vertex
47  std::vector<const input_track_t*> trackLinks;
48 
49  std::map<const input_track_t*, const BoundParameters> ip3dParams;
50 };
51 
52 } // namespace Acts