Proton beam with realistic geometry
From UCL HEP PBT Wiki
m |
m |
||
Line 168: | Line 168: | ||
You can change the physics process, incident proton energy and number of slices by | You can change the physics process, incident proton energy and number of slices by | ||
- | modifying the macro proton.mac. In addition, you can configure the particle source by using | + | modifying the macro proton.mac. In addition, you can configure the particle source by using '''/gps/''' commands. The beam characteristics used in this macro are similar to the ones used at the Laboratori Nazionali del Sud (INFN) in Catania, Italy. The proton beam has Guassian energy distribution. Have a look [https://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch02s07.html here] to learn more about the /gps/ commands. |
Now, use your favorite editor '''pico''', '''vi''', '''emacs''' etc. to open the macro proton.mac: | Now, use your favorite editor '''pico''', '''vi''', '''emacs''' etc. to open the macro proton.mac: |