CMS 3D CMS Logo

genParticleAssociation_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 packedPFCandidateToGenAssociation = cms.EDProducer("PackedCandidateGenAssociationProducer",
4  trackToGenAssoc = cms.InputTag("prunedTrackMCMatch"),
5 )
6 
7 lostTracksToGenAssociation = cms.EDProducer("PackedCandidateGenAssociationProducer",
8  trackToGenAssoc = cms.InputTag("prunedTrackMCMatch"),
9  trackToPackedCandidatesAssoc = cms.InputTag("lostTracks")
10 )
11 
12 packedCandidateToGenAssociationTask = cms.Task(packedPFCandidateToGenAssociation,lostTracksToGenAssociation)