19#include "GaudiKernel/ISvcLocator.h"
20#include "GaudiKernel/MsgStream.h"
25 base_class(a_name,svc),
41 =
new Trk::Volume(
nullptr, std::make_shared<Trk::CylinderVolumeBounds>(1100.0, 3200.0));
43 =
new Trk::Volume(
nullptr, std::make_shared<Trk::CylinderVolumeBounds>(4250.0, 6779.0));
45 =
new Trk::Volume(
nullptr, std::make_shared<Trk::CylinderVolumeBounds>(15000.0, 21000.0));
74 ATH_MSG_INFO (
"initialize() successful: TrackingVolume '" <<
m_volumeNames[
id] <<
"' built and written to DetectorStore." );
80 return StatusCode::SUCCESS;
87 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
@ MuonSpectrometerExitLayer
Tracking Volume which defines the outer surfaces of the MS.
@ CalorimeterEntryLayer
Tracking Volume which defines the entrance srufaces of the calorimeter.
@ MuonSpectrometerEntryLayer
Tracking Volume which defines the entrance surfaces of the MS.
TrackingVolumesSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
virtual StatusCode initialize() override
Initialize Service.
virtual StatusCode finalize() override
Finalize Service.
virtual ~TrackingVolumesSvc()
Standard Destructor.
std::vector< std::string > m_volumeNames
the names of the TrackingVolumes
std::vector< const Trk::Volume * > m_volumes
ServiceHandle< StoreGateSvc > m_pDetStore
the cached volumes
Base class for all volumes inside the tracking realm, it defines the interface for inherited Volume c...