From f7373e5dbc4ab73d9b56920d6450b143d1587e72 Mon Sep 17 00:00:00 2001 From: Tanmay Mudholkar Date: Thu, 11 Jun 2020 23:02:33 +0200 Subject: [PATCH] Further minor style changes to make code pass CMSSW code style checks. --- DQM/EcalMonitorTasks/interface/EcalDQMonitorTask.h | 1 - DQM/EcalMonitorTasks/plugins/EcalDQMonitorTask.cc | 4 +--- DQM/EcalMonitorTasks/src/PresampleTask.cc | 3 +-- DQM/EcalMonitorTasks/src/TimingTask.cc | 3 +-- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/DQM/EcalMonitorTasks/interface/EcalDQMonitorTask.h b/DQM/EcalMonitorTasks/interface/EcalDQMonitorTask.h index 0446e191616c0..97a3f322a33d8 100644 --- a/DQM/EcalMonitorTasks/interface/EcalDQMonitorTask.h +++ b/DQM/EcalMonitorTasks/interface/EcalDQMonitorTask.h @@ -44,7 +44,6 @@ class EcalDQMonitorTask : public DQMOneEDAnalyzer<>, public ecaldqm::EcalDQMonit std::vector > schedule_; // schedule of collections to run bool allowMissingCollections_; // when true, skip missing collections silently int processedEvents_; - }; #endif diff --git a/DQM/EcalMonitorTasks/plugins/EcalDQMonitorTask.cc b/DQM/EcalMonitorTasks/plugins/EcalDQMonitorTask.cc index cd59312e23d03..6c803730d8736 100644 --- a/DQM/EcalMonitorTasks/plugins/EcalDQMonitorTask.cc +++ b/DQM/EcalMonitorTasks/plugins/EcalDQMonitorTask.cc @@ -29,8 +29,7 @@ EcalDQMonitorTask::EcalDQMonitorTask(edm::ParameterSet const& _ps) ecaldqm::EcalDQMonitor(_ps), schedule_(), allowMissingCollections_(_ps.getUntrackedParameter("allowMissingCollections")), - processedEvents_(0) -{ + processedEvents_(0) { ecaldqm::DependencySet dependencies; std::bitset hasTaskToRun; edm::ConsumesCollector collector(consumesCollector()); @@ -69,7 +68,6 @@ EcalDQMonitorTask::EcalDQMonitorTask(edm::ParameterSet const& _ps) ss << ecaldqm::collectionName[schedule_[iCol].second] << std::endl; edm::LogInfo("EcalDQM") << ss.str(); } - } /*static*/ diff --git a/DQM/EcalMonitorTasks/src/PresampleTask.cc b/DQM/EcalMonitorTasks/src/PresampleTask.cc index fb8d38476df0d..3a19ca8594a33 100644 --- a/DQM/EcalMonitorTasks/src/PresampleTask.cc +++ b/DQM/EcalMonitorTasks/src/PresampleTask.cc @@ -7,8 +7,7 @@ #include "FWCore/ParameterSet/interface/ParameterSet.h" namespace ecaldqm { - PresampleTask::PresampleTask() - : DQWorkerTask(), doPulseMaxCheck_(true), pulseMaxPosition_(0), nSamples_(0) {} + PresampleTask::PresampleTask() : DQWorkerTask(), doPulseMaxCheck_(true), pulseMaxPosition_(0), nSamples_(0) {} void PresampleTask::setParams(edm::ParameterSet const& _params) { doPulseMaxCheck_ = _params.getUntrackedParameter("doPulseMaxCheck"); diff --git a/DQM/EcalMonitorTasks/src/TimingTask.cc b/DQM/EcalMonitorTasks/src/TimingTask.cc index ef671b10ac65b..9bbd90cf70c39 100644 --- a/DQM/EcalMonitorTasks/src/TimingTask.cc +++ b/DQM/EcalMonitorTasks/src/TimingTask.cc @@ -20,8 +20,7 @@ namespace ecaldqm { energyThresholdEE_(0.), energyThresholdEEFwd_(0.), timingVsBXThreshold_(0.), - timeErrorThreshold_(0.) - {} + timeErrorThreshold_(0.) {} void TimingTask::setParams(edm::ParameterSet const& _params) { bxBinEdges_ = onlineMode_ ? _params.getUntrackedParameter >("bxBins")