ATLAS Offline Software
Loading...
Searching...
No Matches
DeviceDetectorDescriptionCondAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef ACTSGPUGEOMETRY_DEVICEDETECTORDESCRIPTIONCONDALG_H
5#define ACTSGPUGEOMETRY_DEVICEDETECTORDESCRIPTIONCONDALG_H
6
9#include "GaudiKernel/ServiceHandle.h"
10#include "GaudiKernel/ToolHandle.h"
11
14
19
21
22#include "traccc/geometry/detector_conditions_description.hpp"
23
24#include <string>
25#include <vector>
26
27namespace ActsTrk {
28
47{
48public:
49
50 using AthCondAlgorithm::AthCondAlgorithm;
51
52 virtual StatusCode initialize() override;
53 virtual StatusCode execute(const EventContext& ctx) const override;
54
55private:
56
59 this, "DeviceDetectorDescriptionSvc", "",
60 "Service building the static device detector description"};
61
64 ToolHandle<AthDevice::IMemoryResourcesTool> m_MRs{
65 this, "MemoryResourcesTool", "",
66 "The memory resources tool to use for allocating memory on the device"};
67
68
70 ToolHandle<AthDevice::ICopyTool> m_copy{
71 this, "CopyProviderTool", "", "Vecmem copy provider tool"};
72
74 this, "HostConditionsObjectName", "",
75 "Key for writing the per-IOV traccc host conditions object"};
76
78 this, "DeviceConditionsObjectName", "",
79 "Key for writing the per-IOV traccc device conditions object"};
80
83 const PixelID* m_pixelID{nullptr};
84 const SCT_ID* m_stripID{nullptr};
85 Gaudi::Property<std::string> m_pixelIdHelperName {this, "PixelIDHelperName", "PixelID",
86 "Pixel-like ID helper name to retrieve from DetectorStore"};
87 Gaudi::Property<std::string> m_stripIdHelperName{this, "StripIDHelperName", "SCT_ID",
88 "Strip-like ID helper name to retrieve from DetectorStore"};
89
91
92 ToolHandle<ISiLorentzAngleTool> m_stripLorentzAngleTool{
93 this, "StripLorentzAngleTool", "SiLorentzAngleTool",
94 "Tool to retrieve Lorentz angle"};
95 ToolHandle<ISiLorentzAngleTool> m_pixelLorentzAngleTool{
96 this, "PixelLorentzAngleTool", "",
97 "Tool to retreive Lorentz angle of Pixel"};
98
99};
100
101} // namespace ActsTrk
102
103#endif // ACTSGPUGEOMETRY_DEVICEDETECTORDESCRIPTIONCONDALG_H
Base class for conditions algorithms.
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
Conditions algorithm providing the device detector conditions description.
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteCondHandleKey< traccc::detector_conditions_description::host > m_writeHostCondKey
SG::WriteCondHandleKey< traccc::detector_conditions_description::buffer > m_writeDeviceCondKey
ToolHandle< AthDevice::IMemoryResourcesTool > m_MRs
ServiceHandle< ActsTrk::IDeviceDetectorDescriptionSvc > m_detDescSvc
The service providing the static part of the detector description.
ToolHandle< AthDevice::ICopyTool > m_copy
The copy tool used for copying data to device.
const PixelID * m_pixelID
Conversion helpers (to retrieve module design, hash, etc.) {.
Base class for conditions algorithms.
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:69
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...