15 from simulation
import register_simulation
16 from reconstruction
import register_reconstruction
19 b2.set_log_level(b2.LogLevel.ERROR)
41 register_simulation(components)
42 register_reconstruction(components)
45 main = b2.create_path()
48 input = b2.register_module(
"SeqRootInput")
50 input.param(
"inputFileName",
"/pcidisk1-1/data/rec/rec-evtgen.sroot")
51 main.add_module(input)
54 gearbox = b2.register_module(
'Gearbox')
55 main.add_module(gearbox)
56 geometry = b2.register_module(
'Geometry')
57 main.add_module(geometry)
60 output = b2.register_module(
"SeqRootOutput")
61 output.param(
"outputFileName",
"/dev/null")
69 progress = b2.register_module(
"Progress")
70 main.add_module(progress)
78 b2.process(main, 5000)