ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConfig
python
ActsDataPreparationConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
3
4
def
ActsDataPreparationCfg
(flags,
5
*,
6
previousExtension: str =
None
) -> ComponentAccumulator:
7
acc = ComponentAccumulator()
8
9
# Region of interest creation
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
# Cluster formation
16
# This includes Pixel, SCT clusters
17
from
ActsConfig.ActsClusterizationInDetConfig
import
ActsIDClusterizationCfg
18
acc.merge(ActsIDClusterizationCfg(flags,
19
previousActsExtension = previousExtension))
20
21
# Space Point Formation
22
from
ActsConfig.ActsSpacePointFormationInDetConfig
import
ActsIDSpacePointFormationCfg
23
acc.merge(ActsIDSpacePointFormationCfg(flags,
24
previousActsExtension = previousExtension))
25
26
# Truth
27
# this truth must only be done if you do PRD and SpacePointformation
28
# If you only do the latter (== running on ESD) then the needed input (simdata)
29
# is not in ESD but the resulting truth (clustertruth) is already there ...
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
python.ActsDataPreparationConfig.ActsDataPreparationCfg
ComponentAccumulator ActsDataPreparationCfg(flags, *, str previousExtension=None)
Definition
ActsDataPreparationConfig.py:6
Generated on
for ATLAS Offline Software by
1.17.0