ECCE @ 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 SpacePointVector& linPoint,
51  const SpacePointToBoundMatrix& posJacobian,
52  const ActsMatrixD<eBoundParametersSize, 3>& momJacobian,
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  SpacePointVector linearizationPoint{SpacePointVector::Zero()};
69  SpacePointToBoundMatrix positionJacobian{SpacePointToBoundMatrix::Zero()};
72  SpacePointVector positionAtPCA{SpacePointVector::Zero()};
73  Vector3D momentumAtPCA{Vector3D::Zero()};
74  BoundVector constantTerm{BoundVector::Zero()};
75 };
76 
77 } // namespace Acts