18 from ROOT
import Belle2
25 if not input_files.empty()
and input_files.front().endswith(
".sroot"):
26 rootinput = register_module(
'SeqRootInput')
28 rootinput = register_module(
'RootInput')
31 gearbox = register_module(
'Gearbox')
33 gearbox.param(
'fileName',
'beast/microtpc/detector.xml')
34 geometry = register_module(
'Geometry')
39 main.add_module(rootinput)
40 main.add_module(gearbox)
41 main.add_module(geometry)
43 display = register_module(
'Display')
46 display.param(
'showMCInfo',
True)
49 display.param(
'assignHitsToPrimaries',
False)
52 display.param(
'showAllPrimaries',
True)
55 display.param(
'showCharged',
True)
58 display.param(
'showNeutrals',
True)
64 display.param(
'showRecoTracks',
False)
67 display.param(
'showCDCHits',
False)
72 display.param(
'showTrackLevelObjects',
True)
85 display.param(
'options',
'MH')
90 display.param(
'automatic',
False)
93 display.param(
'fullGeometry',
True)
99 display.param(
'hideObjects', [])
101 main.add_module(display)