CMS 3D CMS Logo

Classes | Functions
confdb Namespace Reference

Classes

class  HLTProcess
 

Functions

def splitter (iterator, n)
 

Function Documentation

◆ splitter()

def confdb.splitter (   iterator,
  n 
)

Definition at line 13 of file confdb.py.

13 def splitter(iterator, n):
14  i = iterator.__iter__()
15  while True:
16  l = list(islice(i, n))
17  if l:
18  yield l
19  else:
20  break
21 
22 

Referenced by TotemT1Organization._FromUnitIDToData(), HLTLogMonitorFilter.filter(), FWTriggerTableView.saveImageTo(), FWTableView.saveImageTo(), and SplittingConfigurableHisto.SplittingConfigurableHisto().

confdb.splitter
def splitter(iterator, n)
Definition: confdb.py:13