Back to home page

EIC code displayed by LXR

 
 

    


Warning, /job_submission_slurm/test/e-_1GeV_45to135deg.steer 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 
0005 SIM.gun.energy = 1*GeV
0006 SIM.gun.particle = "e-"
0007 SIM.gun.position = (0.0, 0.0, 0.0)
0008 SIM.gun.direction = (0.0, 0.0, 1.0)
0009 SIM.gun.distribution = "cos(theta)"
0010 SIM.gun.thetaMin = 45*degree
0011 SIM.gun.thetaMax = 135*degree
0012 
0013 SIM.part.minimalKineticEnergy = 100.0*MeV