Skip to content

Commit

Permalink
Merge pull request #37613 from mmusich/fixCMSType
Browse files Browse the repository at this point in the history
fix the cms EDModule type of `GenParticleMatchMerger`
  • Loading branch information
cmsbuild authored Apr 21, 2022
2 parents bdbc38b + f68a4df commit 7f23063
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions SimTracker/TrackAssociation/python/allTrackMCMatch_cfi.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import FWCore.ParameterSet.Config as cms

allTrackMCMatch = cms.EDFilter("GenParticleMatchMerger",
src = cms.VInputTag(cms.InputTag("trackMCMatch"), cms.InputTag("standAloneMuonsMCMatch"), cms.InputTag("globalMuonsMCMatch"))
)
allTrackMCMatch = cms.EDProducer("GenParticleMatchMerger",
src = cms.VInputTag(cms.InputTag("trackMCMatch"),
cms.InputTag("standAloneMuonsMCMatch"),
cms.InputTag("globalMuonsMCMatch")))


3 changes: 2 additions & 1 deletion SimTracker/TrackAssociation/python/globalMuonsMCMatch_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
trackingParticles = cms.InputTag("mix","MergedTrackTruth"),
tracks = cms.InputTag("globalMuons"),
genParticles = cms.InputTag("genParticles"),
associator = cms.InputTag('trackAssociatorByHits')
associator = cms.string('trackAssociatorByHits'),
throwOnMissingTPCollection = cms.bool(True)
)


Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
trackingParticles = cms.InputTag("mix","MergedTrackTruth"),
tracks = cms.InputTag("standAloneMuons"),
genParticles = cms.InputTag("genParticles"),
associator = cms.InputTag('trackAssociatorByHits')
associator = cms.string('trackAssociatorByHits'),
throwOnMissingTPCollection = cms.bool(True)
)


2 changes: 1 addition & 1 deletion SimTracker/TrackAssociation/python/trackMCMatch_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
trackingParticles = cms.InputTag("mix","MergedTrackTruth"),
tracks = cms.InputTag("generalTracks"),
genParticles = cms.InputTag("genParticles"),
associator = cms.string('TrackAssociatorByHits'),
associator = cms.string('trackAssociatorByHits'),
throwOnMissingTPCollection = cms.bool(True)
)

Expand Down

0 comments on commit 7f23063

Please sign in to comment.