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

An observer that measures the perpendicular distance. More...

+ Collaboration diagram for Acts::Test::SurfaceObserver< Surface >:

Classes

struct  this_result
 Simple result struct to be returned. More...
 

Public Types

using result_type = this_result
 

Public Member Functions

 SurfaceObserver ()=default
 
template<typename propagator_state_t , typename stepper_t >
void operator() (propagator_state_t &state, const stepper_t &stepper, result_type &result) const
 
template<typename propagator_state_t , typename stepper_t >
void operator() (propagator_state_t &, const stepper_t &) const
 

Public Attributes

const Surfacesurface = nullptr
 
double tolerance = 1.e-5
 

Detailed Description

template<typename Surface>
struct Acts::Test::SurfaceObserver< Surface >

An observer that measures the perpendicular distance.

Definition at line 65 of file PropagatorTests.cpp.

View newest version in sPHENIX GitHub at line 65 of file PropagatorTests.cpp

Member Typedef Documentation

template<typename Surface >
using Acts::Test::SurfaceObserver< Surface >::result_type = this_result

Definition at line 77 of file PropagatorTests.cpp.

View newest version in sPHENIX GitHub at line 77 of file PropagatorTests.cpp

Constructor & Destructor Documentation

template<typename Surface >
Acts::Test::SurfaceObserver< Surface >::SurfaceObserver ( )
default

Member Function Documentation

template<typename Surface >
template<typename propagator_state_t , typename stepper_t >
void Acts::Test::SurfaceObserver< Surface >::operator() ( propagator_state_t &  state,
const stepper_t &  stepper,
result_type result 
) const
inline

Definition at line 82 of file PropagatorTests.cpp.

View newest version in sPHENIX GitHub at line 82 of file PropagatorTests.cpp

References kdfinder::abs(), Acts::ConstrainedStep::actor, Acts::VectorHelpers::perp(), surface(), Acts::Test::SurfaceObserver< Surface >::this_result::surface_passed_r, and Acts::Test::SurfaceObserver< Surface >::this_result::surfaces_passed.

+ Here is the call graph for this function:

template<typename Surface >
template<typename propagator_state_t , typename stepper_t >
void Acts::Test::SurfaceObserver< Surface >::operator() ( propagator_state_t &  ,
const stepper_t &   
) const
inline

Definition at line 105 of file PropagatorTests.cpp.

View newest version in sPHENIX GitHub at line 105 of file PropagatorTests.cpp

Member Data Documentation

template<typename Surface >
const Surface* Acts::Test::SurfaceObserver< Surface >::surface = nullptr

Definition at line 67 of file PropagatorTests.cpp.

View newest version in sPHENIX GitHub at line 67 of file PropagatorTests.cpp

template<typename Surface >
double Acts::Test::SurfaceObserver< Surface >::tolerance = 1.e-5

Definition at line 69 of file PropagatorTests.cpp.

View newest version in sPHENIX GitHub at line 69 of file PropagatorTests.cpp


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