ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsGPUGeometry
src
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
7
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
8
#include "
StoreGate/WriteCondHandleKey.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "GaudiKernel/ToolHandle.h"
11
12
#include "
IDeviceDetectorDescriptionSvc.h
"
13
#include "
InDetCondTools/ISiLorentzAngleTool.h
"
14
15
#include "
AthDeviceInterfaces/IMemoryResourcesTool.h
"
16
#include "
AthDeviceInterfaces/ICopyTool.h
"
17
#include "
InDetIdentifier/PixelID.h
"
18
#include "
InDetIdentifier/SCT_ID.h
"
19
20
#include "
ActsGPUEvent/TracccDetectorConditionsDescription.h
"
21
22
#include "traccc/geometry/detector_conditions_description.hpp"
23
24
#include <string>
25
#include <vector>
26
27
namespace
ActsTrk
{
28
46
class
DeviceDetectorDescriptionCondAlg
:
public
AthCondAlgorithm
47
{
48
public
:
49
50
using
AthCondAlgorithm::AthCondAlgorithm;
51
52
virtual
StatusCode
initialize
()
override
;
53
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
54
55
private
:
56
58
ServiceHandle<ActsTrk::IDeviceDetectorDescriptionSvc>
m_detDescSvc
{
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
73
SG::WriteCondHandleKey<traccc::detector_conditions_description::host>
m_writeHostCondKey
{
74
this
,
"HostConditionsObjectName"
,
""
,
75
"Key for writing the per-IOV traccc host conditions object"
};
76
77
SG::WriteCondHandleKey<traccc::detector_conditions_description::buffer>
m_writeDeviceCondKey
{
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
AthCondAlgorithm.h
Base class for conditions algorithms.
ICopyTool.h
IDeviceDetectorDescriptionSvc.h
IMemoryResourcesTool.h
ISiLorentzAngleTool.h
PixelID.h
This is an Identifier helper class for the Pixel subdetector.
SCT_ID.h
This is an Identifier helper class for the SCT subdetector.
TracccDetectorConditionsDescription.h
WriteCondHandleKey.h
ActsTrk::DeviceDetectorDescriptionCondAlg
Conditions algorithm providing the device detector conditions description.
Definition
DeviceDetectorDescriptionCondAlg.h:47
ActsTrk::DeviceDetectorDescriptionCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
DeviceDetectorDescriptionCondAlg.cxx:33
ActsTrk::DeviceDetectorDescriptionCondAlg::m_writeHostCondKey
SG::WriteCondHandleKey< traccc::detector_conditions_description::host > m_writeHostCondKey
Definition
DeviceDetectorDescriptionCondAlg.h:73
ActsTrk::DeviceDetectorDescriptionCondAlg::m_writeDeviceCondKey
SG::WriteCondHandleKey< traccc::detector_conditions_description::buffer > m_writeDeviceCondKey
Definition
DeviceDetectorDescriptionCondAlg.h:77
ActsTrk::DeviceDetectorDescriptionCondAlg::m_pixelLorentzAngleTool
ToolHandle< ISiLorentzAngleTool > m_pixelLorentzAngleTool
Definition
DeviceDetectorDescriptionCondAlg.h:95
ActsTrk::DeviceDetectorDescriptionCondAlg::m_MRs
ToolHandle< AthDevice::IMemoryResourcesTool > m_MRs
Definition
DeviceDetectorDescriptionCondAlg.h:64
ActsTrk::DeviceDetectorDescriptionCondAlg::m_stripIdHelperName
Gaudi::Property< std::string > m_stripIdHelperName
Definition
DeviceDetectorDescriptionCondAlg.h:87
ActsTrk::DeviceDetectorDescriptionCondAlg::m_stripID
const SCT_ID * m_stripID
Definition
DeviceDetectorDescriptionCondAlg.h:84
ActsTrk::DeviceDetectorDescriptionCondAlg::m_detDescSvc
ServiceHandle< ActsTrk::IDeviceDetectorDescriptionSvc > m_detDescSvc
The service providing the static part of the detector description.
Definition
DeviceDetectorDescriptionCondAlg.h:58
ActsTrk::DeviceDetectorDescriptionCondAlg::initialize
virtual StatusCode initialize() override
Definition
DeviceDetectorDescriptionCondAlg.cxx:10
ActsTrk::DeviceDetectorDescriptionCondAlg::m_copy
ToolHandle< AthDevice::ICopyTool > m_copy
The copy tool used for copying data to device.
Definition
DeviceDetectorDescriptionCondAlg.h:70
ActsTrk::DeviceDetectorDescriptionCondAlg::m_pixelID
const PixelID * m_pixelID
Conversion helpers (to retrieve module design, hash, etc.) {.
Definition
DeviceDetectorDescriptionCondAlg.h:83
ActsTrk::DeviceDetectorDescriptionCondAlg::m_pixelIdHelperName
Gaudi::Property< std::string > m_pixelIdHelperName
Definition
DeviceDetectorDescriptionCondAlg.h:85
ActsTrk::DeviceDetectorDescriptionCondAlg::m_stripLorentzAngleTool
ToolHandle< ISiLorentzAngleTool > m_stripLorentzAngleTool
Definition
DeviceDetectorDescriptionCondAlg.h:92
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
ServiceHandle
Definition
ClusterMakerTool.h:36
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
Generated on
for ATLAS Offline Software by
1.17.0