Skip to content

Commit

Permalink
Further minor style changes to make code pass CMSSW code style checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmaymudholkar committed Jun 11, 2020
1 parent cbdce40 commit f7373e5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion DQM/EcalMonitorTasks/interface/EcalDQMonitorTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ class EcalDQMonitorTask : public DQMOneEDAnalyzer<>, public ecaldqm::EcalDQMonit
std::vector<std::pair<Processor, ecaldqm::Collections> > schedule_; // schedule of collections to run
bool allowMissingCollections_; // when true, skip missing collections silently
int processedEvents_;

};

#endif
4 changes: 1 addition & 3 deletions DQM/EcalMonitorTasks/plugins/EcalDQMonitorTask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ EcalDQMonitorTask::EcalDQMonitorTask(edm::ParameterSet const& _ps)
ecaldqm::EcalDQMonitor(_ps),
schedule_(),
allowMissingCollections_(_ps.getUntrackedParameter<bool>("allowMissingCollections")),
processedEvents_(0)
{
processedEvents_(0) {
ecaldqm::DependencySet dependencies;
std::bitset<ecaldqm::nCollections> hasTaskToRun;
edm::ConsumesCollector collector(consumesCollector());
Expand Down Expand Up @@ -69,7 +68,6 @@ EcalDQMonitorTask::EcalDQMonitorTask(edm::ParameterSet const& _ps)
ss << ecaldqm::collectionName[schedule_[iCol].second] << std::endl;
edm::LogInfo("EcalDQM") << ss.str();
}

}

/*static*/
Expand Down
3 changes: 1 addition & 2 deletions DQM/EcalMonitorTasks/src/PresampleTask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool>("doPulseMaxCheck");
Expand Down
3 changes: 1 addition & 2 deletions DQM/EcalMonitorTasks/src/TimingTask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::vector<int> >("bxBins")
Expand Down

0 comments on commit f7373e5

Please sign in to comment.