CMS 3D CMS Logo

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