EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::detail::ValueCorrector< indices_t, kParameters > Struct Template Reference

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

Public Types

using StorageSequence = std::make_index_sequence< sizeof...(kParameters)>
 

Static Public Member Functions

template<typename values_t >
static void run (Eigen::MatrixBase< values_t > &values)
 
template<typename values_t , std::size_t... kStorage>
static void runImpl (Eigen::MatrixBase< values_t > &values, std::index_sequence< kStorage...>)
 

Detailed Description

template<typename indices_t, indices_t... kParameters>
struct Acts::detail::ValueCorrector< indices_t, kParameters >

Correct all parameter values in a vector to be within their nominal range.

Template Parameters
indices_tParameter indices enum type
kParametersParameter indices pack that defines the used parameter

Definition at line 25 of file ValueCorrector.hpp.

View newest version in sPHENIX GitHub at line 25 of file ValueCorrector.hpp

Member Typedef Documentation

template<typename indices_t , indices_t... kParameters>
using Acts::detail::ValueCorrector< indices_t, kParameters >::StorageSequence = std::make_index_sequence<sizeof...(kParameters)>

Definition at line 26 of file ValueCorrector.hpp.

View newest version in sPHENIX GitHub at line 26 of file ValueCorrector.hpp

Member Function Documentation

template<typename indices_t , indices_t... kParameters>
template<typename values_t >
static void Acts::detail::ValueCorrector< indices_t, kParameters >::run ( Eigen::MatrixBase< values_t > &  values)
inlinestatic

Run the value correction.

Parameters
[in,out]valuesValues vector which will be corrected in-place.
Postcondition
All values in values are within their nominal range.

Definition at line 33 of file ValueCorrector.hpp.

View newest version in sPHENIX GitHub at line 33 of file ValueCorrector.hpp

References Acts::detail::ValueCorrector< indices_t, kParameters >::runImpl().

Referenced by Acts::ParameterSet< parameter_indices_t, params...>::correctValues().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename indices_t , indices_t... kParameters>
template<typename values_t , std::size_t... kStorage>
static void Acts::detail::ValueCorrector< indices_t, kParameters >::runImpl ( Eigen::MatrixBase< values_t > &  values,
std::index_sequence< kStorage...>   
)
inlinestatic

Definition at line 38 of file ValueCorrector.hpp.

View newest version in sPHENIX GitHub at line 38 of file ValueCorrector.hpp

Referenced by Acts::detail::ValueCorrector< indices_t, kParameters >::run().

+ Here is the caller graph for this function:


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