23 from simulation
import add_simulation
24 from reconstruction
import add_reconstruction
31 cosmics = basf2.register_module(
'Cosmics')
32 cosmics.param(
'level', 1)
33 cosmics.param(
'ipRequirement', 1)
34 cosmics.param(
'cylindricalR', 16.0)
36 basf2.set_random_seed(0)
38 eventinfosetter = basf2.register_module(
'EventInfoSetter')
40 progress = basf2.register_module(
'ProgressBar')
42 gearbox = basf2.register_module(
'Gearbox')
44 geometry = basf2.register_module(
'Geometry', excludedComponents=[
'MagneticField'])
46 histos = basf2.register_module(
'HistoManager')
48 VXDResiduals = basf2.register_module(
'OverlapResiduals')
51 eventinfosetter.param({
'evtNumList': [100],
'runList': [1]})
54 main = basf2.create_path()
55 main.add_module(eventinfosetter)
56 main.add_module(gearbox)
57 main.add_module(geometry)
58 main.add_module(histos)
60 main.add_module(cosmics)
64 add_reconstruction(main, pruneTracks=
False)
66 main.add_module(VXDResiduals)
67 main.add_module(progress)
73 print(basf2.statistics)