Skip to content

Commit

Permalink
Merge pull request #37313 from jeongeun/patch-12
Browse files Browse the repository at this point in the history
Clean up redundant edm ParameterSet existAs or exist in RecoMET
  • Loading branch information
cmsbuild authored Mar 28, 2022
2 parents f65bd9c + f798303 commit 70d6ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecoMET/METProducers/src/PFMETProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace cms {
rhoToken_ = consumes<double>(iConfig.getParameter<edm::InputTag>("srcRho"));
}

std::string alias = iConfig.exists("alias") ? iConfig.getParameter<std::string>("alias") : "";
std::string alias = iConfig.getParameter<std::string>("alias");

produces<reco::PFMETCollection>().setBranchAlias(alias);
}
Expand Down

0 comments on commit 70d6ab7

Please sign in to comment.