ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::ITrackingGeometryVisitor Class Referenceabstract

Base class for tracking geometry visitors. More...

#include <Acts/Geometry/TrackingGeometryVisitor.hpp>

Inheritance diagram for Acts::ITrackingGeometryVisitor:
[legend]

Public Member Functions

 ITrackingGeometryVisitor (bool visitDepthFirst=false)
virtual ~ITrackingGeometryVisitor ()=0
bool visitDepthFirst () const
 indicate the order of visiting

Detailed Description

Base class for tracking geometry visitors.

This class provides a common interface for both const and mutable visitors to the tracking geometry hierarchy. It allows decide on the visiting order based on the visitInDepth flag. If true, the visiting happens from the outermost volume and goes deeper to the volumes into the hierarchy.

Constructor & Destructor Documentation

◆ ~ITrackingGeometryVisitor()

virtual Acts::ITrackingGeometryVisitor::~ITrackingGeometryVisitor ( )
pure virtual

◆ ITrackingGeometryVisitor()

Acts::ITrackingGeometryVisitor::ITrackingGeometryVisitor ( bool visitDepthFirst = false)
explicit
Parameters
visitDepthFirstFlag to control visit order (depth-first vs breadth-first)

Member Function Documentation

◆ visitDepthFirst()

bool Acts::ITrackingGeometryVisitor::visitDepthFirst ( ) const

indicate the order of visiting

Note
default is outermost --> innermost volume visiting
Returns
True if depth-first traversal is enabled, false for breadth-first