From 2fe14d6b98fa4c99cf0ecd947dd9614d7507a2f0 Mon Sep 17 00:00:00 2001 From: sbein Date: Wed, 1 Dec 2021 00:12:51 +0100 Subject: [PATCH] ran formatting again --- .../SimplifiedGeometryPropagator/src/ParticleManager.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/FastSimulation/SimplifiedGeometryPropagator/src/ParticleManager.cc b/FastSimulation/SimplifiedGeometryPropagator/src/ParticleManager.cc index afe144d60c654..509ef1cee4df6 100644 --- a/FastSimulation/SimplifiedGeometryPropagator/src/ParticleManager.cc +++ b/FastSimulation/SimplifiedGeometryPropagator/src/ParticleManager.cc @@ -216,9 +216,9 @@ std::unique_ptr fastsim::ParticleManager::nextGenParticle() { } // particles which do not descend from exotics must be produced within the beampipe int exoticRelativeId = 0; - const bool producedWithinBeamPipe = productionVertex->position().perp2() * lengthUnitConversionFactor2_ < beamPipeRadius2_; - if (producedWithinBeamPipe) - { + const bool producedWithinBeamPipe = + productionVertex->position().perp2() * lengthUnitConversionFactor2_ < beamPipeRadius2_; + if (producedWithinBeamPipe) { exoticRelativesChecker(productionVertex, exoticRelativeId, 0); if (!isExotic(exoticRelativeId)) { continue; @@ -226,7 +226,8 @@ std::unique_ptr fastsim::ParticleManager::nextGenParticle() { } // FastSim will not make hits out of particles that decay before reaching the beam pipe - const bool decayedWithinBeamPipe = endVertex && endVertex->position().perp2() * lengthUnitConversionFactor2_ < beamPipeRadius2_; + const bool decayedWithinBeamPipe = + endVertex && endVertex->position().perp2() * lengthUnitConversionFactor2_ < beamPipeRadius2_; if (decayedWithinBeamPipe) { continue; }