-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhepmc3.mac
30 lines (24 loc) · 943 Bytes
/
hepmc3.mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
###################################################
# Batch running of events
###################################################
# This file is meant to be used with an input file
# of generated events. A typical command might be
#
# ./gramsg4 -i gramssky.hepmc3 -m mac/hepmc3.mac
#
# See the main README.md file for more documentation.
# If you need to see details about the physics
# list, you can use the following. It's also part of
# the output of "./gramsg4 -v".
#/process/em/verbose 1
#/process/had/verbose 1
# In GramsG4, every .mac file must contain this
# line after any physics/geometry/thread setup,
# but before any generation/visualization commands.
/run/initialize
# This means "run Geant4 and generate 1000 events". Note that if this
# number is greater than the number of events in the input file of
# generated events, the program will "rewind" the file and start
# reading from the begining.
/run/beamOn 1000
exit