diff --git a/Core/include/Acts/EventData/detail/CorrectedTransformationFreeToBound.hpp b/Core/include/Acts/EventData/detail/CorrectedTransformationFreeToBound.hpp index 43dfbadaba5..ffe9a4f15a9 100644 --- a/Core/include/Acts/EventData/detail/CorrectedTransformationFreeToBound.hpp +++ b/Core/include/Acts/EventData/detail/CorrectedTransformationFreeToBound.hpp @@ -22,11 +22,11 @@ struct CorrectedFreeToBoundTransformer { ActsScalar alpha = 0.1; ActsScalar beta = 2; - // The maximum incident angle (i.e. mininum cos incident angle) cutoff for + // The maximum incident angle (i.e. minimum cos incident angle) cutoff for // correction ActsScalar cosIncidentAngleMinCutoff = 1e-5; - // The minimum incident angle (i.e. mininum cos incident angle) cutoff for + // The minimum incident angle (i.e. maximum cos incident angle) cutoff for // correction cos(0.1) = 0.99500417 ActsScalar cosIncidentAngleMaxCutoff = 0.99500417; diff --git a/Core/src/EventData/CorrectedTransformationFreeToBound.cpp b/Core/src/EventData/CorrectedTransformationFreeToBound.cpp index 206e94faac0..bb876b359cc 100644 --- a/Core/src/EventData/CorrectedTransformationFreeToBound.cpp +++ b/Core/src/EventData/CorrectedTransformationFreeToBound.cpp @@ -80,16 +80,16 @@ Acts::detail::CorrectedFreeToBoundTransformer::operator()( std::vector> transformedBoundParams; // 1. The nominal one - const auto& [params_, mweight_, cweight_] = sampledFreeParams[0]; + const auto& [paramsNom, mweightNom, cweightNom] = sampledFreeParams[0]; // Transform the free to bound auto nominalRes = - detail::transformFreeToBoundParameters(params_, surface, geoContext); + detail::transformFreeToBoundParameters(paramsNom, surface, geoContext); if (not nominalRes.ok()) { return std::nullopt; } auto nominalBound = nominalRes.value(); - transformedBoundParams.push_back({nominalBound, cweight_}); - bpMean = bpMean + mweight_ * nominalBound; + transformedBoundParams.push_back({nominalBound, cweightNom}); + bpMean = bpMean + mweightNom * nominalBound; // 2. Loop over the rest sample points of the free parameters to get the // weighted bound parameters diff --git a/Examples/Scripts/Python/truth_tracking.py b/Examples/Scripts/Python/truth_tracking.py index a1e0de11646..06b507db1ce 100755 --- a/Examples/Scripts/Python/truth_tracking.py +++ b/Examples/Scripts/Python/truth_tracking.py @@ -152,7 +152,7 @@ def runTruthTracking( directNavigation=directNavigation, multipleScattering=True, energyLoss=True, - globalToLocalCorrection=False, + freeToBoundCorrection=False, pickTrack=-1, reverseFilteringMomThreshold=reverseFilteringMomThreshold, trackingGeometry=trackingGeometry,