ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaConfiguration
python
TestDriveDummies.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
"""Module with dummy Configurable classes for testing"""
4
5
from
GaudiConfig2._configurables
import
makeConfigurableClass
6
from
GaudiKernel.GaudiHandles
import
PrivateToolHandleArray,PrivateToolHandle
7
8
9
dummyService = makeConfigurableClass(
10
"dummyService"
,
11
__module__ = __name__,
12
__cpp_type__ =
"dummyService"
,
13
__component_type__ =
"Service"
,
14
properties = {
15
"AString"
: (
"std::string"
,
""
),
16
"AList"
: (
"std::vector<std::string>"
, [],
"my list"
,
"OrderedSet<std::string>"
),
17
"OneTool"
: (
"PrivateToolHandle"
, PrivateToolHandle()),
18
"SomeTools"
: (
"PrivateToolHandleArray"
, PrivateToolHandleArray([])),
19
}
20
)
21
22
dummyTool = makeConfigurableClass(
23
"dummyTool"
,
24
__module__ = __name__,
25
__cpp_type__ =
"dummyTool"
,
26
__component_type__ =
"AlgTool"
,
27
properties = {
28
"BString"
: (
"std::string"
,
""
),
29
"BList"
: (
"std::vector<std::string>"
, [],
"my list"
,
"OrderedSet<std::string>"
),
30
}
31
)
Generated on
for ATLAS Offline Software by
1.17.0