@@ -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));
0 commit comments