ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloTrackingGeometry
python
Calorimeter/CaloTrackingGeometry/python/CaloTrackingGeometryConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
# Configuration of CaloTrackingGeometry package
3
from
AthenaConfiguration.ComponentFactory
import
CompFactory
4
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
5
6
def
CaloDepthEntranceCfg
(flags, name="CaloDepthTool", **kwargs):
7
acc = ComponentAccumulator()
8
acc.setPrivateTools(CompFactory.CaloDepthTool(name, **kwargs))
9
return
acc
10
11
def
CaloSurfaceBuilderEntranceCfg
(flags, name="CaloSurfaceBuilderEntrance", **kwargs):
12
acc = ComponentAccumulator()
13
kwargs.setdefault(
"CaloDepthTool"
, acc.popToolsAndMerge(
14
CaloDepthEntranceCfg
(flags, name =
"CaloDepthToolEntrance"
,
15
DepthChoice =
"entrance"
)))
16
acc.setPrivateTools( CompFactory.CaloSurfaceBuilder(name, **kwargs) )
17
return
acc
18
19
def
CaloSurfaceBuilderMiddleCfg
(flags, name="CaloSurfaceBuilderMiddle", **kwargs):
20
acc = ComponentAccumulator()
21
kwargs.setdefault(
"CaloDepthTool"
, acc.popToolsAndMerge(
22
CaloDepthEntranceCfg
(flags, name =
"CaloDepthToolMiddle"
,
23
DepthChoice =
"middle"
)))
24
acc.setPrivateTools( CompFactory.CaloSurfaceBuilder(name, **kwargs) )
25
return
acc
CaloTrackingGeometryConfig.CaloDepthEntranceCfg
CaloDepthEntranceCfg(flags, name="CaloDepthTool", **kwargs)
Definition
Calorimeter/CaloTrackingGeometry/python/CaloTrackingGeometryConfig.py:6
CaloTrackingGeometryConfig.CaloSurfaceBuilderEntranceCfg
CaloSurfaceBuilderEntranceCfg(flags, name="CaloSurfaceBuilderEntrance", **kwargs)
Definition
Calorimeter/CaloTrackingGeometry/python/CaloTrackingGeometryConfig.py:11
CaloTrackingGeometryConfig.CaloSurfaceBuilderMiddleCfg
CaloSurfaceBuilderMiddleCfg(flags, name="CaloSurfaceBuilderMiddle", **kwargs)
Definition
Calorimeter/CaloTrackingGeometry/python/CaloTrackingGeometryConfig.py:19
Generated on
for ATLAS Offline Software by
1.17.0