![]() |
ATLAS Offline Software
|
Helper class to access the Acts::Surface for a given Acts::SourceLink which is poiniting to a Trk::MeasurementBase. More...
#include <TrkMeasSurfaceAccessor.h>
Public Member Functions | |
TrkMeasSurfaceAccessor ()=default | |
Empty default constructor -> conversion will crash. More... | |
TrkMeasSurfaceAccessor (const IActsToTrkConverterTool *trkConvTool) | |
Standard constructor taking the pointer to a configured surface conversion tool. More... | |
const Acts::Surface * | operator() (const Acts::SourceLink &sourceLink) const |
Operator called by the Acts API to fetch the surface. More... | |
Private Attributes | |
const IActsToTrkConverterTool * | m_trkConvTool {nullptr} |
Helper class to access the Acts::Surface for a given Acts::SourceLink which is poiniting to a Trk::MeasurementBase.
The measurement must be be associated with a surface hold by a Trk::DetElementBase. Temporary ad-hoc surfaces cannot be converted.
Definition at line 14 of file TrkMeasSurfaceAccessor.h.
|
default |
Empty default constructor -> conversion will crash.
ActsTrk::detail::TrkMeasSurfaceAccessor::TrkMeasSurfaceAccessor | ( | const IActsToTrkConverterTool * | trkConvTool | ) |
Standard constructor taking the pointer to a configured surface conversion tool.
Definition at line 7 of file TrkMeasSurfaceAccessor.cxx.
const Acts::Surface * ActsTrk::detail::TrkMeasSurfaceAccessor::operator() | ( | const Acts::SourceLink & | sourceLink | ) | const |
Operator called by the Acts API to fetch the surface.
Definition at line 9 of file TrkMeasSurfaceAccessor.cxx.
|
private |
Definition at line 24 of file TrkMeasSurfaceAccessor.h.