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

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

Public Member Functions

Acts::Result
< Acts::ParameterSet
< Acts::FreeIndices,
kParameters...> > 
operator() (const SmearInput &sInput, const std::array< SmearFunction, sizeof...(kParameters)> &sFunctions) const
 

Detailed Description

template<Acts::FreeIndices... kParameters>
struct ActsFatras::FreeParametersSmearer< kParameters >

Generic implementation of a smearing meathod for free parameters

Template Parameters
kParametersparameter pack describing the parameters to smear

Definition at line 115 of file UncorrelatedHitSmearer.hpp.

View newest version in sPHENIX GitHub at line 115 of file UncorrelatedHitSmearer.hpp

Member Function Documentation

template<Acts::FreeIndices... kParameters>
Acts::Result<Acts::ParameterSet<Acts::FreeIndices, kParameters...> > ActsFatras::FreeParametersSmearer< kParameters >::operator() ( const SmearInput sInput,
const std::array< SmearFunction, sizeof...(kParameters)> &  sFunctions 
) const
inline

Smearing function

Parameters
sInputThe smearing input struct with the simulated hit
sFunctionsThe smearing functions that are applied
Note
uncorrelated smearing of the direction using the components is not recommended
Returns
Smeared free parameter set wrapped in a Result<...> object

Definition at line 126 of file UncorrelatedHitSmearer.hpp.

View newest version in sPHENIX GitHub at line 126 of file UncorrelatedHitSmearer.hpp

References ActsFatras::SmearInput::hit, and Acts::PrimitivesView3DTest::run().

+ Here is the call graph for this function:


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