![]() |
ATLAS Offline Software
|
Public Member Functions | |
| def | make (cls, *args) |
| def | __repr__ (self) |
| def | __str__ (self) |
| def | __add__ (self, what) |
| def | __sub__ (self, what) |
| def | start_nextrun (self) |
| def | run (self) |
| def | lumi (self) |
Static Public Attributes | |
| bool | is_time = False |
Static Private Attributes | |
| tuple | __slots__ = () |
Syntactic sugar for an IoV key. This class intentionally has no constructor so that we can benefit from the speed of the builtin long constructor. (Since we use it a lot!) On the python side though, it is useful to have a constructor which takes (Run, Lumiblock). This is provided by the make() class method, which is aliased as RunLumi.
Definition at line 18 of file runlumi.py.
| def python.sugar.runlumi.RunLumiType.__add__ | ( | self, | |
| what | |||
| ) |
How to add something to an LB: in case of a numeric type, do the normal thing. In case of a tuple, use the first element as a run number count and the second element as a luminosity block count.
Definition at line 61 of file runlumi.py.
| def python.sugar.runlumi.RunLumiType.__repr__ | ( | self | ) |
Pretty representation for an IoV key
Definition at line 49 of file runlumi.py.
| def python.sugar.runlumi.RunLumiType.__str__ | ( | self | ) |
Definition at line 58 of file runlumi.py.
| def python.sugar.runlumi.RunLumiType.__sub__ | ( | self, | |
| what | |||
| ) |
Definition at line 73 of file runlumi.py.
| def python.sugar.runlumi.RunLumiType.lumi | ( | self | ) |
Definition at line 87 of file runlumi.py.
| def python.sugar.runlumi.RunLumiType.make | ( | cls, | |
| * | args | ||
| ) |
Create a RunLumiType in a smarter (but slower) way, depending on whether one or two args are passed.
Definition at line 34 of file runlumi.py.
| def python.sugar.runlumi.RunLumiType.run | ( | self | ) |
Definition at line 83 of file runlumi.py.
| def python.sugar.runlumi.RunLumiType.start_nextrun | ( | self | ) |
Return a new RunLumiType with run number += 1 and lumi = 1
Definition at line 76 of file runlumi.py.
|
staticprivate |
Definition at line 29 of file runlumi.py.
|
static |
Definition at line 31 of file runlumi.py.
1.8.18