File MeasurementHelpers.hpp¶
-
namespace Acts
Set the Geometry Context PLUGIN.
Set the Calibration Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.
Set the Mangetic Field Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.
Currently implemented for the two most common formats: rz and xyz.
Functions
-
template<typename L, typename A, typename B>
auto visit_measurement(A &¶m, B &&cov, size_t dim, L &&lambda)¶ Dispatch a lambda call on an overallocated parameter vector and covariance matrix, based on a runtime dimension value.
Inside the lambda call, the vector and matrix will have fixed dimensions, but will still point back to the originally given overallocated values.
Note
No requirements on
A
andB
are made, to enable a single overload for both const and non-const matrices/vectors.- Template Parameters
L – The lambda type
A – The parameter vector type
B – The covariance matrix type
- Parameters
param – The parameter vector
cov – The covariance matrix
dim – The actual dimension as a runtime value
lambda – The lambda to call with the statically sized subsets
-
template<typename L, typename A, typename B>