Template Struct FreeParametersSmearer¶
Defined in File UncorrelatedHitSmearer.hpp
Struct Documentation¶
-
template<typename
generator_t
, size_tkSize
>
structActsFatras
::
FreeParametersSmearer
¶ Uncorrelated smearing algorithm for fast digitisation of free parameters.
The smearer takes a single simulated
Hit
and generates a smeared parameter vector and associated covariance matrix.- Template Parameters
generator_t
: Random number generator typekSize
: Number of smeared parameters
- Note
Uncorrelated smearing of the direction using each components individually is not recommended
Public Types
-
using
CovarianceMatrix
= Acts::ActsSymMatrix<kSize>¶
-
using
ParametersVector
= Acts::ActsVector<kSize>¶
-
using
Result
= Acts::Result<std::pair<ParametersVector, CovarianceMatrix>>¶
-
using
Scalar
= Acts::ActsScalar¶
Public Functions
-
Result
operator()
(generator_t &rng, const Hit &hit) const¶ Generate smeared measured for configured parameters.
- Return
Smeared free parameter set wrapped in a Result<…> object
- Parameters
rng
: Random number generatorhit
: Simulated hit
- Return Value
Smeared
: parameters vector and associated covariance on successError
: code for failure
Public Members
-
std::array<Acts::FreeIndices, kSize>
indices
¶ Parameter indices that will be used to create the smeared measurements.
-
std::array<SingleParameterSmearFunction<generator_t>, kSize>
smearFunctions
¶
Public Static Functions
-
constexpr size_t
size
()¶