Analysis Software
Documentation for sPHENIX simulation 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 
13 
14 namespace Acts {
15 
30 
32  LinearizedTrack() = default;
33 
48  LinearizedTrack(const BoundVector& paramsAtPCA,
49  const BoundSquareMatrix& parCovarianceAtPCA,
50  const BoundSquareMatrix& parWeightAtPCA,
51  const Vector4& linPoint,
52  const ActsMatrix<eBoundSize, 4>& posJacobian,
53  const ActsMatrix<eBoundSize, 3>& momJacobian,
54  const Vector4& position, const Vector3& momentum,
55  const BoundVector& constTerm)
56  : parametersAtPCA(paramsAtPCA),
57  covarianceAtPCA(parCovarianceAtPCA),
58  weightAtPCA(parWeightAtPCA),
59  linearizationPoint(linPoint),
60  positionJacobian(posJacobian),
61  momentumJacobian(momJacobian),
62  positionAtPCA(position),
63  momentumAtPCA(momentum),
64  constantTerm(constTerm) {}
65 
66  BoundVector parametersAtPCA{BoundVector::Zero()};
67  BoundSquareMatrix covarianceAtPCA{BoundSquareMatrix::Zero()};
68  BoundSquareMatrix weightAtPCA{BoundSquareMatrix::Zero()};
69  Vector4 linearizationPoint{Vector4::Zero()};
72  Vector4 positionAtPCA{Vector4::Zero()};
73  Vector3 momentumAtPCA{Vector3::Zero()};
74  BoundVector constantTerm{BoundVector::Zero()};
75 };
76 
77 } // namespace Acts