13 from simulation
import add_simulation
14 from reconstruction
import add_reconstruction
20 eventinfosetter = b2.register_module(
'EventInfoSetter')
21 eventinfosetter.param(
'expList', [0])
22 eventinfosetter.param(
'runList', [1])
23 eventinfosetter.param(
'evtNumList', [numEvents])
25 eventinfoprinter = b2.register_module(
'EventInfoPrinter')
27 evtgeninput = b2.register_module(
'EvtGenInput')
28 evtgeninput.logging.log_level = b2.LogLevel.INFO
31 main = b2.create_path()
34 main.add_module(eventinfosetter)
35 main.add_module(eventinfoprinter)
36 main.add_module(evtgeninput)
38 add_reconstruction(main)
40 fil = b2.register_module(
'SVDShaperDigitsFromTracks')
41 fil.param(
'outputINArrayName',
'SVDShaperDigitsFromTracks')
45 'SVDShaperDigitsFromTracks',
50 main.add_module(
"RootOutput", branchNames=input_branches, outputFileName=
"RootOutput_CoGCalibration_10k.root")