6 <output>KShortGenSimNoBkg.root</output>
7 <contact>Software team b2soft@mail.desy.de</contact>
9 <description>This steering file produces 500 events with five KLong each
10 and runs the detector simulation without mixing in background.</description>
14 from basf2
import set_random_seed, create_path, process, statistics, \
16 from simulation
import add_simulation
22 main.add_module(
'EventInfoSetter',
28 main.add_module(
'ParticleGun',
31 momentumGeneration=
'uniform',
32 momentumParams=[0.000, 1.000],
33 thetaGeneration=
'uniform',
34 thetaParams=[17, 150],
35 phiGeneration=
'uniform',
37 vertexGeneration=
'uniform',
38 xVertexParams=[0.0, 0.0],
39 yVertexParams=[0.0, 0.0],
40 zVertexParams=[0.0, 0.0]
45 main.add_module(register_module(
'Profile'))
46 main.add_module(
'RootOutput', outputFileName=
'../KShortGenSimNoBkg.root')
53 from validation
import *
55 'KShortGenSimNoBkg_statistics.root',
56 contact=
'Software team b2soft@mail.desy.de',
57 job_desc=
'a standard simulation job with KShortGenSimNoBkg particleGun',
58 prefix=
'KShortGenSimNoBkg'
61 '../KShortGenSimNoBkg.root',
62 'KShortGenSimNoBkg_statistics.root',
63 contact=
'Software team b2soft@mail.desy.de',
64 job_desc=
'a standard simulation job with Klong particleGun',
65 prefix=
'KShortGenSimNoBkg'