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 ServiceHandle<ActsTrk::ITrackingGeometrySvc> m_trackingGeometrySvc{this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"};
31
33 {this, "DetectorElementsKeys", {}, "Keys of input SiDetectorElementCollection"};
34
36 {this, "ActsVolumeIdToDetectorElementCollectionMap", "ActsVolumeIdToDetectorElementCollectionMap",
37 "Map which associates Acts geometry volume IDs to detector element collections."};
38 };
39}
40#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