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.
  • [get | view] (2016-06-08 08:04:24, 39.3 KB) [[attachment:AHCAL_Barrel_ILD_o1_v05_std.png]]
  • [get | view] (2016-06-08 08:04:15, 18.9 KB) [[attachment:AHCAL_Barrel_envelope_ILD_o1_v05_std.png]]
  • [get | view] (2016-06-08 08:40:54, 120.8 KB) [[attachment:AHCAL_Barrel_layout_ILD_o1_v05_material_thickness_steerable.png]]
  • [get | view] (2016-06-08 07:58:25, 41.6 KB) [[attachment:AHCAL_Barrel_material_scan_ILD_o1_v05.txt]]
  • [get | view] (2016-06-08 08:04:52, 31.4 KB) [[attachment:AHCAL_Barrel_xy_ILD_o1_v05_std.png]]
  • [get | view] (2016-06-08 08:05:10, 70.8 KB) [[attachment:AHCAL_Barrel_xyz_ILD_o1_v05_std.png]]
  • [get | view] (2016-06-08 08:05:21, 21.8 KB) [[attachment:AHCAL_Barrel_z_ILD_o1_v05_std.png]]
  • [get | view] (2016-06-14 14:21:09, 130.6 KB) [[attachment:ECAL_HCAL_SD.png]]
  • [get | view] (2016-06-14 13:59:54, 28.3 KB) [[attachment:Envelope_v01.png]]
  • [get | view] (2016-06-14 14:00:08, 29.6 KB) [[attachment:Envelope_v02.png]]
  • [get | view] (2016-07-12 08:30:21, 219.9 KB) [[attachment:ILD_large_vs_small.png]]
  • [get | view] (2016-06-10 15:26:34, 29.0 KB) [[attachment:SiWEcal_Barrel_SD_v01.png]]
  • [get | view] (2016-06-10 15:26:42, 21.6 KB) [[attachment:SiWEcal_Barrel_SD_v02.png]]
  • [get | view] (2016-06-14 13:31:03, 0.7 KB) [[attachment:ddsim_steering_10GeVGamma_00.py]]
  • [get | view] (2016-06-14 14:46:52, 0.8 KB) [[attachment:ddsim_steering_ucam_uds500GeV_00.py]]
  • [get | view] (2016-06-23 14:27:36, 31.7 KB) [[attachment:materials_ILD_o1_v05.gdml]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.