Skip to content

Commit

Permalink
updateing PR with GP's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
theofil committed May 6, 2019
1 parent b5d07bc commit 26528c1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions L1Trigger/Phase2L1ParticleFlow/plugins/L1TPFProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,11 @@ L1TPFProducer::produce(edm::Event& iEvent, const edm::EventSetup& iSetup) {


/// ------ READ MUONS ----

/// ------- first check that not more than one version of muons (standaloneMu or trackerMu) is set to be used in l1pflow
if (useStandaloneMuons_ && useTrackerMuons_) {
throw cms::Exception("Configuration", "setting useStandaloneMuons=True && useTrackerMuons=True is not to be done, as it would duplicate all muons\n");
}


if(useStandaloneMuons_) {
edm::Handle<l1t::MuonBxCollection> muons;
iEvent.getByToken(muCands_, muons);
Expand All @@ -172,7 +170,6 @@ L1TPFProducer::produce(edm::Event& iEvent, const edm::EventSetup& iSetup) {
}
}


if(useTrackerMuons_) {
edm::Handle<l1t::L1TkMuonParticleCollection> muons;
iEvent.getByToken(tkMuCands_, muons);
Expand Down

0 comments on commit 26528c1

Please sign in to comment.