14 <output>MuonGenSimNoBkg.root</output>
15 <contact>Software team b2soft@mail.desy.de</contact>
17 <description>This steering file produces 10000 events with one Muon each
18 and runs the detector simulation without mixing in background.</description>
29 from simulation
import add_simulation
30 from beamparameters
import add_beamparameters
31 from validation
import statistics_plots, event_timing_plot
33 set_random_seed(12345)
38 eventinfosetter = register_module(
"EventInfoSetter")
39 eventinfosetter.param(
"evtNumList", [10000])
40 eventinfosetter.param(
"runList", [1])
41 eventinfosetter.param(
"expList", [0])
42 main.add_module(eventinfosetter)
45 beamparameters = add_beamparameters(main,
"Y4S")
49 particlegun = register_module(
"ParticleGun")
50 particlegun.param(
"nTracks", 1)
51 particlegun.param(
"pdgCodes", [13, -13])
52 particlegun.param(
"momentumGeneration",
"uniform")
53 particlegun.param(
"momentumParams", [0.1, 4])
54 main.add_module(particlegun)
60 main.add_module(register_module(
"Profile"))
63 output = register_module(
"RootOutput")
64 output.param(
"outputFileName",
"../MuonGenSimNoBkg.root")
65 main.add_module(output)
67 main.add_module(
'Progress')
74 "MuonGenSimNoBkg_statistics.root",
75 contact=
"Software team b2soft@mail.desy.de",
76 job_desc=
"a standard simulation job with generic MuonGenSimNoBkg events",
77 prefix=
"MuonGenSimNoBkg",
80 "../MuonGenSimNoBkg.root",
81 "MuonGenSimNoBkg_statistics.root",
82 contact=
"Software team b2soft@mail.desy.de",
83 job_desc=
"a standard simulation job with Muon events",
84 prefix=
"MuonGenSimNoBkg",