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