Definition at line 14 of file TrigTrackingPassFlags.py.
◆ runTest()
def python.TrigTrackingPassFlags.FlagsCopiedTest.runTest |
( |
|
self | ) |
|
Definition at line 27 of file TrigTrackingPassFlags.py.
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")
◆ setUp()
def python.TrigTrackingPassFlags.FlagsCopiedTest.setUp |
( |
|
self | ) |
|
Definition at line 15 of file TrigTrackingPassFlags.py.
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')
25 self.newflags.
dump(
".*InDet")
◆ newflags
python.TrigTrackingPassFlags.FlagsCopiedTest.newflags |
◆ newflags4
python.TrigTrackingPassFlags.FlagsCopiedTest.newflags4 |
The documentation for this class was generated from the following file: