ATLAS Offline Software
Loading...
Searching...
No Matches
ActsVolumeIdToDetectorElementCollectionMappingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ACTSTRK_ACTSGEOMETRYIDTODETECTORELEMENTMAPPINGALG_H
6#define ACTSTRK_ACTSGEOMETRYIDTODETECTORELEMENTMAPPINGALG_H
7
11
15
16namespace ActsTrk {
18 public:
19 ActsVolumeIdToDetectorElementCollectionMappingAlg(const std::string &name, ISvcLocator *pSvcLocator);
21
22 StatusCode initialize() override;
23 StatusCode execute(const EventContext &ctx) const override;
24
25 private:
26 void createDetectorElementToVolumeIdMap(const Acts::TrackingGeometry &acts_tracking_geometry,
27 std::unordered_map<unsigned long long,
28 unsigned int> &detector_element_to_volume_id) const;
29
30 PublicToolHandle<ActsTrk::ITrackingGeometryTool> m_trackingGeometryTool
31 {this, "TrackingGeometryTool", ""};
32
34 {this, "DetectorElementsKeys", {}, "Keys of input SiDetectorElementCollection"};
35
37 {this, "ActsVolumeIdToDetectorElementCollectionMap", "ActsVolumeIdToDetectorElementCollectionMap",
38 "Map which associates Acts geometry volume IDs to detector element collections."};
39 };
40}
41#endif
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
ActsVolumeIdToDetectorElementCollectionMappingAlg(const std::string &name, ISvcLocator *pSvcLocator)
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