Skip to content

Commit ecde03d

Browse files
committed
added Collins Soper frame and renamed some configurables
1 parent 9efbfd0 commit ecde03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/Resonances/higherMassResonances.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ struct HigherMassResonances {
721721
// }
722722

723723
// CS Frame
724-
zAxisCS = ROOT::Math::XYZVectorF((beam1CM - beam2CM)).Unit();
724+
zAxisCS = ROOT::Math::XYZVectorF((beam1CM.Unit() - beam2CM.Unit())).Unit();
725725
yAxisCS = ROOT::Math::XYZVectorF(beam1CM.Cross(beam2CM)).Unit();
726726
xAxisCS = ROOT::Math::XYZVectorF(yAxisCS.Cross(zAxisCS)).Unit();
727727
double cosThetaStarCS = zAxisCS.Dot(v1CM);

0 commit comments

Comments
 (0)