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

Functions

ComponentAccumulator ActsDataPreparationCfg (flags, *, str previousExtension=None)

Function Documentation

◆ ActsDataPreparationCfg()

ComponentAccumulator python.ActsDataPreparationConfig.ActsDataPreparationCfg ( flags,
* ,
str previousExtension = None )

Definition at line 4 of file ActsDataPreparationConfig.py.

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