ATLAS Offline Software
IGeometryBuilderCond.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IGeometryBuilderCond.hm (c) ATLAS Detector software
8 
9 #ifndef TRKDETDESCRINTERFACES_IGEOMETRYBUILDERCOND_H
10 #define TRKDETDESCRINTERFACES_IGEOMETRYBUILDERCOND_H
11 
12 // Gaudi
13 #include "GaudiKernel/EventContext.h"
14 #include "GaudiKernel/IAlgTool.h"
15 // Trk - enum
17 #include "TrkSurfaces/Surface.h"
19 
20 // STL
21 #include <vector>
22 
24 
25 class EventIDRange;
26 namespace Trk {
27 
28 class TrackingGeometry;
29 class TrackingVolume;
30 class Layer;
31 
44 class IGeometryBuilderCond : virtual public IAlgTool
45 {
46 
47 public:
50 
52  virtual ~IGeometryBuilderCond() {}
53 
59  virtual std::unique_ptr<TrackingGeometry> trackingGeometry(
60  const EventContext& ctx,
61  Trk::TrackingVolume* tVol,
62  SG::WriteCondHandle<TrackingGeometry>& whandle) const = 0;
63 
65  virtual GeometrySignature geometrySignature() const = 0;
66 };
67 
68 } // end of namespace
69 
70 #endif // TRKDETDESCRINTERFACES_IGEOMETRYBUILDERCOND_H
71 
Trk::IGeometryBuilderCond::geometrySignature
virtual GeometrySignature geometrySignature() const =0
The unique signature.
GeometrySignature.h
Surface.h
GeometrySignature
python.RingerConstants.Layer
Layer
Definition: RingerConstants.py:42
WriteCondHandle.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::IGeometryBuilderCond
Definition: IGeometryBuilderCond.h:45
Trk::IGeometryBuilderCond::trackingGeometry
virtual std::unique_ptr< TrackingGeometry > trackingGeometry(const EventContext &ctx, Trk::TrackingVolume *tVol, SG::WriteCondHandle< TrackingGeometry > &whandle) const =0
TrackingGeometry Interface methode -.
Trk::IGeometryBuilderCond::DeclareInterfaceID
DeclareInterfaceID(IGeometryBuilderCond, 1, 0)
Creates the InterfaceID and interfaceID() method.
checker_macros.h
Define macros for attributes used to control the static checker.
Trk::TrackingVolume
Definition: TrackingVolume.h:121
SG::WriteCondHandle
Definition: WriteCondHandle.h:26
Trk::IGeometryBuilderCond::~IGeometryBuilderCond
virtual ~IGeometryBuilderCond()
Virtual destructor.
Definition: IGeometryBuilderCond.h:52