Template Function Acts::makeMeasurement

Function Documentation

Construct a fixed-size measurement for the given indices.

This helper function can be used to create a fixed-size measurement using an explicit set of indices, e.g.

auto m = makeMeasurement(s, p, c, eBoundLoc0, eBoundTime);
Return

Fixed-size measurement w/ the correct type and given inputs

Template Parameters
  • source_link_t: Source link type to connect to the detector readout

  • parameters_t: Input parameters vector type

  • covariance_t: Input covariance matrix type

  • indices_t: Parameter index type, determines the full parameter space

  • tail_indices_t: Helper types required to support variadic arguments; all types must be convertibale to indices_t.

Parameters
  • source: The link that connects to the underlying detector readout

  • params: Measured parameters values

  • cov: Measured parameters covariance

  • index0: Required parameter index, measurement must be at least 1d

  • tailIndices: Additional parameter indices for larger measurements

for a 2d measurement w/ one position and time.

Note

The indices must be ordered and must be consistent with the content of parameters and covariance.