ATLAS Offline Software
Loading...
Searching...
No Matches
InDetDFConfigFlags.py
Go to the documentation of this file.
1# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3# configuration flags for the ID derivations
4
5from AthenaConfiguration.AthConfigFlags import AthConfigFlags
6from Campaigns.Utils import Campaign
7
8
10 iddcf = AthConfigFlags()
11 # schedule track systematics alg
12 # can only run if recommendations available
13 iddcf.addFlag("Derivation.InDet.doTrackSystematics", lambda prevFlags:
14 prevFlags.Input.isMC and
15 prevFlags.Input.MCCampaign not in [Campaign.MC23g,
16 Campaign.PhaseII])
17 return iddcf