diff --git a/EgammaAnalysis/ElectronTools/plugins/PhotonIsoProducer.cc b/EgammaAnalysis/ElectronTools/plugins/PhotonIsoProducer.cc index 8efbd7bd3838a..e8b2ac31e5eb0 100644 --- a/EgammaAnalysis/ElectronTools/plugins/PhotonIsoProducer.cc +++ b/EgammaAnalysis/ElectronTools/plugins/PhotonIsoProducer.cc @@ -117,13 +117,10 @@ bool PhotonIsoProducer::filter(edm::Event& iEvent, const edm::EventSetup& iSetup isolator.fGetIsolation(&*aPho, &thePfColl, myVtxRef, vertexCollection); if (verbose_) { - edm::LogPrint("PhotonIsoProducer") << " run " << iEvent.id().run() - << " lumi " << iEvent.id().luminosityBlock() - << " event " << iEvent.id().event(); - edm::LogPrint("PhotonIsoProducer") << " pt " << aPho->pt() - << " eta " << aPho->eta() - << " phi " << aPho->phi() - << " charge " << aPho->charge() << " : "; + edm::LogPrint("PhotonIsoProducer") << " run " << iEvent.id().run() << " lumi " << iEvent.id().luminosityBlock() + << " event " << iEvent.id().event(); + edm::LogPrint("PhotonIsoProducer") << " pt " << aPho->pt() << " eta " << aPho->eta() << " phi " << aPho->phi() + << " charge " << aPho->charge() << " : "; edm::LogPrint("PhotonIsoProducer") << " ChargedIso " << isolator.getIsolationCharged(); edm::LogPrint("PhotonIsoProducer") << " PhotonIso " << isolator.getIsolationPhoton(); diff --git a/EgammaAnalysis/ElectronTools/plugins/RegressionEnergyPatElectronProducer.cc b/EgammaAnalysis/ElectronTools/plugins/RegressionEnergyPatElectronProducer.cc index dbc728b259b81..0059f6e563716 100644 --- a/EgammaAnalysis/ElectronTools/plugins/RegressionEnergyPatElectronProducer.cc +++ b/EgammaAnalysis/ElectronTools/plugins/RegressionEnergyPatElectronProducer.cc @@ -43,7 +43,9 @@ RegressionEnergyPatElectronProducer::RegressionEnergyPatElectronProducer(const e } if (inputCollectionType_ == 0 && !produceValueMaps_) { - edm::LogPrint("RegressionEnergyPatElectronProducer") << " You are running on GsfElectrons and the producer is not configured to produce ValueMaps with the results. In that case, it does not nothing !! "; + edm::LogPrint("RegressionEnergyPatElectronProducer") + << " You are running on GsfElectrons and the producer is not configured to produce ValueMaps with the results. " + "In that case, it does not nothing !! "; } if (inputCollectionType_ == 0) { @@ -52,7 +54,7 @@ RegressionEnergyPatElectronProducer::RegressionEnergyPatElectronProducer(const e produces(); } else { throw cms::Exception("InconsistentParameters") - << " inputCollectionType should be either 0 (GsfElectrons) or 1 (pat::Electrons) " ; + << " inputCollectionType should be either 0 (GsfElectrons) or 1 (pat::Electrons) "; } //set regression type @@ -79,7 +81,7 @@ RegressionEnergyPatElectronProducer::RegressionEnergyPatElectronProducer(const e geomInitialized_ = false; - edm::LogPrint("RegressionEnergyPatElectronProducer") << " Finished initialization " ; + edm::LogPrint("RegressionEnergyPatElectronProducer") << " Finished initialization "; } RegressionEnergyPatElectronProducer::~RegressionEnergyPatElectronProducer() { delete regressionEvaluator_; } @@ -157,10 +159,13 @@ void RegressionEnergyPatElectronProducer::produce(edm::Event& event, const edm:: for (unsigned iele = 0; iele < nElectrons_; ++iele) { const reco::GsfElectron* ele = (inputCollectionType_ == 0) ? &(*gsfCollectionH)[iele] : &(*patCollectionH)[iele]; if (debug_) { - edm::LogPrint("RegressionEnergyPatElectronProducer") << "***********************************************************************\n"; - edm::LogPrint("RegressionEnergyPatElectronProducer") << "Run Lumi Event: " << event.id().run() << " " << event.luminosityBlock() << " " << event.id().event() - << "\n"; - edm::LogPrint("RegressionEnergyPatElectronProducer") << "Pat Electron : " << ele->pt() << " " << ele->eta() << " " << ele->phi() << "\n"; + edm::LogPrint("RegressionEnergyPatElectronProducer") + << "***********************************************************************\n"; + edm::LogPrint("RegressionEnergyPatElectronProducer") + << "Run Lumi Event: " << event.id().run() << " " << event.luminosityBlock() << " " << event.id().event() + << "\n"; + edm::LogPrint("RegressionEnergyPatElectronProducer") + << "Pat Electron : " << ele->pt() << " " << ele->eta() << " " << ele->phi() << "\n"; } pat::Electron* myPatElectron = (inputCollectionType_ == 0) ? nullptr : new pat::Electron((*patCollectionH)[iele]); @@ -511,7 +516,8 @@ void RegressionEnergyPatElectronProducer::produce(edm::Event& event, const edm:: energyValues.push_back(RegressionMomentum); energyErrorValues.push_back(RegressionMomentumError); } else { - edm::LogPrint("RegressionEnergyPatElectronProducer") << "Error: RegressionType = " << energyRegressionType_ << " is not supported.\n"; + edm::LogPrint("RegressionEnergyPatElectronProducer") + << "Error: RegressionType = " << energyRegressionType_ << " is not supported.\n"; } if (inputCollectionType_ == 1) {