Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High pT Tracks Solved: Backporting to CMSSW_13_0_X #44826

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions FastSimulation/SimplifiedGeometryPropagator/src/Trajectory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ std::unique_ptr<fastsim::Trajectory> fastsim::Trajectory::createTrajectory(const
if (particle.charge() == 0. || magneticFieldZ == 0.) {
LogDebug("FastSim") << "create straight trajectory";
return std::unique_ptr<fastsim::Trajectory>(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<fastsim::Trajectory>(new fastsim::StraightTrajectory(particle));
} else {
LogDebug("FastSim") << "create helix trajectory";
return std::unique_ptr<fastsim::Trajectory>(new fastsim::HelixTrajectory(particle, magneticFieldZ));
Expand Down