Skip to content

Commit

Permalink
Merge pull request #36324 from sbein/from-CMSSW_12_2_X_2021-11-14-0000
Browse files Browse the repository at this point in the history
FastSim LL fix missing ! in beam pipe radius check.
  • Loading branch information
cmsbuild authored Dec 1, 2021
2 parents 8fa87a9 + aa324b0 commit a222dc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ std::unique_ptr<fastsim::Particle> fastsim::ParticleManager::nextGenParticle() {
int exoticRelativeId = 0;
const bool producedWithinBeamPipe =
productionVertex->position().perp2() * lengthUnitConversionFactor2_ < beamPipeRadius2_;
if (producedWithinBeamPipe) {
if (!producedWithinBeamPipe) {
exoticRelativesChecker(productionVertex, exoticRelativeId, 0);
if (!isExotic(exoticRelativeId)) {
continue;
Expand Down

0 comments on commit a222dc9

Please sign in to comment.