ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsGeometryInterfaces
ActsGeometryInterfaces
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
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "GaudiKernel/IInterface.h"
11
#include "GaudiKernel/IAlgTool.h"
12
13
14
#include "
TrkEventPrimitives/SurfaceUniquePtrT.h
"
15
#include "
TrkEventPrimitives/ParticleHypothesis.h
"
16
#include "
TrkSurfaces/Surface.h
"
17
#include "
TrkParameters/TrackParameters.h
"
18
19
#include <memory>
20
21
namespace
Acts
{
22
class
Surface;
23
class
BoundTrackParameters;
24
}
25
26
namespace
ActsTrk
{
33
class
IGeometryRealmConvTool
:
virtual
public
IAlgTool {
34
public
:
35
DeclareInterfaceID
(
IGeometryRealmConvTool
, 1, 0);
38
using
SurfacePtr_t
=
Trk::SurfaceUniquePtrT<const Trk::Surface>
;
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
AthAlgTool.h
ParticleHypothesis.h
SurfaceUniquePtrT.h
Handle conditional ownership of surfaces.
Surface.h
TrackParameters.h
ActsTrk::IGeometryRealmConvTool
Interface for the conversion tool to translate the surface and track parameter objects between the Ac...
Definition
IGeometryRealmConvTool.h:33
ActsTrk::IGeometryRealmConvTool::convertTrackParametersToActs
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.
ActsTrk::IGeometryRealmConvTool::DeclareInterfaceID
DeclareInterfaceID(IGeometryRealmConvTool, 1, 0)
ActsTrk::IGeometryRealmConvTool::convertTrackParametersToTrk
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.
ActsTrk::IGeometryRealmConvTool::convertSurfaceToTrk
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.
ActsTrk::IGeometryRealmConvTool::convertSurfaceToActs
virtual std::shared_ptr< const Acts::Surface > convertSurfaceToActs(const Trk::Surface &atlasSurface) const =0
Translate the parsed Trk surface into an Acts surface.
ActsTrk::IGeometryRealmConvTool::SurfacePtr_t
Trk::SurfaceUniquePtrT< const Trk::Surface > SurfacePtr_t
Abrivation of the surface pointer with memory management for free surfaces not associated with a Trk:...
Definition
IGeometryRealmConvTool.h:38
Trk::Surface
Abstract Base Class for tracking surfaces.
Definition
Surface.h:79
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
Acts
This class is not to needed in AthSimulation.
Definition
MuonSpectrometer/MuonPhaseII/Event/xAOD/xAODMuonPrepData/xAODMuonPrepData/UtilFunctions.h:23
Trk::ParticleHypothesis
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.
Definition
ParticleHypothesis.h:28
Trk::pion
@ pion
Definition
ParticleHypothesis.h:32
Trk::TrackParameters
ParametersBase< TrackParametersDim, Charged > TrackParameters
Definition
Tracking/TrkEvent/TrkParameters/TrkParameters/TrackParameters.h:27
Trk::SurfaceUniquePtrT
std::unique_ptr< S, SurfaceDeleter< S > > SurfaceUniquePtrT
Definition
SurfaceUniquePtrT.h:32
Generated on
for ATLAS Offline Software by
1.17.0