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.
1 parent 4fd72ee commit 32c1341Copy full SHA for 32c1341
PWGHF/HFL/Tasks/taskElectronWeakBoson.cxx
@@ -630,11 +630,14 @@ struct HfTaskElectronWeakBoson {
630
if (std::abs(trackAss.pt - zBoson.ptchild1) < ptMatch)
631
continue;
632
// calculate Z-h correlation
633
+ /*
634
double deltaPhi = trackAss.phi - zBoson.phi;
635
while (deltaPhi < -TMath::Pi() / 2)
636
deltaPhi += 2 * TMath::Pi();
637
while (deltaPhi > 3 * TMath::Pi() / 2)
638
deltaPhi -= 2 * TMath::Pi();
639
+ */
640
+ double deltaPhi = RecoDecay::constrainAngle(trackAss.phi - zBoson.phi, -o2::constants::math::PIHalf);
641
registry.fill(HIST("hZHadronDphi"), zBoson.pt, deltaPhi);
642
}
643
0 commit comments