|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKDETDESCRINTERFACES_TRACKINGVOLUMESSERVICE_H
10 #define TRKDETDESCRINTERFACES_TRACKINGVOLUMESSERVICE_H
14 #include "GaudiKernel/ToolHandle.h"
15 #include "GaudiKernel/ServiceHandle.h"
47 virtual const Trk::Volume&
volume(
const TrackingVolumeIdentifier& volumeId)
const override;
50 virtual const std::string&
volumeName(
const TrackingVolumeIdentifier& volumeId)
const override;
75 {
return m_volumeNames[volumeId]; }
TrackingVolumesSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
std::vector< std::string > m_volumeNames
the names of the TrackingVolumes
virtual StatusCode finalize() override
Finalize Service.
virtual const Trk::Volume & volume(const TrackingVolumeIdentifier &volumeId) const override
Provide the TrackingVolumes.
std::vector< const Trk::Volume * > m_volumes
The Athena Transient Store API.
TrackingVolumeIdentifier
Enum to identify the various "volumes" which exist.
virtual StatusCode initialize() override
Initialize Service.
::StatusCode StatusCode
StatusCode definition for legacy code.
AthROOTErrorHandlerSvc * svc
Ensure that the ATLAS eigen extensions are properly loaded.
virtual ~TrackingVolumesSvc()
Standard Destructor.
virtual const std::string & volumeName(const TrackingVolumeIdentifier &volumeId) const override
Returns the name of the TrackingVolumes built with this Svc.
ServiceHandle< StoreGateSvc > m_pDetStore
the cached volumes
defines and typedefs for IOVSvc