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

#include <acts/blob/sPHENIX/Fatras/include/ActsFatras/Digitization/detail/ParametersSmearer.hpp>

Public Types

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

Static Public Member Functions

template<typename values_t , typename covariance_t >
static Acts::Result< void > run (Eigen::MatrixBase< values_t > &values, Eigen::MatrixBase< covariance_t > &covariances, const std::array< SmearFunction, sizeof...(kParameters)> &sFunctions)
 
template<typename values_t , typename covariance_t , std::size_t... kStorage>
static Acts::Result< void > runImpl (Eigen::MatrixBase< values_t > &values, Eigen::MatrixBase< covariance_t > &covariances, const std::array< SmearFunction, sizeof...(kParameters)> &sFunctions, std::index_sequence< kStorage...>)
 

Detailed Description

template<typename indices_t, indices_t... kParameters>
struct ActsFatras::detail::ParametersSmearer< indices_t, kParameters >

Smear the parameters in the given vector with provided smear functions

Template Parameters
indices_tthe Parameter indices type (bound, free)
kParametersParameter indices pack that defines the used parameter

Definition at line 61 of file ParametersSmearer.hpp.

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

Member Typedef Documentation

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

Definition at line 62 of file ParametersSmearer.hpp.

View newest version in sPHENIX GitHub at line 62 of file ParametersSmearer.hpp

Member Function Documentation

template<typename indices_t , indices_t... kParameters>
template<typename values_t , typename covariance_t >
static Acts::Result<void> ActsFatras::detail::ParametersSmearer< indices_t, kParameters >::run ( Eigen::MatrixBase< values_t > &  values,
Eigen::MatrixBase< covariance_t > &  covariances,
const std::array< SmearFunction, sizeof...(kParameters)> &  sFunctions 
)
inlinestatic

Run the smearing on it

Parameters
[in,out]valueson which smearing will be applied
[in,out]covarianceswhich will be filled in place as well
[in]sFunctionsthe smearing functions to be applied
Returns
a Result object that may carry a DigitizationError

Definition at line 72 of file ParametersSmearer.hpp.

View newest version in sPHENIX GitHub at line 72 of file ParametersSmearer.hpp

References ActsFatras::detail::ParametersSmearer< indices_t, kParameters >::runImpl().

+ Here is the call graph for this function:

template<typename indices_t , indices_t... kParameters>
template<typename values_t , typename covariance_t , std::size_t... kStorage>
static Acts::Result<void> ActsFatras::detail::ParametersSmearer< indices_t, kParameters >::runImpl ( Eigen::MatrixBase< values_t > &  values,
Eigen::MatrixBase< covariance_t > &  covariances,
const std::array< SmearFunction, sizeof...(kParameters)> &  sFunctions,
std::index_sequence< kStorage...>   
)
inlinestatic

Definition at line 80 of file ParametersSmearer.hpp.

View newest version in sPHENIX GitHub at line 80 of file ParametersSmearer.hpp

Referenced by ActsFatras::detail::ParametersSmearer< indices_t, kParameters >::run().

+ Here is the caller graph for this function:


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