Skip to content

Commit 5640b7a

Browse files
committed
Fix linter warnings
1 parent 1c7a9c4 commit 5640b7a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

PWGUD/TableProducer/fwdTrackPropagation.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ struct FwdTrackPropagation {
9090
double centerMFT[3] = {0, 0, -61.4};
9191
o2::track::TrackParCovFwd fwdtrack{muon.z(), tpars, tcovs, chi2};
9292
auto* field = dynamic_cast<o2::field::MagneticField*>(TGeoGlobalMagField::Instance()->GetField());
93-
auto Bz = field->getBz(centerMFT); // Get field at centre of MFT
93+
auto bz = field->getBz(centerMFT); // Get field at centre of MFT
9494
auto geoMan = o2::base::GeometryManager::meanMaterialBudget(muon.x(), muon.y(), muon.z(), vtx[0], vtx[1], vtx[2]);
9595
auto x2x0 = static_cast<float>(geoMan.meanX2X0);
96-
fwdtrack.propagateToVtxhelixWithMCS(vtx[2], {vtx[0], vtx[1]}, {vtxCov[0], vtxCov[1]}, Bz, x2x0);
96+
fwdtrack.propagateToVtxhelixWithMCS(vtx[2], {vtx[0], vtx[1]}, {vtxCov[0], vtxCov[1]}, bz, x2x0);
9797
propmuon.setParameters(fwdtrack.getParameters());
9898
propmuon.setZ(fwdtrack.getZ());
9999
propmuon.setCovariances(fwdtrack.getCovariances());
@@ -146,11 +146,11 @@ struct FwdTrackPropagation {
146146
// LOGP(info, "track {}, before: {} {} {} {} {} {}", t.globalIndex(), t.x(), t.y(), t.z(), t.phi(), t.tgl(), t.signed1Pt());
147147
// LOGP(info, "track {}, after: {} {} {} {} {} {}", t.globalIndex(), pft.getX(), pft.getY(), pft.getZ(), pft.getPhi(), pft.getTgl(), pft.getInvQPt());
148148
SMatrix55 cov = pft.getCovariances();
149-
float sigX = TMath::Sqrt(cov(0, 0));
150-
float sigY = TMath::Sqrt(cov(1, 1));
151-
float sigPhi = TMath::Sqrt(cov(2, 2));
152-
float sigTgl = TMath::Sqrt(cov(3, 3));
153-
float sig1Pt = TMath::Sqrt(cov(4, 4));
149+
float sigX = std::sqrt(cov(0, 0));
150+
float sigY = std::sqrt(cov(1, 1));
151+
float sigPhi = std::sqrt(cov(2, 2));
152+
float sigTgl = std::sqrt(cov(3, 3));
153+
float sig1Pt = std::sqrt(cov(4, 4));
154154
auto rhoXY = static_cast<int8_t>(128. * cov(0, 1) / (sigX * sigY));
155155
auto rhoPhiX = static_cast<int8_t>(128. * cov(0, 2) / (sigPhi * sigX));
156156
auto rhoPhiY = static_cast<int8_t>(128. * cov(1, 2) / (sigPhi * sigY));

PWGUD/TableProducer/upcCandProducerMuon.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
/// \file UpcCandProducerMuon.cxx
13-
/// \brief UPC candidate producer for forward muons without MFT
12+
/// \file upcCandProducerMuon.cxx
13+
/// \brief UPC candidate producer for forward muons without MFT
1414
/// \author Nazar Burmasov, nazar.burmasov@cern.ch
15-
/// \since 19.12.2025
15+
/// \since 19.12.2025
1616

1717
#include "PWGUD/Core/UPCCutparHolder.h"
1818
#include "PWGUD/Core/UPCHelpers.h"

0 commit comments

Comments
 (0)