ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::IGeometryRealmConvTool Class Referenceabstract

Interface for the conversion tool to translate the surface and track parameter objects between the Acts & the ATLAS Trk realm. More...

#include <IGeometryRealmConvTool.h>

Inheritance diagram for ActsTrk::IGeometryRealmConvTool:
Collaboration diagram for ActsTrk::IGeometryRealmConvTool:

Public Types

using SurfacePtr_t = Trk::SurfaceUniquePtrT<const Trk::Surface>
 Abrivation of the surface pointer with memory management for free surfaces not associated with a Trk::DetElementBase.

Public Member Functions

 DeclareInterfaceID (IGeometryRealmConvTool, 1, 0)
virtual SurfacePtr_t convertSurfaceToTrk (const EventContext &ctx, const Acts::Surface &actsSurface) const =0
 Translates the parsed Acts surface into a Trk::Surface via associated detector element.
virtual std::shared_ptr< const Acts::Surface > convertSurfaceToActs (const Trk::Surface &atlasSurface) const =0
 Translate the parsed Trk surface into an Acts surface.
virtual Acts::BoundTrackParameters convertTrackParametersToActs (const EventContext &ctx, const Trk::TrackParameters &atlasParameter, Trk::ParticleHypothesis hypothesis=Trk::pion) const =0
 Translates the Trk track parameters into bound Acts track parameters with a particle hypothesis.
virtual std::unique_ptr< Trk::TrackParametersconvertTrackParametersToTrk (const EventContext &ctx, const Acts::BoundTrackParameters &actsParameters) const =0
 Translates the bounded Acts track parameters to Trk parameters.

Detailed Description

Interface for the conversion tool to translate the surface and track parameter objects between the Acts & the ATLAS Trk realm.

Surfaces associated with readout planes are taken from the corresponding tracking geometries Acts portal surfaces and other free surfaces are translated as free trk surfaces. Analogously, free Trk surfaces are translated to a free Acts surface.

Definition at line 33 of file IGeometryRealmConvTool.h.

Member Typedef Documentation

◆ SurfacePtr_t

Abrivation of the surface pointer with memory management for free surfaces not associated with a Trk::DetElementBase.

Definition at line 38 of file IGeometryRealmConvTool.h.

Member Function Documentation

◆ convertSurfaceToActs()

virtual std::shared_ptr< const Acts::Surface > ActsTrk::IGeometryRealmConvTool::convertSurfaceToActs ( const Trk::Surface & atlasSurface) const
pure virtual

Translate the parsed Trk surface into an Acts surface.

The detector element identifier of the surface needs to be filled into the internal tool's look-up map. Otherwise an exception is thrown.

Parameters
atlasSurfaceRefrence to the Trk surface to translate

◆ convertSurfaceToTrk()

virtual SurfacePtr_t ActsTrk::IGeometryRealmConvTool::convertSurfaceToTrk ( const EventContext & ctx,
const Acts::Surface & actsSurface ) const
pure virtual

Translates the parsed Acts surface into a Trk::Surface via associated detector element.

For the ID measurements a direct link is provided and for the muon measurements the look-up is performed via the associated Identifier and the detector manager. Other surfaces trigger the creation of new free Trk surfaces

Parameters
ctxThe current event context
actsSurfaceRefrence to the acts surface to translate

◆ convertTrackParametersToActs()

virtual Acts::BoundTrackParameters ActsTrk::IGeometryRealmConvTool::convertTrackParametersToActs ( const EventContext & ctx,
const Trk::TrackParameters & atlasParameter,
Trk::ParticleHypothesis hypothesis = Trk::pion ) const
pure virtual

Translates the Trk track parameters into bound Acts track parameters with a particle hypothesis.

Parameters
atlasParameterThe Trk parameters to translate.
gctsGeometry context needed for special treatment of the annulus bounds
hypothesisTrack hypothesis to use

◆ convertTrackParametersToTrk()

virtual std::unique_ptr< Trk::TrackParameters > ActsTrk::IGeometryRealmConvTool::convertTrackParametersToTrk ( const EventContext & ctx,
const Acts::BoundTrackParameters & actsParameters ) const
pure virtual

Translates the bounded Acts track parameters to Trk parameters.

The bound parameter surface must be translatble by the tool

Parameters
ctxEventContext
actsParameterRefrence to the bounded parameters to translate

◆ DeclareInterfaceID()

ActsTrk::IGeometryRealmConvTool::DeclareInterfaceID ( IGeometryRealmConvTool ,
1 ,
0  )

The documentation for this class was generated from the following file: