EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::detail::visit_measurement_callable< I > Struct Template Reference

#include <acts/blob/sPHENIX/Core/include/Acts/EventData/MeasurementHelpers.hpp>

Static Public Member Functions

template<typename L , typename A , typename B >
static auto constexpr invoke (A &&param, B &&cov, L &&lambda)
 

Detailed Description

template<size_t I>
struct Acts::detail::visit_measurement_callable< I >

Helper functor for visit_measurement. This is the actual functor given to template_switch.

Template Parameters
ICompile time int value

Definition at line 61 of file MeasurementHelpers.hpp.

View newest version in sPHENIX GitHub at line 61 of file MeasurementHelpers.hpp

Member Function Documentation

template<size_t I>
template<typename L , typename A , typename B >
static auto constexpr Acts::detail::visit_measurement_callable< I >::invoke ( A &&  param,
B &&  cov,
L &&  lambda 
)
inlinestatic

The invoked function. It will perform the head/top-left corner extraction, and pass thee results to the given lambda.

Template Parameters
LThe lambda type
AThe parameter vector type
BThe covariance matrix type
Note
No requirements on A and B are made, to enable a single overload for both const and non-const matrices/vectors.
Parameters
paramThe parameter vector
covThe covariance matrix
lambdaThe lambda to call with the statically sized subsets

Definition at line 73 of file MeasurementHelpers.hpp.

View newest version in sPHENIX GitHub at line 73 of file MeasurementHelpers.hpp

References Acts::Test::cov.


The documentation for this struct was generated from the following file: