diff --git a/Validation/MtdValidation/plugins/Primary4DVertexValidation.cc b/Validation/MtdValidation/plugins/Primary4DVertexValidation.cc index 02c278ae3fbb2..217ab75dc329d 100644 --- a/Validation/MtdValidation/plugins/Primary4DVertexValidation.cc +++ b/Validation/MtdValidation/plugins/Primary4DVertexValidation.cc @@ -1591,7 +1591,9 @@ void Primary4DVertexValidation::analyze(const edm::Event& iEvent, const edm::Eve //fill vertices histograms here in a new loop for (unsigned int is = 0; is < simpv.size(); is++) { // protect against particle guns with very displaced vertices - if ( std::isinf(1. / puLineDensity(simpv.at(is).z)) ) { continue; } + if (std::isinf(1. / puLineDensity(simpv.at(is).z))) { + continue; + } meSimPVZ_->Fill(simpv.at(is).z, 1. / puLineDensity(simpv.at(is).z)); if (is == 0 && optionalPlots_) { meSimPosInSimOrigCollection_->Fill(simpv.at(is).OriginalIndex);