Download
|
User Forum
|
Contact Us
|
Bug Reports
Home
>
Examples
Loading...
Searching...
No Matches
basic
B1
run2.mac
Go to the documentation of this file.
1
# Macro file for example B1
2
#
3
# To be run preferably in batch, without graphics:
4
# % exampleB1 run2.mac
5
#
6
#/run/numberOfThreads 4
7
/run/initialize
8
#
9
/control/verbose 2
10
/run/verbose 2
11
#
12
# gamma 6 MeV to the direction (0.,0.,1.)
13
# 10000 events
14
#
15
/gun/particle gamma
16
/gun/energy 6 MeV
17
#
18
/run/printProgress 100
19
/run/beamOn 1000
20
#
21
# proton 210 MeV to the direction (0.,0.,1.)
22
# 1000 events
23
#
24
/gun/particle proton
25
/gun/energy 210 MeV
26
#
27
/run/beamOn 1000
Generated on Tue Jan 30 2024 12:18:44 for Geant4 examples by
1.9.8
Applications
|
User Support
|
Publications
|
Collaboration