13 <output>KLongGenSimNoBkg.root</output>
14 <contact>arul.prakash@physik.uni-muenchen.de</contact>
16 <description>This steering file produces 1000 events
with one KLong each
17 and runs the detector simulation without mixing
in background.</description>
28from simulation
import add_simulation
29from beamparameters
import add_beamparameters
30from validation
import statistics_plots, event_timing_plot
37eventinfosetter = register_module(
"EventInfoSetter")
38eventinfosetter.param(
"evtNumList", [1000])
39eventinfosetter.param(
"runList", [1])
40eventinfosetter.param(
"expList", [0])
41main.add_module(eventinfosetter)
44beamparameters = add_beamparameters(main,
"Y4S")
49particlegun = register_module(
"ParticleGun")
50particlegun.param(
"nTracks", 1)
51particlegun.param(
"pdgCodes", [130])
52particlegun.param(
"momentumGeneration",
"uniform")
53particlegun.param(
"momentumParams", [1, 1])
54particlegun.param(
"thetaGeneration",
"uniform")
55particlegun.param(
"thetaParams", [30, 30])
56particlegun.param(
"phiGeneration",
"uniform")
57particlegun.param(
"phiParams", [0, 360])
58main.add_module(particlegun)
64main.add_module(register_module(
"Profile"))
67output = register_module(
"RootOutput")
68output.param(
"outputFileName",
"../KLongGenSimNoBkg.root")
69main.add_module(output)
71main.add_module(
'Progress')
78 "KLongGenSimNoBkg_statistics.root",
79 contact=
"arul.prakash@physik.uni-muenchen.de",
80 job_desc=
"a standard simulation job with generic KLongGenSimNoBkg events",
81 prefix=
"KLongGenSimNoBkg",
84 "../KLongGenSimNoBkg.root",
85 "KLongGenSimNoBkg_statistics.root",
86 contact=
"arul.prakash@physik.uni-muenchen.de",
87 job_desc=
"a standard simulation job with Klong events",
88 prefix=
"KLongGenSimNoBkg",