Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::MultiStepperSurfaceReached Struct Reference

This. More...

#include <acts/blob/sPHENIX/Core/include/Acts/Propagator/MultiStepperAborters.hpp>

Public Member Functions

 MultiStepperSurfaceReached ()=default
 
template<typename propagator_state_t , typename stepper_t , typename navigator_t >
bool operator() (propagator_state_t &state, const stepper_t &stepper, const navigator_t &navigator, const Logger &logger) const
 
template<typename propagator_state_t , typename stepper_t , typename navigator_t >
bool operator() (propagator_state_t &state, const stepper_t &stepper, const navigator_t &navigator, const Surface &targetSurface, const Logger &logger) const
 

Public Attributes

bool averageOnSurface = true
 
double averageOnSurfaceTolerance = 0.2
 

Detailed Description

This.

Definition at line 17 of file MultiStepperAborters.hpp.

View newest version in sPHENIX GitHub at line 17 of file MultiStepperAborters.hpp

Constructor & Destructor Documentation

Acts::MultiStepperSurfaceReached::MultiStepperSurfaceReached ( )
default

Member Function Documentation

template<typename propagator_state_t , typename stepper_t , typename navigator_t >
bool Acts::MultiStepperSurfaceReached::operator() ( propagator_state_t &  state,
const stepper_t &  stepper,
const navigator_t &  navigator,
const Logger logger 
) const
inline

boolean operator for abort condition without using the result

Template Parameters
propagator_state_tType of the propagator state
stepper_tType of the stepper
navigator_tType of the navigator
Parameters
[in,out]stateThe propagation state object
[in]stepperStepper used for propagation
[in]navigatorNavigator used for the propagation
loggera logger instance

Definition at line 42 of file MultiStepperAborters.hpp.

View newest version in sPHENIX GitHub at line 42 of file MultiStepperAborters.hpp

References logger(), Acts::Test::navigator, filter::state, and propagation_timing::stepper.

+ Here is the call graph for this function:

template<typename propagator_state_t , typename stepper_t , typename navigator_t >
bool Acts::MultiStepperSurfaceReached::operator() ( propagator_state_t &  state,
const stepper_t &  stepper,
const navigator_t &  navigator,
const Surface targetSurface,
const Logger logger 
) const
inline

boolean operator for abort condition without using the result

Template Parameters
propagator_state_tType of the propagator state
stepper_tType of the stepper
navigator_tType of the navigator
Parameters
[in,out]stateThe propagation state object
[in]stepperStepper used for the propagation
[in]navigatorNavigator used for the propagation
[in]targetSurfaceThe target surface
loggera logger instance

Definition at line 61 of file MultiStepperAborters.hpp.

View newest version in sPHENIX GitHub at line 61 of file MultiStepperAborters.hpp

References Acts::ACTS_VERBOSE(), averageOnSurface, averageOnSurfaceTolerance, closest(), root_event_diff_np::cmp(), Acts::Surface::intersect(), logger(), and Acts::Test::navigator.

+ Here is the call graph for this function:

Member Data Documentation

bool Acts::MultiStepperSurfaceReached::averageOnSurface = true

If this is set, we are also happy if the mean of the components is on the surface. How the averaging is performed depends on the stepper implementation

Definition at line 23 of file MultiStepperAborters.hpp.

View newest version in sPHENIX GitHub at line 23 of file MultiStepperAborters.hpp

Referenced by operator()().

double Acts::MultiStepperSurfaceReached::averageOnSurfaceTolerance = 0.2

A configurable tolerance within which distance to the intersection we consider the surface as reached. Has no effect if averageOnSurface is false

Definition at line 28 of file MultiStepperAborters.hpp.

View newest version in sPHENIX GitHub at line 28 of file MultiStepperAborters.hpp

Referenced by operator()().


The documentation for this struct was generated from the following file: