Definition at line 9 of file AtlRunQueryIOV.py.
 
◆ __init__()
      
        
          | def python.utils.AtlRunQueryIOV.IOVTime.__init__  | 
          ( | 
            | 
          self,  | 
        
        
           | 
           | 
            | 
          run = None,  | 
        
        
           | 
           | 
            | 
          lb = None,  | 
        
        
           | 
           | 
            | 
          timerunlb = None,  | 
        
        
           | 
           | 
            | 
          timebased = False  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 10 of file AtlRunQueryIOV.py.
   10     def __init__(self, run=None, lb=None, timerunlb=None,timebased=False):
 
   11         if isinstance(run,IOVTime):
 
   12             self.timebased = run.timebased
 
   17             self.timebased=timebased
 
   18             self.run = self.lb = self.time = 
None 
   22                 if timerunlb 
is not None:
 
   23                     self.run = timerunlb>>32
 
   24                     self.lb = timerunlb&0xFFFFFFFF
 
 
 
 
◆ __eq__()
      
        
          | def python.utils.AtlRunQueryIOV.IOVTime.__eq__  | 
          ( | 
            | 
          self,  | 
        
        
           | 
           | 
            | 
          other  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 44 of file AtlRunQueryIOV.py.
   44     def __eq__(self, other):
 
   46             return self.time==other.time
 
   48             return self.run==other.run 
and self.lb==other.lb
 
 
 
 
◆ __lt__()
      
        
          | def python.utils.AtlRunQueryIOV.IOVTime.__lt__  | 
          ( | 
            | 
          self,  | 
        
        
           | 
           | 
            | 
          other  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 38 of file AtlRunQueryIOV.py.
   38     def __lt__(self, other):
 
   40             return self.time<other.time
 
   42             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 29 of file AtlRunQueryIOV.py.
   32                     return "%s" % time.strftime(
"%a %b %d %Y %X",time.gmtime(self.time/1E9))
 
   36                 return "%i/%i" % (self.run,self.lb)
 
 
 
 
◆ __sub__()
      
        
          | def python.utils.AtlRunQueryIOV.IOVTime.__sub__  | 
          ( | 
            | 
          self,  | 
        
        
           | 
           | 
            | 
          other  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 50 of file AtlRunQueryIOV.py.
   50     def __sub__(self, other):
 
   51         if isinstance(other, int):
 
   52             return IOVTime(timerunlb=self.timerunlb()-1)
 
   53         elif isinstance(other, IOVTime):
 
   54             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: