This class represents a range of lumiblocks within a single run
Definition at line 16 of file LumiCalculator.py.
◆ __init__()
| python.LumiCalculator.RLBRange.__init__ |
( |
| self, |
|
|
| run, |
|
|
| lb1, |
|
|
| lb2 ) |
Definition at line 18 of file LumiCalculator.py.
18 def __init__(self,run,lb1,lb2):
19 "Initialise to inclusive range lb1-lb2 in run run"
20 self.run=run
21 self.lb1=lb1
22 self.lb2=lb2
23
◆ __repr__()
| python.LumiCalculator.RLBRange.__repr__ |
( |
| self | ) |
|
Definition at line 24 of file LumiCalculator.py.
24 def __repr__(self):
25 return 'Run %i LB [%i-%i]' % (self.run,self.lb1,self.lb2)
26
◆ IOVRange()
| python.LumiCalculator.RLBRange.IOVRange |
( |
| self | ) |
|
Definition at line 27 of file LumiCalculator.py.
28 "Return IOV since,until corresponding to this lumiblock range"
29 since=(self.run << 32)+self.lb1
30 until=(self.run << 32)+self.lb2+1
31 return (since,until)
32
33
◆ lb1
| python.LumiCalculator.RLBRange.lb1 = lb1 |
◆ lb2
| python.LumiCalculator.RLBRange.lb2 = lb2 |
◆ run
| python.LumiCalculator.RLBRange.run = run |
The documentation for this class was generated from the following file: