Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
EIC
NPDet
Commits
d4c34d6a
Commit
d4c34d6a
authored
Feb 15, 2022
by
Wouter Deconinck
Browse files
Gun.py: correct ddg4Gun.Momentum(Min|Max) capitalization
parent
f392b25f
Pipeline
#27828
passed with stages
in 49 seconds
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
src/dd4pod/python/npsim/DDSim/Helper/Gun.py
View file @
d4c34d6a
...
...
@@ -133,9 +133,9 @@ class Gun(ConfigHelper):
ddg4Gun
.
PhiMax
=
self
.
phiMax
ddg4Gun
.
isotrop
=
True
if
self
.
momentumMin
is
not
None
:
ddg4Gun
.
m
omentumMin
=
self
.
momentumMin
ddg4Gun
.
M
omentumMin
=
self
.
momentumMin
if
self
.
momentumMax
is
not
None
:
ddg4Gun
.
m
omentumMax
=
self
.
momentumMax
ddg4Gun
.
M
omentumMax
=
self
.
momentumMax
except
Exception
as
e
:
# pylint: disable=W0703
logger
.
error
(
"parsing gun options:
\n
%s
\n
Exception: %s "
%
(
self
,
e
))
exit
(
1
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment