We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02760ed + 5f920d5 commit e708fc1Copy full SHA for e708fc1
PWGLF/Tasks/Strangeness/lambdalambda.cxx
@@ -393,7 +393,7 @@ struct lambdalambda {
393
394
template <typename V01, typename V02, typename Coll>
395
float getPVPA(V01 const& v01, V02 const& v02, Coll const& coll)
396
- {
+ {
397
ROOT::Math::XYZVector v0v0mom;
398
v0v0mom.SetXYZ(v01.px() + v02.px(), v01.py() + v02.py(), v01.pz() + v02.pz());
399
@@ -403,7 +403,7 @@ struct lambdalambda {
403
v01mom.SetXYZ(v01.px() / v01.p(), v01.py() / v01.p(), v01.pz() / v01.p());
404
v02mom.SetXYZ(v02.px() / v02.p(), v02.py() / v02.p(), v02.pz() / v02.p());
405
ROOT::Math::XYZVector posdiff = v02pos - v01pos;
406
-
+
407
float d = 1. - TMath::Power(v01mom.Dot(v02mom), 2);
408
if (d < 1e-5)
409
return -2;
0 commit comments