ATLAS Offline Software
Loading...
Searching...
No Matches
python.InDetPoolReadConfig Namespace Reference

Functions

ComponentAccumulator InDetPoolReadCfg (flags)

Function Documentation

◆ InDetPoolReadCfg()

ComponentAccumulator python.InDetPoolReadConfig.InDetPoolReadCfg ( flags)

Definition at line 5 of file InDetPoolReadConfig.py.

5def 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