Skip to content

Commit 689942b

Browse files
authored
Merge pull request #48830 from cericeci/15_1_X_suepfix
Fixed bug on longitudinal momentum computation for SUEP constituents
2 parents ba2e15e + c0255e8 commit 689942b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GeneratorInterface/Pythia8Interface/src/SuepShower.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const Pythia8::Vec4 SuepShower::generateFourVector() {
155155
// compose the 4 std::vector
156156
en = sqrt(momentum * momentum + darkmeson_mass_ * darkmeson_mass_);
157157
Pythia8::Vec4 daughterFourMomentum =
158-
Pythia8::Vec4(momentum * cos(phi) * sin(theta), momentum * sin(phi) * sin(theta), momentum * sin(theta), en);
158+
Pythia8::Vec4(momentum * cos(phi) * sin(theta), momentum * sin(phi) * sin(theta), momentum * cos(theta), en);
159159
return daughterFourMomentum;
160160
}
161161

0 commit comments

Comments
 (0)