Skip to content

Commit

Permalink
code-checks/format
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Mar 10, 2021
1 parent 7f98be5 commit ab3b841
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions DQMServices/StreamerIO/plugins/DQMFileIterator.cc
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ namespace dqmservices {
std::vector<std::string> tokens;
boost::split(tokens, runInputDir_, boost::is_any_of(":"));

for (auto token : tokens) {
for (const auto& token : tokens) {
runPath_.push_back(fmt::sprintf("%s/run%06d", token, runNumber_));
}

@@ -182,7 +182,7 @@ namespace dqmservices {
unsigned DQMFileIterator::mtimeHash() const {
unsigned mtime_now = 0;

for (auto path : runPath_) {
for (const auto& path : runPath_) {
if (!std::filesystem::exists(path))
continue;

@@ -224,7 +224,7 @@ namespace dqmservices {

std::string fn_eor;

for (auto runPath : runPath_) {
for (const auto& runPath : runPath_) {
if (!std::filesystem::exists(runPath)) {
logFileAction("Directory does not exist: ", runPath);

1 change: 0 additions & 1 deletion RecoLuminosity/LumiProducer/plugins/DIPLumiProducer.cc
Original file line number Diff line number Diff line change
@@ -56,7 +56,6 @@ Description: A essource/esproducer for lumi values from DIP via runtime logger D
#include "Utilities/Xerces/interface/Xerces.h"
#include <xercesc/util/XMLString.hpp>


DIPLumiProducer::DIPLumiProducer(const edm::ParameterSet& iConfig)
: m_connectStr(""), m_summarycachedrun(0), m_detailcachedrun(0), m_cachesize(0) {
setWhatProduced(this, &DIPLumiProducer::produceSummary);

0 comments on commit ab3b841

Please sign in to comment.