10#include <tracking/trackFindingCDC/numerics/ParameterVector.h>
12#include <tracking/trackFindingCDC/numerics/EigenView.h>
21 namespace TrackFindingCDC {
27 template <
class AParameterVector,
int I = 0,
int N = 0>
30 constexpr const int M =
31 std::remove_reference_t<
decltype(mapToEigen(AParameterVector()))>::RowsAtCompileTime;
32 return par.template block<M, 1>(I, 0);
36 template <
int N1,
int N2>
40 ParameterVector < N1 + N2 > result;
41 mapToEigen(result) << mapToEigen(upperPar), mapToEigen(lowerPar);
A matrix implementation to be used as an interface typ through out the track finder.
Abstract base class for different kinds of events.
Structure to gather some utility functions for the ParameterVector.
static ParameterVector< N1+N2 > stack(const ParameterVector< N1 > &upperPar, const ParameterVector< N2 > &lowerPar)
Combines two parameter vectors by stacking them over each other.
static AParameterVector getSub(const ParameterVector< N > &par)
Gets a sub vector from a parameter vector.