ATLAS Offline Software
ActsCIFlags.py
Go to the documentation of this file.
1 
2 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 # Flags used in CI tests
4 
5 from TrkConfig.TrkConfigFlags import TrackingComponent
6 
7 def actsAloneWorkflowFlags(flags) -> None:
8  """flags for Reco_tf with CA used in unit test: schedule a pure ACTS workflow to reco sequence"""
9  flags.Reco.EnableHGTDExtension = False
10  flags.Acts.doAmbiguityResolution = True
11  flags.Tracking.recoChain = [TrackingComponent.ActsChain]
12 
13 
14 def actsAloneFastWorkflowFlags(flags) -> None:
15  """flags for Reco_tf with CA used in unit test: schedule a pure ACTS workflow to reco sequence"""
16  flags.Reco.EnableHGTDExtension = False
17  flags.Acts.doAmbiguityResolution = True
18  flags.Tracking.doITkFastTracking = True
19  flags.Tracking.recoChain = [TrackingComponent.ActsFastChain]
20 
21 
23  """flags for Reco_tf with CA used in unit test: schedule a pure ACTS workflow to reco sequence"""
24  from ActsConfig.ActsConfigFlags import AmbiguitySolverStrategy
25  flags.Reco.EnableHGTDExtension = False
26  flags.Acts.doAmbiguityResolution = True
27  flags.Tracking.recoChain = [TrackingComponent.ActsChain]
28  flags.Acts.AmbiguitySolverStrategy = AmbiguitySolverStrategy.ScoreBased
29 
30 def actsHeavyIonFlags(flags) -> None:
31  flags.Tracking.recoChain = [TrackingComponent.ActsHeavyIon]
32  flags.Acts.doAmbiguityResolution = False
33  flags.DQ.useTrigger = False
34  flags.Acts.doAnalysis = True
35  flags.Output.HISTFileName = "ActsMonitoringOutput.root"
36 
37 def actsWorkflowFlags(flags) -> None:
38  """flags for Reco_tf with CA used in CI tests: add Acts workflow to reco sequence"""
39  flags.DQ.useTrigger = False
40  flags.Acts.doAnalysis = True
41  flags.Acts.doMonitoring = True
42  flags.Acts.doAmbiguityResolution = True
43  flags.Tracking.recoChain = [TrackingComponent.AthenaChain,
44  TrackingComponent.ActsChain]
45  flags.Acts.EDM.PersistifyTrackParticles = True
46  flags.Output.HISTFileName = "ActsMonitoringOutput.root"
47 
48 def actsValidateClustersFlags(flags) -> None:
49  """flags for Reco_tf with CA used in CI tests: use cluster conversion [xAOD -> InDet] with both Athena and Acts sequences"""
50  flags.Tracking.recoChain = [TrackingComponent.ActsValidateClusters]
51 
52 def actsValidateSpacePointsFlags(flags) -> None:
53  """flags for Reco_tf with CA used in CI tests: use for validating Athena-based space point formation"""
54  flags.Tracking.recoChain = [TrackingComponent.ActsValidateSpacePoints]
55 
57  """flags for Reco_tf with CA used in CI tests: use for validating ACTS-based space point formation"""
58  from ActsConfig.ActsConfigFlags import SpacePointStrategy
59  flags.Acts.SpacePointStrategy = SpacePointStrategy.ActsCore
61 
62 def actsValidateSeedsFlags(flags) -> None:
63  """flags for Reco_tf with CA used in CI tests: use SiSpacePointSeedMaker tool during reconstruction"""
64  flags.Tracking.recoChain = [TrackingComponent.ActsValidateSeeds]
65  flags.Tracking.writeSeedValNtuple = True
66 
68  """flags for Reco_tf with CA used in CI tests: use SiSpacePointSeedMaker tool during reconstruction"""
69  flags.Tracking.recoChain = [TrackingComponent.AthenaChain,
70  TrackingComponent.ActsValidateConversionSeeds]
71  flags.Tracking.writeSeedValNtuple = True
72 
74  """flags for Reco_tf with CA used in CI tests: use SiSpacePointSeedMaker tool during reconstruction"""
75  flags.Tracking.recoChain = [TrackingComponent.AthenaChain,
76  TrackingComponent.ActsValidateLargeRadiusSeeds]
77  flags.Tracking.writeSeedValNtuple = True
78 
80  """flags for Reco_tf with CA used in CI tests: use SiSpacePointSeedMaker tool during reconstruction (orthogonal seeding)"""
81  from ActsConfig.ActsConfigFlags import SeedingStrategy
82  flags.Acts.SeedingStrategy = SeedingStrategy.Orthogonal
84 
85 def actsValidateGbtsSeedsFlags(flags) -> None:
86  """flags for Reco_tf with CA used in CI tests: use SiSpacePointSeedMaker tool during reconstruction (GBTS seeding)"""
87  from ActsConfig.ActsConfigFlags import SeedingStrategy
88  flags.Acts.SeedingStrategy = SeedingStrategy.Gbts
90 
91 def actsValidateTracksFlags(flags) -> None:
92  """flags for Reco_tf with CA used in CI tests: use ActsTrackFinding during reconstruction"""
93  flags.Acts.doAmbiguityResolution = False
94  flags.Tracking.recoChain = [TrackingComponent.ActsValidateTracks]
95 
97  """flags for Reco_tf with CA used in CI tests: use ActsTrackFinding during reconstruction with ambi. resolution"""
99  flags.Acts.doAmbiguityResolution = True
100 
102  """flags for Reco_tf with CA used in CI tests: use Acts Ambiguity Resolution after Athena reconstruction"""
103  flags.Reco.EnableHGTDExtension = False
104  flags.Tracking.recoChain = [TrackingComponent.ActsValidateAmbiguityResolution]
105 
106 def actsValidateGSFFlags(flags) -> None:
107  """flags for Reco_tf with CA used in CI tests: use GaussianSumFitter"""
108  from ActsConfig.ActsConfigFlags import TrackFitterType
109  flags.Acts.trackFitterType = TrackFitterType.GaussianSumFitter
110 
111 def actsValidateGX2FFlags(flags) -> None:
112  """flags for Reco_tf with CA used in CI tests: use GlobalChiSquareFitter"""
113  from ActsConfig.ActsConfigFlags import TrackFitterType
114  flags.Acts.trackFitterType = TrackFitterType.GlobalChiSquareFitter
ActsCIFlags.actsWorkflowFlags
None actsWorkflowFlags(flags)
Definition: ActsCIFlags.py:37
ActsCIFlags.actsValidateSpacePointsFlags
None actsValidateSpacePointsFlags(flags)
Definition: ActsCIFlags.py:52
ActsCIFlags.actsValidateOrthogonalSeedsFlags
None actsValidateOrthogonalSeedsFlags(flags)
Definition: ActsCIFlags.py:79
ActsCIFlags.actsAloneFastWorkflowFlags
None actsAloneFastWorkflowFlags(flags)
Definition: ActsCIFlags.py:14
ActsCIFlags.actsHeavyIonFlags
None actsHeavyIonFlags(flags)
Definition: ActsCIFlags.py:30
ActsCIFlags.actsAloneScoreBasedAmbiguityWorkflowFlags
None actsAloneScoreBasedAmbiguityWorkflowFlags(flags)
Definition: ActsCIFlags.py:22
ActsCIFlags.actsValidateGX2FFlags
None actsValidateGX2FFlags(flags)
Definition: ActsCIFlags.py:111
ActsCIFlags.actsValidateLargeRadiusSeedsFlags
None actsValidateLargeRadiusSeedsFlags(flags)
Definition: ActsCIFlags.py:73
ActsCIFlags.actsValidateResolvedTracksFlags
None actsValidateResolvedTracksFlags(flags)
Definition: ActsCIFlags.py:96
ActsCIFlags.actsValidateGbtsSeedsFlags
None actsValidateGbtsSeedsFlags(flags)
Definition: ActsCIFlags.py:85
ActsCIFlags.actsAloneWorkflowFlags
None actsAloneWorkflowFlags(flags)
Definition: ActsCIFlags.py:7
ActsCIFlags.actsValidateConversionSeedsFlags
None actsValidateConversionSeedsFlags(flags)
Definition: ActsCIFlags.py:67
ActsCIFlags.actsValidateClustersFlags
None actsValidateClustersFlags(flags)
Definition: ActsCIFlags.py:48
ActsCIFlags.actsValidateTracksFlags
None actsValidateTracksFlags(flags)
Definition: ActsCIFlags.py:91
ActsCIFlags.actsCoreValidateSpacePointsFlags
None actsCoreValidateSpacePointsFlags(flags)
Definition: ActsCIFlags.py:56
ActsCIFlags.actsValidateSeedsFlags
None actsValidateSeedsFlags(flags)
Definition: ActsCIFlags.py:62
ActsCIFlags.actsValidateAmbiguityResolutionFlags
None actsValidateAmbiguityResolutionFlags(flags)
Definition: ActsCIFlags.py:101
ActsCIFlags.actsValidateGSFFlags
None actsValidateGSFFlags(flags)
Definition: ActsCIFlags.py:106