ATLAS Offline Software
Loading...
Searching...
No Matches
IGeometryRealmConvTool.h
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4*/
5
6#ifndef ACTSGEOMETRYINTERFACES_IGeometryRealmConvTool_H
7#define ACTSGEOMETRYINTERFACES_IGeometryRealmConvTool_H
8
10#include "GaudiKernel/IInterface.h"
11#include "GaudiKernel/IAlgTool.h"
12
13
16#include "TrkSurfaces/Surface.h"
18
19#include <memory>
20
21namespace Acts{
22 class Surface;
23 class BoundTrackParameters;
24}
25
26namespace ActsTrk{
33 class IGeometryRealmConvTool : virtual public IAlgTool {
34 public:
45 virtual SurfacePtr_t convertSurfaceToTrk(const EventContext& ctx,
46 const Acts::Surface& actsSurface) const = 0;
51 virtual std::shared_ptr<const Acts::Surface> convertSurfaceToActs(const Trk::Surface& atlasSurface) const = 0;
56 virtual Acts::BoundTrackParameters
57 convertTrackParametersToActs(const EventContext& ctx,
58 const Trk::TrackParameters& atlasParameter,
59 Trk::ParticleHypothesis hypothesis = Trk::pion) const = 0;
64 virtual std::unique_ptr<Trk::TrackParameters>
65 convertTrackParametersToTrk(const EventContext& ctx,
66 const Acts::BoundTrackParameters& actsParameters) const = 0;
67 };
68}
69#endif
Handle conditional ownership of surfaces.
Interface for the conversion tool to translate the surface and track parameter objects between the Ac...
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.
DeclareInterfaceID(IGeometryRealmConvTool, 1, 0)
virtual std::unique_ptr< Trk::TrackParameters > convertTrackParametersToTrk(const EventContext &ctx, const Acts::BoundTrackParameters &actsParameters) const =0
Translates the bounded Acts track parameters to Trk parameters.
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.
Trk::SurfaceUniquePtrT< const Trk::Surface > SurfacePtr_t
Abrivation of the surface pointer with memory management for free surfaces not associated with a Trk:...
Abstract Base Class for tracking surfaces.
Definition Surface.h:79
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.
ParametersBase< TrackParametersDim, Charged > TrackParameters
std::unique_ptr< S, SurfaceDeleter< S > > SurfaceUniquePtrT