-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprad_bot.mac
38 lines (25 loc) · 1.01 KB
/
prad_bot.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
31
32
33
34
35
36
37
38
#target density scaling factor, default is 1
/pradsim/det/target/densityratio 1
#target material 'hydrogen' for gas hydrogen (default), 'LH2' for liquid hydrogen
/pradsim/det/target/material hydrogen
#radius of the target cell, in mm
/pradsim/det/target/radius 25.0 mm
#half length of the target cell, in mm
/pradsim/det/target/halfl 20.0 mm
#gun tyle, DON'T change it for beam-on-target simulation
/pradsim/gun/type point
#starting position of the beam, DON'T change it for beam-on-target simulation
/pradsim/gun/pos 0 0 -4000 mm
#pid of the incident particle, can be e- or e+
/pradsim/gun/gunpid e-
#energy of the incident particle
/pradsim/gun/ebeam 2200 MeV
#frequency of printing out current event number
/pradsim/event/printmodulo 100000
#turn it on for beam-on-target simulation, only record event if there is at least a hit on detector
/pradsim/event/onlyrecordhits true
/pradsim/det/sensitive/virtual true
/pradsim/det/sensitive/target true
/run/initialize
# the amount of event we want to run
/run/beamOn 1000000