Attachment 'ddsim_steering_10GeVGamma_00.py'
Download 1 from DDSim.DD4hepSimulation import DD4hepSimulation
2 from SystemOfUnits import mm, GeV, MeV
3
4 SIM = DD4hepSimulation()
5
6 SIM.runType = "batch"
7 SIM.numberOfEvents = 1000
8
9 SIM.skipNEvents = 0
10 SIM.outputFile = "./gun_gamma_10GeV_SIM_00.slcio"
11
12 SIM.compactFile = "${lcgeo_DIR}/ILD/compact/ILD_o1_v05/ILD_o1_v05.xml"
13 SIM.dumpSteeringFile = "dumpSteering00.xml"
14
15 SIM.field.eps_min = 1*mm
16
17 SIM.part.minimalKineticEnergy = 1*MeV
18
19 SIM.physicsList = "QGSP_BERT"
20
21 SIM.enableDetailedShowerMode=True
22
23 SIM.enableGun = True
24
25 SIM.gun.energy = 10*GeV
26 SIM.gun.particle = "gamma"
27 #SIM.gun.particle = "pi+"
28 #SIM.gun.particle = "kaon0L"
29 SIM.gun.position = "0,0,0"
30 SIM.gun.isotrop = True
31 SIM.gun.direction = "0,0,1"
32 SIM.random.seed = 123876
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.