18 from simulation
import add_simulation
19 from tracking
import add_hit_preparation_modules
22 b2.set_random_seed(1337)
26 output_filename =
"datconPXDDataReduction.root"
29 main = b2.create_path()
31 main.add_module(
"EventInfoSetter", expList=0, runList=1, evtNumList=num_events)
34 main.add_module(
'EvtGenInput')
37 add_simulation(main, bkgOverlay=
False, forceSetPXDDataReduction=
True, usePXDDataReduction=
False, cleanupPXDDataReduction=
False)
40 add_hit_preparation_modules(main, components=[
"SVD"])
43 main.add_module(
'Progress')
46 main.add_module(
"RootOutput", outputFileName=output_filename)