ATLAS Offline Software
ITkActsDataPreparationConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
3 
5  *,
6  previousExtension: str = None) -> ComponentAccumulator:
8 
9  # Region of interest creation
10  from ActsConfig.ActsRegionsOfInterestConfig import ActsRegionsOfInterestCreatorAlgCfg
11  acc.merge(ActsRegionsOfInterestCreatorAlgCfg(flags,
12  name = f"{flags.Tracking.ActiveConfig.extension}RegionsOfInterestCreatorAlg"))
13 
14  # Cluster formation
15  # This includes Pixel, Strip and HGTD clusters
16  from ActsConfig.ActsClusterizationConfig import ActsClusterizationCfg
17  acc.merge(ActsClusterizationCfg(flags,
18  previousActsExtension = previousExtension))
19 
20  # Space Point Formation
21  from ActsConfig.ActsSpacePointFormationConfig import ActsSpacePointFormationCfg
22  acc.merge(ActsSpacePointFormationCfg(flags,
23  previousActsExtension = previousExtension))
24 
25  # Truth
26  # this truth must only be done if you do PRD and SpacePointformation
27  # If you only do the latter (== running on ESD) then the needed input (simdata)
28  # is not in ESD but the resulting truth (clustertruth) is already there ...
29  if flags.Tracking.doTruth:
30  from ActsConfig.ActsTruthConfig import ActsTruthAssociationAlgCfg, ActsTruthParticleHitCountAlgCfg
31  acc.merge(ActsTruthAssociationAlgCfg(flags))
32  acc.merge(ActsTruthParticleHitCountAlgCfg(flags))
33 
34  return acc
35 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ActsTruthConfig.ActsTruthParticleHitCountAlgCfg
ComponentAccumulator ActsTruthParticleHitCountAlgCfg(flags, str name='ActsTruthParticleHitCountAlg', **dict kwargs)
Definition: ActsTruthConfig.py:86
python.ITkActsDataPreparationConfig.ITkActsDataPreparationCfg
ComponentAccumulator ITkActsDataPreparationCfg(flags, *str previousExtension=None)
Definition: ITkActsDataPreparationConfig.py:4
ActsSpacePointFormationConfig.ActsSpacePointFormationCfg
ComponentAccumulator ActsSpacePointFormationCfg(flags, *previousActsExtension=None)
Definition: ActsSpacePointFormationConfig.py:285
ActsRegionsOfInterestConfig.ActsRegionsOfInterestCreatorAlgCfg
ComponentAccumulator ActsRegionsOfInterestCreatorAlgCfg(flags, str name="ActsRegionsOfInterestCreatorAlg", **kwargs)
Definition: ActsRegionsOfInterestConfig.py:33
ActsClusterizationConfig.ActsClusterizationCfg
ComponentAccumulator ActsClusterizationCfg(flags, *str previousActsExtension=None)
Definition: ActsClusterizationConfig.py:330
ActsTruthConfig.ActsTruthAssociationAlgCfg
ComponentAccumulator ActsTruthAssociationAlgCfg(flags, **dict kwargs)
Definition: ActsTruthConfig.py:108