|
ACTS
Experiment-independent tracking
|
Uncorrelated smearing algorithm for fast digitisation of free parameters. More...
#include <ActsFatras/Digitization/UncorrelatedHitSmearer.hpp>
Public Types | |
| using | CovarianceMatrix = Acts::ActsSquareMatrix<kSize> |
| Type alias for covariance matrix of dimension kSize x kSize. | |
| using | ParametersVector = Acts::ActsVector<kSize> |
| Type alias for parameter vector of dimension kSize. | |
| using | Result = Acts::Result<std::pair<ParametersVector, CovarianceMatrix>> |
| Type alias for smearing result containing parameters and covariance. | |
Public Member Functions | |
| Result | operator() (generator_t &rng, const Hit &hit) const |
| Generate smeared measured for configured parameters. | |
Static Public Member Functions | |
| static constexpr std::size_t | size () |
| Get the number of free parameters that will be smeared. | |
Public Attributes | |
| std::array< Acts::FreeIndices, kSize > | indices {} |
| Parameter indices that will be used to create the smeared measurements. | |
| std::array< SingleParameterSmearFunction< generator_t >, kSize > | smearFunctions |
| Array of smearing functions for each free parameter. | |
Uncorrelated smearing algorithm for fast digitisation of free parameters.
| generator_t | Random number generator type |
| kSize | Number of smeared parameters |
The smearer takes a single simulated Hit and generates a smeared parameter vector and associated covariance matrix.
| using ActsFatras::FreeParametersSmearer< generator_t, kSize >::CovarianceMatrix = Acts::ActsSquareMatrix<kSize> |
Type alias for covariance matrix of dimension kSize x kSize.
| using ActsFatras::FreeParametersSmearer< generator_t, kSize >::ParametersVector = Acts::ActsVector<kSize> |
Type alias for parameter vector of dimension kSize.
| using ActsFatras::FreeParametersSmearer< generator_t, kSize >::Result = Acts::Result<std::pair<ParametersVector, CovarianceMatrix>> |
Type alias for smearing result containing parameters and covariance.
| Result ActsFatras::FreeParametersSmearer< generator_t, kSize >::operator() | ( | generator_t & | rng, |
| const Hit & | hit ) const |
Generate smeared measured for configured parameters.
| rng | Random number generator |
| hit | Simulated hit |
| Smeared | parameters vector and associated covariance on success |
| Error | code for failure |
|
staticconstexpr |
Get the number of free parameters that will be smeared.
| std::array<Acts::FreeIndices, kSize> ActsFatras::FreeParametersSmearer< generator_t, kSize >::indices {} |
Parameter indices that will be used to create the smeared measurements.
| std::array<SingleParameterSmearFunction<generator_t>, kSize> ActsFatras::FreeParametersSmearer< generator_t, kSize >::smearFunctions |
Array of smearing functions for each free parameter.