7 from TrigInDetConfig.BuildSignatureFlags
import signatureTrigTrackingFlags
16 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
19 flags.Trigger.InDetTracking.muon
20 flags.Trigger.InDetTracking.electron.minPT = 2.0 * Units.GeV
21 flags.Trigger.ITkTracking.muon
22 self.
newflags = flags.cloneAndReplace(
'Tracking.ActiveConfig',
'Trigger.InDetTracking.electron')
23 self.
newflags4 = flags.cloneAndReplace(
'Tracking.ActiveConfig',
'Trigger.ITkTracking.muon')
28 self.assertEqual(self.
newflags.Tracking.ActiveConfig.minPT, 2.0 * Units.GeV, msg=
"Flags are not copied")
29 self.assertEqual(
type(self.
newflags4.Tracking.ActiveConfig.minPT), list, msg=
"Eta dependant cuts don't exist")
32 if __name__ ==
"__main__":