Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/exoticphysics/channeling/ch5/macros/setPrimaryBeam.mac is written in an unsupported language. File is not indexed.

0001 #A set of custom commands based on ParticleGun were defined 
0002 #to better simulate a bunch of particles in a particle accelerator.  
0003 
0004 /gun/primaryType e-                #set particle type
0005 /gun/primaryEnergy 2.86 GeV        #set the mean kinetic energy of the particle
0006 /gun/primaryRelSigmaEnergy 1.0e-3  #set the relative standard dev. of the particle kinetic energy
0007 /gun/primaryX 0 mm                 #set the mean particle X coordinate
0008 /gun/primaryY 0 mm                 #set the mean particle Y coordinate
0009 /gun/primaryZ -30 mm               #set the mean particle Z coordinate
0010 /gun/primaryT 0 ns                 #set the mean value of the time of the particle generation
0011 /gun/primaryXp 0 rad               #set the mean value of x'=px/pz of the particle 
0012 /gun/primaryYp 0 rad               #set the mean value of y'=py/pz of the particle
0013 /gun/primarySigmaX 1 mm            #set the standard deviation of particle X coordinate
0014 /gun/primarySigmaY 1 mm            #set the standard deviation of particle Y coordinate
0015 /gun/primarySigmaZ 1 mm            #set the standard deviation of particle Z coordinate
0016 /gun/primarySigmaT 0 ns            #set the standard deviation of the the particle generation
0017 /gun/primarySigmaXp 0.893e-6 rad   #set the standard deviation of x'=px/pz of the particle 
0018 /gun/primarySigmaYp 0.893e-6 rad   #set the standard deviation of y'=py/pz of the particle