5#ifndef ACTSTRK_ACTSGEOMETRYIDTODETECTORELEMENTMAPPINGALG_H
6#define ACTSTRK_ACTSGEOMETRYIDTODETECTORELEMENTMAPPINGALG_H
23 StatusCode
execute(
const EventContext &ctx)
const override;
27 std::unordered_map<
unsigned long long,
28 unsigned int> &detector_element_to_volume_id)
const;
31 {
this,
"TrackingGeometryTool",
""};
34 {
this,
"DetectorElementsKeys", {},
"Keys of input SiDetectorElementCollection"};
37 {
this,
"ActsVolumeIdToDetectorElementCollectionMap",
"ActsVolumeIdToDetectorElementCollectionMap",
38 "Map which associates Acts geometry volume IDs to detector element collections."};
Base class for conditions algorithms.
void createDetectorElementToVolumeIdMap(const Acts::TrackingGeometry &acts_tracking_geometry, std::unordered_map< unsigned long long, unsigned int > &detector_element_to_volume_id) const
SG::ReadCondHandleKeyArray< InDetDD::SiDetectorElementCollection > m_detEleCollKeys
StatusCode execute(const EventContext &ctx) const override
PublicToolHandle< ActsTrk::ITrackingGeometryTool > m_trackingGeometryTool
virtual ~ActsVolumeIdToDetectorElementCollectionMappingAlg()
ActsVolumeIdToDetectorElementCollectionMappingAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize() override
SG::WriteCondHandleKey< ActsTrk::ActsVolumeIdToDetectorElementCollectionMap > m_volumeIdToDetectorElementCollMapKey
Base class for conditions algorithms.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
HandleKeyArray< ReadCondHandle< T >, CondHandleDefault::Key< ReadCondHandleKey< T > >, Gaudi::DataHandle::Reader > ReadCondHandleKeyArray