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 Acts::Surface &surface, const Acts::GeometryContext &geoCtx) const |
Static Public Member Functions | |
static constexpr size_t | size () |
Public Attributes | |
std::array< Acts::BoundIndices, 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 bound 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 43 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 43 of file UncorrelatedHitSmearer.hpp
using ActsFatras::BoundParametersSmearer< generator_t, kSize >::CovarianceMatrix = Acts::ActsSquareMatrix<kSize> |
Definition at line 46 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 46 of file UncorrelatedHitSmearer.hpp
using ActsFatras::BoundParametersSmearer< generator_t, kSize >::ParametersVector = Acts::ActsVector<kSize> |
Definition at line 45 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 45 of file UncorrelatedHitSmearer.hpp
using ActsFatras::BoundParametersSmearer< generator_t, kSize >::Result = Acts::Result<std::pair<ParametersVector, CovarianceMatrix>> |
Definition at line 47 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 47 of file UncorrelatedHitSmearer.hpp
using ActsFatras::BoundParametersSmearer< generator_t, kSize >::Scalar = Acts::ActsScalar |
Definition at line 44 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 44 of file UncorrelatedHitSmearer.hpp
|
inline |
Generate smeared measured for configured parameters.
rng | Random number generator |
hit | Simulated hit |
surface | Local surface on which the hit is smeared |
geoCtx | Geometry context |
Smeared | parameters vector and associated covariance on success |
Error | code for failure |
Definition at line 63 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 63 of file UncorrelatedHitSmearer.hpp
|
inlinestatic |
Definition at line 53 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 53 of file UncorrelatedHitSmearer.hpp
std::array<Acts::BoundIndices, kSize> ActsFatras::BoundParametersSmearer< generator_t, kSize >::indices {} |
Parameter indices that will be used to create the smeared measurements.
Definition at line 50 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 50 of file UncorrelatedHitSmearer.hpp
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_DATA_TEST_CASE(), ActsExamples::DigitizationAlgorithm::makeDigitizer(), and ActsFatras::BoundParametersSmearer< RandomEngine, kSmearDIM >::operator()().
std::array<SingleParameterSmearFunction<generator_t>, kSize> ActsFatras::BoundParametersSmearer< generator_t, kSize >::smearFunctions {} |
Definition at line 51 of file UncorrelatedHitSmearer.hpp.
View newest version in sPHENIX GitHub at line 51 of file UncorrelatedHitSmearer.hpp
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_DATA_TEST_CASE(), ActsExamples::DigitizationAlgorithm::makeDigitizer(), and ActsFatras::BoundParametersSmearer< RandomEngine, kSmearDIM >::operator()().