ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConfig
python
InDetPoolReadConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
4
5
def
InDetPoolReadCfg
(flags) -> ComponentAccumulator:
6
acc = ComponentAccumulator()
7
8
from
AthenaPoolCnvSvc.PoolReadConfig
import
PoolReadCfg
9
acc.merge(PoolReadCfg(flags))
10
11
# Schedule reader algorithms for xAOD::SpacePoint collections
12
from
InDetConfig.InDetMeasurementsUtilitiesConfig
import
xAODSpacePointReaderAlgCfg
13
typedCollections = flags.Input.TypedCollections
14
for
typedCollection
in
typedCollections:
15
[colType, colName] = typedCollection.split(
'#'
)
16
17
# Space Point Collections
18
if
colType ==
"xAOD::SpacePointContainer"
:
19
acc.merge(xAODSpacePointReaderAlgCfg(flags,
20
name=f
"{colName}ReaderAlg"
,
21
SpacePointKey=colName))
22
continue
23
24
return
acc
python.InDetPoolReadConfig.InDetPoolReadCfg
ComponentAccumulator InDetPoolReadCfg(flags)
Definition
InDetPoolReadConfig.py:5
Generated on
for ATLAS Offline Software by
1.17.0