Skip to content
Snippets Groups Projects

Update EGamma reco config to run without tracker

Merged Thomas Strebler requested to merge tstreble/athena:EGammaNoTrackCfg into 23.0
4 files
+ 16
5
Compare changes
  • Side-by-side
  • Inline
Files
4
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
__doc__ = """
Instantiate egammaRecBuilder with default configuration
@@ -20,6 +20,9 @@ def egammaRecBuilderCfg(
seqkw = {'sequence': sequenceName} if sequenceName else {}
acc = ComponentAccumulator (**seqkw)
kwargs.setdefault("doTrackMatching", flags.Egamma.doTracking)
kwargs.setdefault("doConversions", flags.Egamma.doConversionBuilding)
if "TrackMatchBuilderTool" not in kwargs:
emtrkmatch = EMTrackMatchBuilderCfg(flags)
kwargs["TrackMatchBuilderTool"] = acc.popToolsAndMerge(emtrkmatch)
Loading