Skip to content

Commit

Permalink
fix issue 35036 in MuonIdProducer: code-checks patch
Browse files Browse the repository at this point in the history
  • Loading branch information
trocino committed Sep 16, 2021
1 parent a86a0ca commit 2577c56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions RecoMuon/MuonIdentification/plugins/MuonIdProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ MuonIdProducer::MuonIdProducer(const edm::ParameterSet& iConfig)
if (fillShowerDigis_ && fillMatching_) {
edm::ParameterSet showerDigiParameters = iConfig.getParameter<edm::ParameterSet>("ShowerDigiFillerParameters");
theShowerDigiFiller_ = std::make_unique<MuonShowerDigiFiller>(showerDigiParameters, consumesCollector());
}
else {
theShowerDigiFiller_ = std::make_unique<MuonShowerDigiFiller>(); // to be used to call fillDefault only
} else {
theShowerDigiFiller_ = std::make_unique<MuonShowerDigiFiller>(); // to be used to call fillDefault only
}

if (fillCaloCompatibility_) {
Expand Down

0 comments on commit 2577c56

Please sign in to comment.