Class Acts::KalmanFitter::Actor¶
-
template<typename source_link_t, typename parameters_t, typename calibrator_t, typename outlier_finder_t>
class Acts::KalmanFitter::Actor¶ Propagator Actor plugin for the KalmanFilter.
The KalmanActor does not rely on the measurements to be sorted along the track.
- tparam source_link_t
is an type fulfilling the
SourceLinkConcept
- tparam parameters_t
The type of parameters used for “local” paremeters.
- tparam calibrator_t
The type of calibrator
- tparam outlier_finder_t
Type of the outlier finder class
Public Types
-
using result_type = KalmanFitterResult<source_link_t>¶
Broadcast the result_type.
Public Functions
-
template<typename propagator_state_t, typename stepper_t>
inline Result<void> filter(const Surface *surface, propagator_state_t &state, const stepper_t &stepper, result_type &result) const¶ Kalman actor operation : update.
- Template Parameters
propagator_state_t – is the type of Propagagor state
stepper_t – Type of the stepper
- Parameters
surface – The surface where the update happens
state – The mutable propagator state object
stepper – The stepper in use
result – The mutable result state object
-
template<typename propagator_state_t, typename stepper_t>
inline Result<void> finalize(propagator_state_t &state, const stepper_t &stepper, result_type &result) const¶ Kalman actor operation : finalize.
- Template Parameters
propagator_state_t – is the type of Propagagor state
stepper_t – Type of the stepper
- Parameters
state – is the mutable propagator state object
stepper – The stepper in use
result – is the mutable result state object
-
template<typename propagator_state_t, typename stepper_t>
inline void materialInteractor(const Surface *surface, propagator_state_t &state, stepper_t &stepper, const MaterialUpdateStage &updateStage = fullUpdate) const¶ Kalman actor operation : material interaction.
- Template Parameters
propagator_state_t – is the type of Propagagor state
stepper_t – Type of the stepper
- Parameters
surface – The surface where the material interaction happens
state – The mutable propagator state object
stepper – The stepper in use
updateStage – The materal update stage
-
template<typename propagator_state_t, typename stepper_t>
inline void operator()(propagator_state_t &state, const stepper_t &stepper, result_type &result) const¶ Kalman actor operation.
- Template Parameters
propagator_state_t – is the type of Propagagor state
stepper_t – Type of the stepper
- Parameters
state – is the mutable propagator state object
stepper – The stepper in use
result – is the mutable result state object
-
template<typename propagator_state_t, typename stepper_t>
inline Result<void> reverse(propagator_state_t &state, stepper_t &stepper, result_type &result) const¶ Kalman actor operation : reverse direction.
- Template Parameters
propagator_state_t – is the type of Propagagor state
stepper_t – Type of the stepper
- Parameters
state – is the mutable propagator state object
stepper – The stepper in use
result – is the mutable result state objecte
-
template<typename propagator_state_t, typename stepper_t>
inline Result<void> reversedFilter(const Surface *surface, propagator_state_t &state, const stepper_t &stepper, result_type &result) const¶ Kalman actor operation : update in reversed direction.
- Template Parameters
propagator_state_t – is the type of Propagagor state
stepper_t – Type of the stepper
- Parameters
surface – The surface where the update happens
state – The mutable propagator state object
stepper – The stepper in use
result – The mutable result state object
Public Members
-
bool energyLoss = true¶
Whether to consider energy loss.
-
const std::map<GeometryIdentifier, source_link_t> *inputMeasurements = nullptr¶
Allows retrieving measurements for a surface.
-
calibrator_t m_calibrator¶
The measurement calibrator.
-
outlier_finder_t m_outlierFinder¶
The outlier finder.
-
smoother_t m_smoother¶
The Kalman smoother.
-
updater_t m_updater¶
The Kalman updater.
-
bool multipleScattering = true¶
Whether to consider multiple scattering.
-
bool reversedFiltering = false¶
Whether run reversed filtering.
-
SurfaceReached targetReached¶
The Surface beeing.