File indexing completed on 2024-09-07 04:38:01
0001 #ifndef RecoTracker_PixelTrackFitting_interface_alpaka_FitResult_h
0002 #define RecoTracker_PixelTrackFitting_interface_alpaka_FitResult_h
0003
0004 #include <cstdint>
0005
0006 #include <Eigen/Core>
0007
0008 namespace riemannFit {
0009
0010 using Vector2d = Eigen::Vector2d;
0011 using Vector3d = Eigen::Vector3d;
0012 using Vector4d = Eigen::Vector4d;
0013 using Vector5d = Eigen::Matrix<double, 5, 1>;
0014 using Matrix2d = Eigen::Matrix2d;
0015 using Matrix3d = Eigen::Matrix3d;
0016 using Matrix4d = Eigen::Matrix4d;
0017 using Matrix5d = Eigen::Matrix<double, 5, 5>;
0018 using Matrix6d = Eigen::Matrix<double, 6, 6>;
0019
0020 template <int N>
0021 using Matrix3xNd = Eigen::Matrix<double, 3, N>;
0022
0023 struct CircleFit {
0024 Vector3d par;
0025 Matrix3d cov;
0026
0027
0028
0029
0030
0031 int32_t qCharge;
0032 float chi2;
0033 };
0034
0035 struct LineFit {
0036 Vector2d par;
0037 Matrix2d cov;
0038
0039
0040
0041
0042 double chi2;
0043 };
0044
0045 struct HelixFit {
0046 Vector5d par;
0047 Matrix5d cov;
0048
0049
0050
0051
0052
0053
0054
0055 float chi2_circle;
0056 float chi2_line;
0057
0058 int32_t qCharge;
0059 };
0060
0061 }
0062
0063 #endif