26 result = magnets.run(lbtime)
27 by_defect = result.by_channel
29 toroid_ramp = by_defect.get(
"GLOBAL_TOROID_RAMPING", IOVSet())
30 solenoid_ramp = by_defect.get(
"GLOBAL_SOLENOID_RAMPING", IOVSet())
35 events = process_iovs(toroid_ramp, solenoid_ramp)
36 for since, until, (toroid, solenoid)
in events:
37 if toroid
or solenoid:
38 result.add(since, until,
"LCD_MAGNETS_RAMPING",
True,
"")
40 self.
iovs = result.solidify(DefectIOV)