17from simulation
import add_simulation
18from tracking
import add_hit_preparation_modules
21b2.set_random_seed(1337)
25output_filename =
"datconPXDDataReduction.root"
28main = b2.create_path()
30main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=num_events)
33main.add_module(
'EvtGenInput')
36add_simulation(main, bkgOverlay=
False, forceSetPXDDataReduction=
True, usePXDDataReduction=
False, cleanupPXDDataReduction=
False)
39add_hit_preparation_modules(main, components=[
"SVD"])
42main.add_module(
'Progress')
45main.add_module(
"RootOutput", outputFileName=output_filename)