ATLAS Offline Software
IActsTrackingGeometryTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ACTSGEOMETRYINTERFACES_IACTSTRACKINGGEOMETRYTOOL_H
6 #define ACTSGEOMETRYINTERFACES_IACTSTRACKINGGEOMETRYTOOL_H
7 
10 #include "GaudiKernel/EventContext.h"
11 #include "GaudiKernel/IAlgTool.h"
12 #include "GaudiKernel/IInterface.h"
13 
14 namespace Acts {
15  class TrackingGeometry;
16 }
17 
18 class IActsTrackingGeometryTool : virtual public IAlgTool {
19 public:
21 
22  virtual std::shared_ptr<const Acts::TrackingGeometry> trackingGeometry() const = 0;
23 
25  virtual const ActsGeometryContext& getGeometryContext(const EventContext& ctx) const = 0;
27  virtual const ActsGeometryContext& getGeometryContext() const = 0;
28 
31  virtual const ActsGeometryContext& getNominalGeometryContext() const = 0;
32 };
33 
34 #endif
IActsTrackingGeometryTool::getNominalGeometryContext
virtual const ActsGeometryContext & getNominalGeometryContext() const =0
Returns the refrence to the nominal ActsGeometryContext.
ActsGeometryContext.h
IActsTrackingGeometryTool::getGeometryContext
virtual const ActsGeometryContext & getGeometryContext() const =0
Method without explicitly piping the event context.
IActsTrackingGeometryTool
Definition: IActsTrackingGeometryTool.h:18
IActsTrackingGeometryTool::trackingGeometry
virtual std::shared_ptr< const Acts::TrackingGeometry > trackingGeometry() const =0
IActsTrackingGeometryTool::getGeometryContext
virtual const ActsGeometryContext & getGeometryContext(const EventContext &ctx) const =0
Return the ActsGeometryContext for the current event with the cached alignment constants.
IActsTrackingGeometryTool::DeclareInterfaceID
DeclareInterfaceID(IActsTrackingGeometryTool, 1, 0)
Acts
Definition: ChamberAssembleTool.h:18
AthAlgTool.h
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:27