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])