![]() |
ATLAS Offline Software
|
This service builds and registers the TrackingGeometry in the detector store. More...
#include <TrackingGeometrySvc.h>
Public Member Functions | |
| virtual StatusCode | initialize () override |
| Initialize Service. | |
| virtual StatusCode | finalize () override |
| Finalize Service. | |
| virtual void | tagInfoUpdated () override final |
| StatusCode | trackingGeometryInit (bool needsInit=true) |
| Create the geometry. | |
| virtual const Trk::TrackingGeometry * | trackingGeometry () const override |
| Provide the TrackingGeometry. | |
| virtual const std::string & | trackingGeometryName () const override |
Private Member Functions | |
| void | trackingGeometryNotSet () const |
Private Attributes | |
| ToolHandle< Trk::IGeometryBuilder > | m_trackingGeometryBuilder {this, "GeometryBuilder", ""} |
| the actual building tool | |
| const Trk::TrackingGeometry * | m_trackingGeometry {nullptr} |
| the cached TrackingGeometry | |
| Gaudi::Property< std::string > | m_trackingGeometryName {this, "TrackingGeometryName", "AtlasTrackingGeometry"} |
| the name of the TrackingGeometry | |
| ToolHandleArray< Trk::IGeometryProcessor > | m_geometryProcessors {this, "GeometryProcessors", {}, "Tools to process geometry"} |
| processors to help | |
| Gaudi::Property< bool > | m_rerunOnCallback {this, "RerunOnCallback", false} |
| enables the callback | |
| Gaudi::Property< bool > | m_buildGeometryFromTagInfo {this, "BuildGeometryFromTagInfo", true} |
Friends | |
| class | SvcFactory< TrackingGeometrySvc > |
| Standard Constructor. | |
This service builds and registers the TrackingGeometry in the detector store.
It is called by an ordered callback after GeoModel was created.
Definition at line 44 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
overridevirtual |
Finalize Service.
Definition at line 174 of file TrkDetDescr/TrkDetDescrSvc/src/TrackingGeometrySvc.cxx.
|
overridevirtual |
Initialize Service.
Definition at line 30 of file TrkDetDescr/TrkDetDescrSvc/src/TrackingGeometrySvc.cxx.
|
finaloverridevirtual |
Implements ITagInfoMgr::Listener.
Definition at line 63 of file TrkDetDescr/TrkDetDescrSvc/src/TrackingGeometrySvc.cxx.
|
inlineoverridevirtual |
Provide the TrackingGeometry.
Returns the name of the TrackingGeometry built with this Svc
Definition at line 95 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
| StatusCode Trk::TrackingGeometrySvc::trackingGeometryInit | ( | bool | needsInit = true | ) |
Create the geometry.
Definition at line 70 of file TrkDetDescr/TrkDetDescrSvc/src/TrackingGeometrySvc.cxx.
|
inlineoverridevirtual |
Definition at line 99 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
Definition at line 167 of file TrkDetDescr/TrkDetDescrSvc/src/TrackingGeometrySvc.cxx.
|
friend |
Standard Constructor.
Definition at line 62 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
Definition at line 91 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
processors to help
Definition at line 80 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
enables the callback
Definition at line 89 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
mutableprivate |
the cached TrackingGeometry
Definition at line 75 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
the actual building tool
Definition at line 73 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
the name of the TrackingGeometry
Definition at line 78 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.