16b2.set_log_level(b2.LogLevel.INFO)
19main = b2.create_path()
22eventinfosetter = b2.register_module(
'EventInfoSetter')
23eventinfosetter.param(
'evtNumList', [1])
24main.add_module(eventinfosetter)
27gearbox = b2.register_module(
'Gearbox')
29main.add_module(gearbox)
32geometry = b2.register_module(
'Geometry')
33geometry.param(
'useDB',
False)
34geometry.param(
'components', [
'TOP'])
35main.add_module(geometry)
38histo = b2.register_module(
"HistoManager")
42comparator = b2.register_module(
'TOPTBCComparator')
43comparator.param(
'inputDirectorList', sys.argv[1])
44main.add_module(comparator)
47progress = b2.register_module(
'Progress')
48main.add_module(progress)