Definition at line 18 of file lucid.py.
◆ __init__()
def python.subdetectors.lucid.Lucid_Magnets.__init__ |
( |
|
self | ) |
|
Definition at line 20 of file lucid.py.
21 self.folder_name =
None
◆ calculate_good_iovs()
def python.subdetectors.lucid.Lucid_Magnets.calculate_good_iovs |
( |
|
self, |
|
|
|
lbtime, |
|
|
|
subdetector |
|
) |
| |
Definition at line 24 of file lucid.py.
24 def calculate_good_iovs(self, lbtime, subdetector):
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())
32 self.input_hashes = [
hash(toroid_ramp),
hash(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)
◆ folder_name
python.subdetectors.lucid.Lucid_Magnets.folder_name |
◆ input_hashes
python.subdetectors.lucid.Lucid_Magnets.input_hashes |
◆ iovs
python.subdetectors.lucid.Lucid_Magnets.iovs |
The documentation for this class was generated from the following file: