Back to home page

EIC code displayed by LXR

 
 

    


Warning, /simulation_campaign_single/scripts/template.in is written in an unsupported language. File is not indexed.

0001 from DDSim.DD4hepSimulation import DD4hepSimulation
0002 from g4units import mm, GeV, MeV, degree
0003 SIM = DD4hepSimulation()
0004 SIM.gun.energy = %ENERGY%
0005 SIM.gun.particle = "%PARTICLE%"
0006 SIM.gun.position = (0.0, 0.0, 0.0)
0007 SIM.gun.direction = (0.0, 0.0, 1.0)
0008 SIM.gun.distribution = "cos(theta)"
0009 SIM.gun.thetaMin = %MINTHETA%*degree
0010 SIM.gun.thetaMax = %MAXTHETA%*degree