![]() |
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 19 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 62 of file runlumi.py.
def python.sugar.runlumi.RunLumiType.__repr__ | ( | self | ) |
Pretty representation for an IoV key
Definition at line 50 of file runlumi.py.
def python.sugar.runlumi.RunLumiType.__str__ | ( | self | ) |
Definition at line 59 of file runlumi.py.
def python.sugar.runlumi.RunLumiType.__sub__ | ( | self, | |
what | |||
) |
Definition at line 74 of file runlumi.py.
def python.sugar.runlumi.RunLumiType.lumi | ( | self | ) |
Definition at line 88 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 35 of file runlumi.py.
def python.sugar.runlumi.RunLumiType.run | ( | self | ) |
Definition at line 84 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 77 of file runlumi.py.
|
staticprivate |
Definition at line 30 of file runlumi.py.
|
static |
Definition at line 32 of file runlumi.py.