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 10 of file TriggerCoolUtil.py.
11 """Helper to iterate through runlist. The format is:
12 runlist: [[run1,run2], [run3,run4], ... ]
13 In addition each "run" can be a tuple of format (run,LB)
16 """Create (Run,Lumi) tuple"""
17 return rl
if isinstance(rl,tuple)
else (rl,0)
20 (r1,l1) = makeRunLumi(a)
21 (r2,l2) = makeRunLumi(b)
23 limmin = (r1 << 32) + l1
24 if isinstance(b,tuple):
25 limmax = (r2 << 32) + l2
27 limmax = ((r2+1) << 32) - 1
29 yield (limmin, limmax)