File SurfaceCollector.hpp¶
-
namespace Acts
Set the Geometry Context PLUGIN.
Set the Calibration Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.
Set the Mangetic Field Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.
Currently implemented for the two most common formats: rz and xyz.
-
template<typename Selector = SurfaceSelector>
struct SurfaceCollector¶ - #include <Acts/Propagator/SurfaceCollector.hpp>
A Surface Collector struct templated with a Selector type.
Whenever a surface is passed in the propagation that satisfies the selector, it is recorded for further usage in the flow.
Public Types
-
using result_type = this_result¶
Public Functions
-
template<typename propagator_state_t, typename stepper_t>
inline void operator()(propagator_state_t &state, const stepper_t &stepper, result_type &result) 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 surface given the configuration
- Template Parameters
propagator_state_t – is the type of Propagator state
stepper_t – Type of the stepper used for the propagation
- Parameters
state – [inout] is the mutable stepper state object
stepper – [in] The stepper in use
result – [inout] is the mutable result object
-
template<typename propagator_state_t, typename stepper_t>
inline void operator()(propagator_state_t&, const stepper_t&) const¶ Pure observer interface.
this does not apply to the surface collector
-
struct this_result¶
- #include <Acts/Propagator/SurfaceCollector.hpp>
Simple result struct to be returned It has all the SurfaceHit objects that are collected (and thus have been selected)
Public Members
-
std::vector<SurfaceHit> collected¶
-
std::vector<SurfaceHit> collected¶
-
using result_type = this_result¶
-
struct SurfaceHit¶
- #include <Acts/Propagator/SurfaceCollector.hpp>
The information to be writtern out per hit surface.
-
struct SurfaceSelector¶
- #include <Acts/Propagator/SurfaceCollector.hpp>
Simple struct to select surfaces.
Public Functions
-
inline SurfaceSelector(bool sSensitive = true, bool sMaterial = false, bool sPassive = false)¶
SurfaceSelector with options.
- Parameters
sSensitive – is the directive to select sensitive surfaces
sMaterial – is the directive to select material surfaces
sPassive – is the directive to select passive surfaces
-
inline SurfaceSelector(bool sSensitive = true, bool sMaterial = false, bool sPassive = false)¶
-
template<typename Selector = SurfaceSelector>