12from simulation
import add_simulation
13from reconstruction
import add_reconstruction
19eventinfosetter = b2.register_module(
'EventInfoSetter')
20eventinfosetter.param(
'expList', [0])
21eventinfosetter.param(
'runList', [1])
22eventinfosetter.param(
'evtNumList', [numEvents])
24eventinfoprinter = b2.register_module(
'EventInfoPrinter')
26evtgeninput = b2.register_module(
'EvtGenInput')
27evtgeninput.logging.log_level = b2.LogLevel.INFO
30main = b2.create_path()
33main.add_module(eventinfosetter)
34main.add_module(eventinfoprinter)
35main.add_module(evtgeninput)
37add_reconstruction(main)
39fil = b2.register_module(
'SVDShaperDigitsFromTracks')
40fil.param(
'outputINArrayName',
'SVDShaperDigitsFromTracks')
44 'SVDShaperDigitsFromTracks',
49main.add_module(
"RootOutput", branchNames=input_branches, outputFileName=
"RootOutput_CoGCalibration_10k.root")