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

#include <KalmanFitter.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 KalmanFitter.h.

Member Function Documentation

◆ operator()()

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

Definition at line 162 of file KalmanFitter.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 KalmanFitter.h.


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