Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
JZCaPA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Riccardo Longo
JZCaPA
Commits
719ae206
Commit
719ae206
authored
5 years ago
by
aricct2
Browse files
Options
Downloads
Patches
Plain Diff
cone source fix
parent
9a4df9c3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MonteCarlo/run2.mac
+27
-26
27 additions, 26 deletions
MonteCarlo/run2.mac
MonteCarlo/vis.mac
+6
-9
6 additions, 9 deletions
MonteCarlo/vis.mac
with
33 additions
and
35 deletions
MonteCarlo/run2.mac
+
27
−
26
View file @
719ae206
...
@@ -23,54 +23,55 @@
...
@@ -23,54 +23,55 @@
#/gps/energy 600 GeV
#/gps/energy 600 GeV
#/gps/particle gamma
#/gps/particle gamma
/gps/particle neutron
#/gps/particle neutron
/gps/particle proton
# the beam energy is in gaussian profile
# the beam energy is in gaussian profile
/gps/ene/type Gauss
/gps/ene/type Gauss
/gps/ene/mono
500 G
eV
/gps/ene/mono
1 T
eV
/gps/ene/sigma 1 MeV
/gps/ene/sigma 1 MeV
# General particle source
# General particle source
# FUNCTIONING CONE
/gps/ang/type iso
/gps/pos/centre 0. 0. -99. mm
/gps/ang/maxtheta 0.003125 deg
/gps/ang/rot1 0 1 0
/gps/ang/rot2 1 0 0
# FUNCTIONING PLANE
#/gps/pos/type Plane
#/gps/pos/type Plane
#/gps/pos/shape Rectangle
#/gps/pos/shape Rectangle
#/gps/pos/centre 0. 0. -
100
. mm
#/gps/pos/centre 0. 0. -
99
. mm
#/gps/pos/halfx 20 mm
#/gps/pos/halfx 20 mm
#/gps/pos/halfy 20 mm
#/gps/pos/halfy 20 mm
#/gps/ang/rot1 0 1 0
#/gps/ang/rot2 1 0 0
#/gps/ang/type beam1d
# FUNCTIONING BEAM
#/gps/pos/type Beam
#/gps/pos/type Beam
#/gps/pos/shape Circle
#/gps/pos/shape Circle
#/gps/pos/centre 0. 0. -
1500
. mm
#/gps/pos/centre 0. 0. -
99
. mm
#/gps/pos/radius 1. mm
#/gps/pos/radius 1. mm
#/gps/pos/sigma_r 2. mm
#/gps/pos/sigma_r 2. mm
#/gps/ang/rot1 0 1 0
/gps/ang/type iso
#/gps/ang/rot2 1 0 0
/gps/ang/maxtheta 10 deg
#/gps/ang/type beam1d
/gps/ang/rot1 0 0 1
#/gps/ang/sigma_r 0.00 deg
/gps/ang/rot2 0 1 0
/gps/pos/centre 0. 0. -100. mm
#
#
# the incident surface is in the x-y plane
/gps/pos/rot1 1 0 0
/gps/pos/rot2 0 1 0
#
#
# the beam is travelling along the z-axis
/gps/ang/rot1 0 1 0
/gps/ang/rot2 1 0 0
/gps/ang/type beam1d
# the beam angular dispersion
/gps/ang/sigma_r 0.00 deg
#if using these commands in interactive mode to visualize, use this to allow more events to be displayed (do not use in batch mode)
#if using these commands in interactive mode to visualize, use this to allow more events to be displayed (do not use in batch mode)
#
/vis/ogl/set/displayListLimit 1000000000
/vis/ogl/set/displayListLimit 1000000000
##############################################################
##############################################################
##############################################################
##############################################################
# number of events
# number of events
/run/beamOn 1
00
/run/beamOn 1
##############################################################
##############################################################
##############################################################
##############################################################
This diff is collapsed.
Click to expand it.
MonteCarlo/vis.mac
+
6
−
9
View file @
719ae206
...
@@ -58,16 +58,17 @@
...
@@ -58,16 +58,17 @@
/vis/scene/add/hits
/vis/scene/add/hits
#
#
/vis/filtering/trajectories/create/chargeFilter
/vis/filtering/trajectories/chargeFilter-0/add 1
#/vis/filtering/trajectories/create/chargeFilter
#/vis/filtering/trajectories/chargeFilter-0/add 1
#/vis/filtering/trajectories/chargeFilter-0/invert true
#/vis/filtering/trajectories/chargeFilter-0/invert true
# To draw only gammas:
# To draw only gammas:
#
/vis/filtering/trajectories/create/particleFilter
/vis/filtering/trajectories/create/particleFilter
#/vis/filtering/trajectories/particleFilter-0/add opticalphoton
#/vis/filtering/trajectories/particleFilter-0/add opticalphoton
#/vis/filtering/trajectories/particleFilter-0/add e-
#/vis/filtering/trajectories/particleFilter-0/add e-
#/vis/filtering/trajectories/particleFilter-0/add e+
#/vis/filtering/trajectories/particleFilter-0/add e+
#
/vis/filtering/trajectories/particleFilter-0/add proton
/vis/filtering/trajectories/particleFilter-0/add proton
#/vis/filtering/trajectories/particleFilter-0/add alpha
#/vis/filtering/trajectories/particleFilter-0/add alpha
#/vis/filtering/trajectories/particleFilter-0/add GenericIon
#/vis/filtering/trajectories/particleFilter-0/add GenericIon
#/vis/filtering/trajectories/particleFilter-0/add gamma
#/vis/filtering/trajectories/particleFilter-0/add gamma
...
@@ -75,16 +76,12 @@
...
@@ -75,16 +76,12 @@
#
#
# To invert the above, drawing all particles except gammas,
# To invert the above, drawing all particles except gammas,
# keep the above two lines but also add:
# keep the above two lines but also add:
#
/vis/filtering/trajectories/particleFilter-0/invert true
/vis/filtering/trajectories/particleFilter-0/invert true
# To increase display limit
# To increase display limit
#/vis/ogl/set/displayListLimit 5000000
#/vis/ogl/set/displayListLimit 5000000
# to filter out uncharge particles
#/vis/filtering/trajectories/create/chargeFilter
#/vis/filtering/trajectories/chargeFilter-0/add 1
#/vis/filtering/trajectories/chargeFilter-0/add -1
# Many other options are available with /vis/modeling and /vis/filtering.
# Many other options are available with /vis/modeling and /vis/filtering.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment