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