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
53fee4ad
Commit
53fee4ad
authored
5 years ago
by
Chad Lantz
Browse files
Options
Downloads
Patches
Plain Diff
Set configuration to a running state
parent
a4548241
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
MonteCarlo/geometry.mac
+1
-1
1 addition, 1 deletion
MonteCarlo/geometry.mac
MonteCarlo/run1.mac
+17
-17
17 additions, 17 deletions
MonteCarlo/run1.mac
MonteCarlo/zdc.cc
+1
-1
1 addition, 1 deletion
MonteCarlo/zdc.cc
with
19 additions
and
19 deletions
MonteCarlo/geometry.mac
+
1
−
1
View file @
53fee4ad
...
...
@@ -24,7 +24,7 @@
#/Detector/ZDC/SetCurrent 1
/Detector/ZDC/Duplicate 1
/Detector/ZDC/Position 0. 0. 1
53/2
. mm
/Detector/ZDC/Position 0. 0. 1
60
. mm
/Detector/RPD/Add
/Detector/RPD/Position 0. 0. 250. mm
...
...
This diff is collapsed.
Click to expand it.
MonteCarlo/run1.mac
+
17
−
17
View file @
53fee4ad
# Macro file for JZCaPA beam test 2018
#
#
# To be run preferably in batch, without graphics:
#
#
# 31 TeV Pb ion
# Initialize kernel
...
...
@@ -15,8 +15,8 @@
#/gps/particle ion
/gps/ion 82 208 0 0.0
/gps/energy 31.2 TeV
#
/gps/ion 82 208 0 0.0
#
/gps/energy 31.2 TeV
# using alphas is useful if you would like to visualize the tracks (Pb ions require much more computing time)
#/gps/particle ion
...
...
@@ -24,18 +24,18 @@
#/gps/energy 600 GeV
#/gps/particle proton
#
/gps/particle neutron
/gps/particle neutron
# the beam energy is in gaussian profile
#
/gps/ene/type Gauss
#
/gps/ene/mono 150 GeV
#
/gps/ene/sigma 1 MeV
/gps/ene/type Gauss
/gps/ene/mono 150 GeV
/gps/ene/sigma 1 MeV
# General particle source
# General particle source
/gps/pos/type Beam
/gps/pos/shape Circle
/gps/pos/centre 0. 0. -15
999
. mm
/gps/pos/centre 0. 0. -15
0
. mm
/gps/pos/radius 1. mm
/gps/pos/sigma_r 2. mm
...
...
@@ -46,13 +46,13 @@
/gps/pos/rot2 0 1 0
#
#
# the beam is travelling along the z-axis
# 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
# 1.0milliradians = 0.057 deg
/gps/ang/rot2 1 0 0
/gps/ang/type beam1d
# the beam angular dispersion
/gps/ang/sigma_r 0.00 deg
# 1.0milliradians = 0.057 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)
...
...
@@ -63,4 +63,4 @@
# number of events
/run/beamOn 2
##############################################################
##############################################################
\ No newline at end of file
##############################################################
This diff is collapsed.
Click to expand it.
MonteCarlo/zdc.cc
+
1
−
1
View file @
53fee4ad
...
...
@@ -140,7 +140,7 @@ int main(int argc,char** argv)
G4UImanager
*
UImanager
=
G4UImanager
::
GetUIpointer
();
//Set the output file name
G4String
command
=
"/
A
nalysis/setFileName "
;
G4String
command
=
"/
a
nalysis/setFileName "
;
UImanager
->
ApplyCommand
(
command
+
output
);
// Process macro or start UI session
...
...
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