Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Fatras/include/ActsFatras/Digitization/UncorrelatedHitSmearer.hpp>
Public Types | |
using | Scalar = Acts::ActsScalar |
using | ParametersVector = Acts::ActsVector< kSize > |
using | CovarianceMatrix = Acts::ActsSquareMatrix< kSize > |
using | Result = Acts::Result< std::pair< ParametersVector, CovarianceMatrix >> |
Public Member Functions | |
Result | operator() (generator_t &rng, const Hit &hit) const |
Static Public Member Functions | |
static constexpr size_t | size () |
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 |
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.
Definition at line 114 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 114 of file UncorrelatedHitSmearer.hpp
using ActsFatras::FreeParametersSmearer< generator_t, kSize >::CovarianceMatrix = Acts::ActsSquareMatrix<kSize> |
Definition at line 117 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 117 of file UncorrelatedHitSmearer.hpp
using ActsFatras::FreeParametersSmearer< generator_t, kSize >::ParametersVector = Acts::ActsVector<kSize> |
Definition at line 116 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 116 of file UncorrelatedHitSmearer.hpp
using ActsFatras::FreeParametersSmearer< generator_t, kSize >::Result = Acts::Result<std::pair<ParametersVector, CovarianceMatrix>> |
Definition at line 118 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 118 of file UncorrelatedHitSmearer.hpp
using ActsFatras::FreeParametersSmearer< generator_t, kSize >::Scalar = Acts::ActsScalar |
Definition at line 115 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 115 of file UncorrelatedHitSmearer.hpp
|
inline |
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 |
Definition at line 133 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 133 of file UncorrelatedHitSmearer.hpp
References Acts::Test::cov, ActsFatras::Hit::direction(), Acts::eFreeDir0, Acts::eFreePos0, Acts::eFreeQOverP, Acts::eFreeTime, i, ActsFatras::FreeParametersSmearer< generator_t, kSize >::indices, ActsFatras::Hit::position(), conftest::rng(), ActsFatras::FreeParametersSmearer< generator_t, kSize >::smearFunctions, ActsFatras::Hit::time(), and value.
|
inlinestatic |
Definition at line 124 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 124 of file UncorrelatedHitSmearer.hpp
std::array<Acts::FreeIndices, kSize> ActsFatras::FreeParametersSmearer< generator_t, kSize >::indices {} |
Parameter indices that will be used to create the smeared measurements.
Definition at line 121 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 121 of file UncorrelatedHitSmearer.hpp
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_DATA_TEST_CASE(), and ActsFatras::FreeParametersSmearer< generator_t, kSize >::operator()().
std::array<SingleParameterSmearFunction<generator_t>, kSize> ActsFatras::FreeParametersSmearer< generator_t, kSize >::smearFunctions |
Definition at line 122 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 122 of file UncorrelatedHitSmearer.hpp
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_DATA_TEST_CASE(), and ActsFatras::FreeParametersSmearer< generator_t, kSize >::operator()().