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 11 of file confdb.py.

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

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

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