Definition at line 10 of file AtlRunQueryIOV.py.
◆ __init__()
def python.utils.AtlRunQueryIOV.IOVTime.__init__ |
( |
|
self, |
|
|
|
run = None , |
|
|
|
lb = None , |
|
|
|
timerunlb = None , |
|
|
|
timebased = False |
|
) |
| |
Definition at line 11 of file AtlRunQueryIOV.py.
11 def __init__(self, run=None, lb=None, timerunlb=None,timebased=False):
12 if isinstance(run,IOVTime):
13 self.timebased = run.timebased
18 self.timebased=timebased
19 self.run = self.lb = self.time =
None
23 if timerunlb
is not None:
24 self.run = timerunlb>>32
25 self.lb = timerunlb&0xFFFFFFFF
◆ __eq__()
def python.utils.AtlRunQueryIOV.IOVTime.__eq__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Definition at line 45 of file AtlRunQueryIOV.py.
45 def __eq__(self, other):
47 return self.time==other.time
49 return self.run==other.run
and self.lb==other.lb
◆ __lt__()
def python.utils.AtlRunQueryIOV.IOVTime.__lt__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Definition at line 39 of file AtlRunQueryIOV.py.
39 def __lt__(self, other):
41 return self.time<other.time
43 return self.run<other.run
or self.run==other.run
and self.lb<other.lb
◆ __str__()
def python.utils.AtlRunQueryIOV.IOVTime.__str__ |
( |
|
self | ) |
|
Definition at line 30 of file AtlRunQueryIOV.py.
33 return "%s" % time.strftime(
"%a %b %d %Y %X",time.gmtime(self.time/1E9))
37 return "%i/%i" % (self.run,self.lb)
◆ __sub__()
def python.utils.AtlRunQueryIOV.IOVTime.__sub__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Definition at line 51 of file AtlRunQueryIOV.py.
51 def __sub__(self, other):
52 if isinstance(other, int):
53 return IOVTime(timerunlb=self.timerunlb()-1)
54 elif isinstance(other, IOVTime):
55 return self.timerunlb()-other.timerunlb()
◆ inRange()
def python.utils.AtlRunQueryIOV.IOVTime.inRange |
( |
|
self, |
|
|
|
iovrange |
|
) |
| |
◆ timerunlb()
def python.utils.AtlRunQueryIOV.IOVTime.timerunlb |
( |
|
self | ) |
|
◆ lb
python.utils.AtlRunQueryIOV.IOVTime.lb |
◆ run
python.utils.AtlRunQueryIOV.IOVTime.run |
◆ time
python.utils.AtlRunQueryIOV.IOVTime.time |
◆ timebased
python.utils.AtlRunQueryIOV.IOVTime.timebased |
The documentation for this class was generated from the following file: