ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::detail::LoopProtection< path_arborter_t > Struct Template Reference

#include <acts/blob/master/Core/include/Acts/Propagator/detail/LoopProtection.hpp>

Public Member Functions

template<typename propagator_state_t , typename stepper_t >
void operator() (propagator_state_t &state, const stepper_t &stepper) const
 Call to dress the options with a loop protection.
 
template<typename propagator_state_t >
void debugLog (propagator_state_t &state, const std::function< std::string()> &logAction) const
 

Detailed Description

template<typename path_arborter_t>
struct Acts::detail::LoopProtection< path_arborter_t >

Definition at line 18 of file LoopProtection.hpp.

View newest version in sPHENIX GitHub at line 18 of file LoopProtection.hpp

Member Function Documentation

template<typename path_arborter_t>
template<typename propagator_state_t >
void Acts::detail::LoopProtection< path_arborter_t >::debugLog ( propagator_state_t &  state,
const std::function< std::string()> &  logAction 
) const
inline

The private loop protection debug logging

It needs to be fed by a lambda function that returns a string, that guarantees that the lambda is only called in the state.options.debug == true case in order not to spend time when not needed.

Template Parameters
propagator_state_tType of the propagator state
Parameters
[in,out]statethe propagator state for the debug flag, prefix and length
logActionis a callable function that returns a streamable object

Definition at line 70 of file LoopProtection.hpp.

View newest version in sPHENIX GitHub at line 70 of file LoopProtection.hpp

References split().

Referenced by Acts::detail::LoopProtection< path_arborter_t >::operator()().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename path_arborter_t>
template<typename propagator_state_t , typename stepper_t >
void Acts::detail::LoopProtection< path_arborter_t >::operator() ( propagator_state_t &  state,
const stepper_t &  stepper 
) const
inline

Call to dress the options with a loop protection.

Template Parameters
state_tState type of the Propagation call
stepper_tStepper type of the Propagator setup
Parameters
[in,out]stateState object provided for the call
[in]stepperStepper used

Definition at line 27 of file LoopProtection.hpp.

View newest version in sPHENIX GitHub at line 27 of file LoopProtection.hpp

References B(), Acts::detail::LoopProtection< path_arborter_t >::debugLog(), and M_PI.

+ Here is the call graph for this function:


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