14 from simulation
import add_simulation
18 eventinfosetter = b2.register_module(
'EventInfoSetter')
19 eventinfosetter.param(
'expList', [0])
20 eventinfosetter.param(
'runList', [1])
21 eventinfosetter.param(
'evtNumList', [numEvents])
23 evtgeninput = b2.register_module(
'EvtGenInput')
25 rootoutput = b2.register_module(
'RootOutput')
27 Packer = b2.register_module(
'SVDPacker')
28 Packer.param(
'NodeID', nodeid)
29 Packer.param(
'svdShaperDigitListName',
'SVDShaperDigits')
30 Packer.param(
'rawSVDListName',
'SVDRaw')
32 unPacker = b2.register_module(
'SVDUnpacker')
33 unPacker.param(
'rawSVDListName',
'SVDRaw')
34 unPacker.param(
'svdShaperDigitListName',
'newSVDShaperDigits')
37 main = b2.create_path()
39 main.add_module(eventinfosetter)
40 main.add_module(evtgeninput)
44 main.add_module(Packer)
45 main.add_module(unPacker)