9 #include <tracking/trackFindingCDC/geometry/HelixParameters.h>
11 #include <gtest/gtest.h>
15 using namespace TrackFindingCDC;
17 TEST(TrackFindingCDCTest, geometry_HelixCovariance_constructFromPerigeeAndSZCovariance)
21 using namespace NPerigeeParameterIndices;
25 perigeeCovariance(
c_I,
c_I) = 1;
30 using namespace NSZParameterIndices;
37 using namespace NHelixParameterIndices;
39 EXPECT_EQ(1, helixCovariance(
c_I,
c_I));
40 EXPECT_EQ(1, helixCovariance(
c_Curv,
c_I));
41 EXPECT_EQ(1, helixCovariance(
c_I,
c_Curv));
44 EXPECT_EQ(1, helixCovariance(
c_Z0,
c_Z0));
A matrix implementation to be used as an interface typ through out the track finder.
static PlainMatrix< T, M, N > Zero()
Construct a matrix initialized with zeros.
TEST(TestgetDetectorRegion, TestgetDetectorRegion)
Test Constructors.
@ c_I
Constant to address the impact parameter.
@ c_Phi0
Constant to address the azimuth angle of the direction of flight.
@ c_TanL
Constant to address the tan lambda dip out of the xy plane.
@ c_Z0
Constant to address the z start position.
@ c_Curv
Constant to address the curvature in the xy plane.
@ c_I
Constant to address the impact parameter.
@ c_Curv
Constant to address the curvature.
@ c_TanL
Constant to address the tan lambda dip out of the xy plane.
@ c_Z0
Constant to address the z start position.
Abstract base class for different kinds of events.
static HelixUtil::CovarianceMatrix stackBlocks(const PerigeeUtil::CovarianceMatrix &perigeeCov, const SZUtil::CovarianceMatrix &szCov)
Combine covariance matrices from the xy space and the sz space in their respective blocks.