ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::DirectNavigator Class Reference

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

Classes

struct  Initializer
 
struct  State
 

Public Types

using SurfaceSequence = std::vector< const Surface * >
 The sequentially crossed surfaces.
 
using SurfaceIter = std::vector< const Surface * >::iterator
 

Public Member Functions

 DirectNavigator ()=default
 Defaulted Constructed.
 
template<typename propagator_state_t , typename stepper_t >
void status (propagator_state_t &state, const stepper_t &stepper) const
 Navigator status call.
 
template<typename propagator_state_t , typename stepper_t >
void target (propagator_state_t &state, const stepper_t &stepper) const
 Navigator target call.
 

Public Attributes

double tolerance = s_onSurfaceTolerance
 The tolerance used to define "surface reached".
 

Private Member Functions

template<typename propagator_state_t >
void debugLog (propagator_state_t &state, const std::function< std::string()> &logAction) const
 

Detailed Description

DirectNavigator class

This is a fully guided navigator that progresses through a pre-given sequence of surfaces.

This can either be used as a validation tool, for truth tracking, or track refitting

Definition at line 33 of file DirectNavigator.hpp.

View newest version in sPHENIX GitHub at line 33 of file DirectNavigator.hpp

Member Typedef Documentation

using Acts::DirectNavigator::SurfaceIter = std::vector<const Surface*>::iterator

Definition at line 37 of file DirectNavigator.hpp.

View newest version in sPHENIX GitHub at line 37 of file DirectNavigator.hpp

using Acts::DirectNavigator::SurfaceSequence = std::vector<const Surface*>

The sequentially crossed surfaces.

Definition at line 36 of file DirectNavigator.hpp.

View newest version in sPHENIX GitHub at line 36 of file DirectNavigator.hpp

Constructor & Destructor Documentation

Acts::DirectNavigator::DirectNavigator ( )
default

Defaulted Constructed.

Member Function Documentation

template<typename propagator_state_t >
void Acts::DirectNavigator::debugLog ( propagator_state_t &  state,
const std::function< std::string()> &  logAction 
) const
inlineprivate

The private navigation 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 252 of file DirectNavigator.hpp.

View newest version in sPHENIX GitHub at line 252 of file DirectNavigator.hpp

References split().

Referenced by status(), and target().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename propagator_state_t , typename stepper_t >
void Acts::DirectNavigator::status ( propagator_state_t &  state,
const stepper_t &  stepper 
) const
inline

Navigator status call.

Template Parameters
propagator_state_tis the type of Propagatgor state
stepper_tis the used type of the Stepper by the Propagator
Parameters
[in,out]stateis the mutable propagator state object
[in]stepperStepper in use

Definition at line 127 of file DirectNavigator.hpp.

View newest version in sPHENIX GitHub at line 127 of file DirectNavigator.hpp

References debugLog().

+ Here is the call graph for this function:

template<typename propagator_state_t , typename stepper_t >
void Acts::DirectNavigator::target ( propagator_state_t &  state,
const stepper_t &  stepper 
) const
inline

Navigator target call.

Template Parameters
propagator_state_tis the type of Propagatgor state
stepper_tis the used type of the Stepper by the Propagator
Parameters
[in,out]stateis the mutable propagator state object
[in]stepperStepper in use

Definition at line 188 of file DirectNavigator.hpp.

View newest version in sPHENIX GitHub at line 188 of file DirectNavigator.hpp

References debugLog().

+ Here is the call graph for this function:

Member Data Documentation

double Acts::DirectNavigator::tolerance = s_onSurfaceTolerance

The tolerance used to define "surface reached".

Definition at line 43 of file DirectNavigator.hpp.

View newest version in sPHENIX GitHub at line 43 of file DirectNavigator.hpp


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