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

#include <GlobalChiSquareFitterTool.h>

Collaboration diagram for ActsTrk::PRDSourceLinkSurfaceAccessorGX2F:

Public Member Functions

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

Public Attributes

const ActsTrk::IActsToTrkConverterToolconverterTool {nullptr}
 

Detailed Description

Definition at line 71 of file GlobalChiSquareFitterTool.h.

Member Function Documentation

◆ operator()()

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

Definition at line 152 of file GlobalChiSquareFitterTool.cxx.

153  {
154  const auto& sl = sourceLink.get<PRDSourceLinkGX2F>();
155  const auto& trkSrf = sl.prd->detectorElement()->surface(sl.prd->identify());
156  const auto& actsSrf = converterTool->trkSurfaceToActsSurface(trkSrf);
157  return &actsSrf;
158 }

Member Data Documentation

◆ converterTool

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

Definition at line 72 of file GlobalChiSquareFitterTool.h.


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