ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::BoundParameterRecorder< Selector > Struct Template Reference

Collector of the bound track parameters. More...

#include <Acts/Propagator/SurfaceCollector.hpp>

Collaboration diagram for Acts::BoundParameterRecorder< Selector >:
[legend]

Public Types

using result_type = std::vector<BoundTrackParameters>
 Type alias for collector result type.

Public Member Functions

template<typename propagator_state_t, typename stepper_t, typename navigator_t>
Result< void > act (propagator_state_t &state, const stepper_t &stepper, const navigator_t &navigator, result_type &result, const Logger &logger) const
 Collector action for the ActionList of the Propagator It checks if the propagator state has a current surface, in which case the action is performed:

Public Attributes

Selector selector
 The selector used for this surface.

Detailed Description

template<typename Selector = SurfaceSelector>
struct Acts::BoundParameterRecorder< Selector >

Collector of the bound track parameters.

Every time when the propagator reaches a surface, and the surface passes the selection, the BoundTrackParameters are recorded on this surface.

Template Parameters
SelectorAny surface selector class implementation to select the parameters on surface for record

Member Function Documentation

◆ act()

template<typename Selector = SurfaceSelector>
template<typename propagator_state_t, typename stepper_t, typename navigator_t>
Result< void > Acts::BoundParameterRecorder< Selector >::act ( propagator_state_t & state,
const stepper_t & stepper,
const navigator_t & navigator,
result_type & result,
const Logger & logger ) const

Collector action for the ActionList of the Propagator It checks if the propagator state has a current surface, in which case the action is performed:

  • it records the bound track parameters
Template Parameters
propagator_state_tis the type of Propagator state
stepper_tType of the stepper used for the propagation
navigator_tType of the navigator used for the propagation
Parameters
[in,out]stateis the mutable stepper state object
[in]stepperThe stepper in use
[in]navigatorThe navigator in use
[in,out]resultis the mutable result object
loggera logger instance
Returns
Result indicating success or failure