Analysis Software
Documentation for sPHENIX simulation 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 , typename navigator_t >
void operator() (propagator_state_t &state, const stepper_t &stepper, const navigator_t &, result_type &result, const Logger &) 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 88 of file PropagatorTests.cpp.

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

Member Typedef Documentation

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

Definition at line 100 of file PropagatorTests.cpp.

View newest version in sPHENIX GitHub at line 100 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 , typename navigator_t >
void Acts::Test::SurfaceObserver< Surface >::operator() ( propagator_state_t &  state,
const stepper_t &  stepper,
const navigator_t &  ,
result_type result,
const Logger  
) const
inline

Definition at line 106 of file PropagatorTests.cpp.

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

References Acts::ConstrainedStep::actor, closest(), distance(), Acts::VectorHelpers::perp(), writeMapConfig::surface, Acts::Test::SurfaceObserver< Surface >::this_result::surface_passed_r, Acts::Test::SurfaceObserver< Surface >::this_result::surfaces_passed, and Acts::Test::tolerance.

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 90 of file PropagatorTests.cpp.

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

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

Definition at line 92 of file PropagatorTests.cpp.

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


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