Helper to iterate through runlist. The format is:
runlist: [[run1,run2], [run3,run4], ... ]
In addition each "run" can be a tuple of format (run,LB)
Definition at line 11 of file TriggerCoolUtil.py.
12 """Helper to iterate through runlist. The format is:
13 runlist: [[run1,run2], [run3,run4], ... ]
14 In addition each "run" can be a tuple of format (run,LB)
17 """Create (Run,Lumi) tuple"""
18 return rl
if isinstance(rl,tuple)
else (rl,0)
21 (r1,l1) = makeRunLumi(a)
22 (r2,l2) = makeRunLumi(b)
24 limmin = (r1 << 32) + l1
25 if isinstance(b,tuple):
26 limmax = (r2 << 32) + l2
28 limmax = ((r2+1) << 32) - 1
30 yield (limmin, limmax)