Skip to content

Commit b54f41c

Browse files
committed
Fix linter, std prefix
1 parent a8eaa2a commit b54f41c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGDQ/Tasks/taskJPsiMu.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
252252
double getRapidity(const double pT, const double eta)
253253
{
254254
double mJPsi = 3.096916; // J/Psi mass in GeV/c^2
255-
return log((sqrt(pow(mJPsi, 2) + (pow(pT, 2) * pow(cosh(eta), 2))) + pT * sinh(eta)) / (sqrt(pow(mJPsi, 2) + pow(pT, 2))));
255+
return std::log((std::sqrt(std::pow(mJPsi, 2) + (std::pow(pT, 2) * std::pow(std::cosh(eta), 2))) + pT * std::sinh(eta)) / (std::sqrt(std::pow(mJPsi, 2) + std::pow(pT, 2))));
256256
}
257257

258258
double getWeight(const double pT, const std::vector<double>& pT_bins, const std::vector<double>& efficiency, const double eta_min, const double eta_max)

0 commit comments

Comments
 (0)