ATLAS Offline Software
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 
5 from AthenaConfiguration.AthConfigFlags import AthConfigFlags
6 from 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.MC23e, Campaign.MC23g])
16  return iddcf
python.InDetDFConfigFlags.createInDetDFConfigFlags
def createInDetDFConfigFlags()
Definition: InDetDFConfigFlags.py:9