Skip to content

Commit 56a66a4

Browse files
authored
Update lambdaR2Correlation.cxx
1 parent 078f377 commit 56a66a4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,7 +1569,7 @@ struct LambdaR2Correlation {
15691569
float arg1 = 0.15 * magField * charge1 * cTpcRadii / v1[0];
15701570
float arg2 = 0.15 * magField * charge2 * cTpcRadii / v2[0];
15711571
if (std::abs(arg1) < 1.0 && std::abs(arg2) < 1.0) {
1572-
dphistar = v1[2] - v2[2] + std::asin(arg1) - std::asin(arg2);
1572+
dphistar = v1[2] - v2[2] - std::asin(arg1) + std::asin(arg2);
15731573
} else {
15741574
dphistar = 99.;
15751575
}
@@ -1616,10 +1616,10 @@ struct LambdaR2Correlation {
16161616

16171617
if (qinv < cFemtoCut) {
16181618
histos.fill(HIST("QA/FemtoCut/h2d_n2_detadphi"), p1.eta() - p2.eta(), RecoDecay::constrainAngle(p1.phi() - p2.phi(), -PIHalf));
1619-
return false;
1619+
return true;
16201620
}
16211621

1622-
return true;
1622+
return false;
16231623
}
16241624

16251625
template <ParticlePairType part_pair, RecGenType rec_gen, typename T1, typename T2>

0 commit comments

Comments
 (0)