Skip to content

Commit

Permalink
[PWGUD] Fix of personal task (AliceO2Group#9058)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolavick authored Dec 19, 2024
1 parent 240d27a commit bab7be3
Show file tree
Hide file tree
Showing 2 changed files with 528 additions and 526 deletions.
4 changes: 3 additions & 1 deletion PWGUD/Core/UPCTauCentralBarrelHelperRL.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ double calculateAcoplanarity(double phiTrk1, double phiTrk2)
double calculateCollinearity(double etaTrk1, double etaTrk2, double phiTrk1, double phiTrk2)
// Function to calculate deltaR(trk1,trk2) = sqrt(deltaEta^2+deltaPhi^2)
{
return std::sqrt(etaTrk1 * etaTrk2 + phiTrk1 * phiTrk2);
double deltaEta = etaTrk1 - etaTrk2;
double deltaPhi = phiTrk1 - phiTrk2;
return std::sqrt(deltaEta * deltaEta + deltaPhi * deltaPhi);
}

template <typename Ps>
Expand Down
Loading

0 comments on commit bab7be3

Please sign in to comment.