6 previousExtension: str = None) -> ComponentAccumulator:
7 acc = ComponentAccumulator()
8
9
10 from ActsConfig.ActsRegionsOfInterestConfig import ActsInDetRegionsOfInterestCreatorAlgCfg
11 acc.merge(ActsInDetRegionsOfInterestCreatorAlgCfg(flags,
12 name = f"{flags.Tracking.ActiveConfig.extension}RegionsOfInterestCreatorAlg",
13 RoIs = f"{flags.Tracking.ActiveConfig.extension}RegionOfInterest"))
14
15
16
17 from ActsConfig.ActsClusterizationInDetConfig import ActsIDClusterizationCfg
18 acc.merge(ActsIDClusterizationCfg(flags,
19 previousActsExtension = previousExtension))
20
21
22 from ActsConfig.ActsSpacePointFormationInDetConfig import ActsIDSpacePointFormationCfg
23 acc.merge(ActsIDSpacePointFormationCfg(flags,
24 previousActsExtension = previousExtension))
25
26
27
28
29
30 if flags.Tracking.doTruth:
31 from ActsConfig.ActsTruthConfig import ActsTruthAssociationAlgCfg, ActsInDetTruthParticleHitCountAlgCfg
32 acc.merge(ActsTruthAssociationAlgCfg(flags))
33 acc.merge(ActsInDetTruthParticleHitCountAlgCfg(flags))
34
35 return acc
36