EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LinearizedTrack.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file LinearizedTrack.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 
12 
13 namespace Acts {
14 
29 
44 
45  LinearizedTrack() = default;
46 
47  LinearizedTrack(const BoundVector& paramsAtPCA,
48  const BoundSymMatrix& parCovarianceAtPCA,
49  const BoundSymMatrix& parWeightAtPCA,
50  const Vector4D& linPoint,
51  const ActsMatrix<BoundScalar, eBoundSize, 4>& posJacobian,
52  const ActsMatrixD<eBoundSize, 3>& momJacobian,
53  const Vector4D& position, const Vector3D& momentum,
54  const BoundVector& constTerm)
55  : parametersAtPCA(paramsAtPCA),
56  covarianceAtPCA(parCovarianceAtPCA),
57  weightAtPCA(parWeightAtPCA),
58  linearizationPoint(linPoint),
59  positionJacobian(posJacobian),
60  momentumJacobian(momJacobian),
61  positionAtPCA(position),
62  momentumAtPCA(momentum),
63  constantTerm(constTerm) {}
64 
65  BoundVector parametersAtPCA{BoundVector::Zero()};
66  BoundSymMatrix covarianceAtPCA{BoundSymMatrix::Zero()};
67  BoundSymMatrix weightAtPCA{BoundSymMatrix::Zero()};
68  Vector4D linearizationPoint{Vector4D::Zero()};
73  Vector4D positionAtPCA{Vector4D::Zero()};
74  Vector3D momentumAtPCA{Vector3D::Zero()};
75  BoundVector constantTerm{BoundVector::Zero()};
76 };
77 
78 } // namespace Acts