Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
EIC
Project Juggler
Commits
3ceee377
Commit
3ceee377
authored
Mar 04, 2022
by
Wouter Deconinck
Browse files
Make sure electron z momentum is treated as negative
parent
7cf1aca4
Changes
1
Hide whitespace changes
Inline
Side-by-side
JugReco/src/components/InclusiveKinematicsElectron.cpp
View file @
3ceee377
...
...
@@ -91,11 +91,11 @@ public:
ei
.
x
=
0.
;
ei
.
y
=
0.
;
if
(
fabs
(
ei
.
z
-
5.0
)
<
1.0
)
if
(
fabs
(
ei
.
z
+
5.0
)
<
1.0
)
ei
.
z
=
-
5.0
;
else
if
(
fabs
(
ei
.
z
-
10.0
)
<
1.0
)
else
if
(
fabs
(
ei
.
z
+
10.0
)
<
1.0
)
ei
.
z
=
-
10.0
;
else
if
(
fabs
(
ei
.
z
-
18.0
)
<
1.0
)
else
if
(
fabs
(
ei
.
z
+
18.0
)
<
1.0
)
ei
.
z
=
-
18.0
;
ei
.
t
=
sqrt
(
ei
.
z
*
ei
.
z
+
m_electron
*
m_electron
);
...
...
Write
Preview
Supports
Markdown
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