File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -778,9 +778,9 @@ struct HfTaskFlowCharmHadrons {
778778
779779 if (qVecRedDetector.value == QvecEstimator::TPCTot || qVecRedDetector.value == QvecEstimator::TPCPos || qVecRedDetector.value == QvecEstimator::TPCNeg) {
780780 // Correct for track multiplicity
781- redQVec = TMath::Sqrt (xRedQVec * xRedQVec + yRedQVec * yRedQVec) * amplRedQVec / TMath::Sqrt (amplRedQVec - tracksRedQx.size ());
781+ redQVec = std::sqrt (xRedQVec * xRedQVec + yRedQVec * yRedQVec) * amplRedQVec / std::sqrt (amplRedQVec - tracksRedQx.size ());
782782 } else {
783- redQVec = TMath::Sqrt (xRedQVec * xRedQVec + yRedQVec * yRedQVec) * TMath::Sqrt (amplRedQVec);
783+ redQVec = std::sqrt (xRedQVec * xRedQVec + yRedQVec * yRedQVec) * std::sqrt (amplRedQVec);
784784 }
785785 }
786786 if (storeRedQVec) {
You can’t perform that action at this time.
0 commit comments