Skip to content

Commit

Permalink
apply code format
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Nov 30, 2022
1 parent 46a5404 commit 4eb5f1e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DQMOffline/Trigger/plugins/HLTMuonOfflineAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void HLTMuonOfflineAnalyzer::dqmBeginRun(const edm::Run &iRun, const edm::EventS
set<string>::iterator iPath;
vector<string>::const_iterator ilabel;
for (iPath = hltPaths.begin(); iPath != hltPaths.end(); iPath++) {
const string& path = *iPath;
const string &path = *iPath;
vector<string> labels = moduleLabels(path);
bool isLastLabel = false;
for (ilabel = labels.begin(); ilabel != labels.end(); ilabel++) {
Expand Down
2 changes: 1 addition & 1 deletion HLTriggerOffline/Exotica/src/HLTExoticaSubAnalysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ void HLTExoticaSubAnalysis::beginRun(const edm::Run &iRun, const edm::EventSetup
_plotters.clear();
for (std::set<std::string>::iterator iPath = _hltPaths.begin(); iPath != _hltPaths.end(); ++iPath) {
// Avoiding the dependence of the version number for the trigger paths
const std::string& path = *iPath;
const std::string &path = *iPath;
std::string shortpath = path;
if (path.rfind("_v") < path.length()) {
shortpath = path.substr(0, path.rfind("_v"));
Expand Down
2 changes: 1 addition & 1 deletion HLTriggerOffline/Muon/src/HLTMuonValidator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void HLTMuonValidator::dqmBeginRun(const edm::Run &iRun, const edm::EventSetup &
analyzers_.clear();
set<string>::iterator iPath;
for (iPath = hltPaths.begin(); iPath != hltPaths.end(); iPath++) {
const string& path = *iPath;
const string &path = *iPath;
string shortpath = path;
if (path.rfind("_v") < path.length())
shortpath = path.substr(0, path.rfind("_v"));
Expand Down
2 changes: 1 addition & 1 deletion Validation/RecoEgamma/plugins/ElectronMcFakeValidator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2410,7 +2410,7 @@ void ElectronMcFakeValidator::analyze(const edm::Event &iEvent, const edm::Event

// get the beamspot from the Event:
auto recoBeamSpotHandle = iEvent.getHandle(beamSpotTag_);
const BeamSpot& bs = *recoBeamSpotHandle;
const BeamSpot &bs = *recoBeamSpotHandle;

auto isoFromDepsTk03Handle = iEvent.getHandle(isoFromDepsTk03Tag_);
auto isoFromDepsTk04Handle = iEvent.getHandle(isoFromDepsTk04Tag_);
Expand Down

0 comments on commit 4eb5f1e

Please sign in to comment.