17 b2.set_log_level(b2.LogLevel.INFO)
20 main = b2.create_path()
23 eventinfosetter = b2.register_module(
'EventInfoSetter')
24 eventinfosetter.param(
'evtNumList', [1])
25 main.add_module(eventinfosetter)
28 gearbox = b2.register_module(
'Gearbox')
30 main.add_module(gearbox)
33 geometry = b2.register_module(
'Geometry')
34 geometry.param(
'useDB',
False)
35 geometry.param(
'components', [
'TOP'])
36 main.add_module(geometry)
39 histo = b2.register_module(
"HistoManager")
40 main.add_module(histo)
43 comparator = b2.register_module(
'TOPTBCComparator')
44 comparator.param(
'inputDirectorList', sys.argv[1])
45 main.add_module(comparator)
48 progress = b2.register_module(
'Progress')
49 main.add_module(progress)