ATLAS Offline Software
METConfigFlags.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.AthConfigFlags import AthConfigFlags
4 from AthenaConfiguration.Enums import HIMode
6  metConfigFlags=AthConfigFlags()
7  metConfigFlags.addFlag("MET.UseTracks",True)
8  metConfigFlags.addFlag("MET.DoPFlow",True)
9  metConfigFlags.addFlag("MET.UseFELinks",True)
10  metConfigFlags.addFlag("MET.WritetoAOD",
11  lambda prevFlags: prevFlags.Reco.HIMode in [HIMode.UPC,HIMode.HIP])
12  return metConfigFlags
METConfigFlags.createMETConfigFlags
def createMETConfigFlags()
Definition: METConfigFlags.py:5