![]() |
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 |
| TrackingGeometrySvc (const std::string &name, ISvcLocator *svc) | |
| Standard Destructor. | |
| virtual | ~TrackingGeometrySvc () |
| Destructor. | |
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 |
| Gaudi::Property< bool > | m_rerunOnCallback {this, "RerunOnCallback", false} |
| < processors to help | |
| 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 45 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
| Trk::TrackingGeometrySvc::TrackingGeometrySvc | ( | const std::string & | name, |
| ISvcLocator * | svc ) |
Standard Destructor.
Constructor.
Definition at line 29 of file TrkDetDescr/TrkDetDescrSvc/src/TrackingGeometrySvc.cxx.
|
virtualdefault |
Destructor.
|
overridevirtual |
Finalize Service.
Definition at line 186 of file TrkDetDescr/TrkDetDescrSvc/src/TrackingGeometrySvc.cxx.
|
overridevirtual |
Initialize Service.
Definition at line 42 of file TrkDetDescr/TrkDetDescrSvc/src/TrackingGeometrySvc.cxx.
|
finaloverridevirtual |
Implements ITagInfoMgr::Listener.
Definition at line 75 of file TrkDetDescr/TrkDetDescrSvc/src/TrackingGeometrySvc.cxx.
|
inlineoverridevirtual |
Provide the TrackingGeometry.
Returns the name of the TrackingGeometry built with this Svc
Definition at line 99 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
| StatusCode Trk::TrackingGeometrySvc::trackingGeometryInit | ( | bool | needsInit = true | ) |
Create the geometry.
Definition at line 82 of file TrkDetDescr/TrkDetDescrSvc/src/TrackingGeometrySvc.cxx.
|
inlineoverridevirtual |
Definition at line 103 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
Definition at line 179 of file TrkDetDescr/TrkDetDescrSvc/src/TrackingGeometrySvc.cxx.
|
friend |
Standard Constructor.
Definition at line 63 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
Definition at line 95 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
Definition at line 84 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
< processors to help
enables the callback
Definition at line 93 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
mutableprivate |
the cached TrackingGeometry
Definition at line 79 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
the actual building tool
Definition at line 77 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.
|
private |
the name of the TrackingGeometry
Definition at line 82 of file TrkDetDescr/TrkDetDescrSvc/TrkDetDescrSvc/TrackingGeometrySvc.h.