ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
ActsTrk::PRDSourceLinkSurfaceAccessor Struct Reference

#include <KalmanFitterTool.h>

Collaboration diagram for ActsTrk::PRDSourceLinkSurfaceAccessor:

Public Member Functions

const Acts::Surface * operator() (const Acts::SourceLink &sourceLink) const
 

Public Attributes

const ActsTrk::IActsToTrkConverterToolconverterTool {nullptr}
 

Detailed Description

Definition at line 81 of file KalmanFitterTool.h.

Member Function Documentation

◆ operator()()

const Acts::Surface * ActsTrk::PRDSourceLinkSurfaceAccessor::operator() ( const Acts::SourceLink &  sourceLink) const

Definition at line 162 of file KalmanFitterTool.cxx.

162  {
163  const auto& sl = sourceLink.get<PRDSourceLink>();
164  const auto& trkSrf = sl.prd->detectorElement()->surface(sl.prd->identify());
165  const auto& actsSrf = converterTool->trkSurfaceToActsSurface(trkSrf);
166  return &actsSrf;
167 }

Member Data Documentation

◆ converterTool

const ActsTrk::IActsToTrkConverterTool* ActsTrk::PRDSourceLinkSurfaceAccessor::converterTool {nullptr}

Definition at line 82 of file KalmanFitterTool.h.


The documentation for this struct was generated from the following files:
ActsTrk::PRDSourceLinkSurfaceAccessor::converterTool
const ActsTrk::IActsToTrkConverterTool * converterTool
Definition: KalmanFitterTool.h:82
ActsTrk::IActsToTrkConverterTool::trkSurfaceToActsSurface
virtual const Acts::Surface & trkSurfaceToActsSurface(const Trk::Surface &atlasSurface) const =0