From 413fb93c0ebde57e95808fb140d9ebc9eff836ca Mon Sep 17 00:00:00 2001 From: Kumar Yash Date: Wed, 24 Apr 2024 08:42:04 +0200 Subject: [PATCH] High pT Tracks Solved: Backporting to CMSSW_14_0_X --- FastSimulation/SimplifiedGeometryPropagator/src/Trajectory.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/FastSimulation/SimplifiedGeometryPropagator/src/Trajectory.cc b/FastSimulation/SimplifiedGeometryPropagator/src/Trajectory.cc index b3512be273ba6..17b44bb551cae 100644 --- a/FastSimulation/SimplifiedGeometryPropagator/src/Trajectory.cc +++ b/FastSimulation/SimplifiedGeometryPropagator/src/Trajectory.cc @@ -19,10 +19,6 @@ std::unique_ptr fastsim::Trajectory::createTrajectory(const if (particle.charge() == 0. || magneticFieldZ == 0.) { LogDebug("FastSim") << "create straight trajectory"; return std::unique_ptr(new fastsim::StraightTrajectory(particle)); - } else if (std::abs(particle.momentum().Pt() / - (fastsim::Constants::speedOfLight * 1e-4 * particle.charge() * magneticFieldZ)) > 1e5) { - LogDebug("FastSim") << "create straight trajectory (huge radius)"; - return std::unique_ptr(new fastsim::StraightTrajectory(particle)); } else { LogDebug("FastSim") << "create helix trajectory"; return std::unique_ptr(new fastsim::HelixTrajectory(particle, magneticFieldZ));