CMS 3D CMS Logo

primaryVertexAssociation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from CommonTools.RecoAlgos.sortedPFPrimaryVertices_cfi import sortedPFPrimaryVertices
3 
4 primaryVertexAssociation = sortedPFPrimaryVertices.clone(
5  qualityForPrimary = cms.int32(2),
6  produceSortedVertices = cms.bool(False),
7  producePileUpCollection = cms.bool(False),
8  produceNoPileUpCollection = cms.bool(False)
9 )
10 
11 from Configuration.ProcessModifiers.run2_miniAOD_pp_on_AA_103X_cff import run2_miniAOD_pp_on_AA_103X
12 run2_miniAOD_pp_on_AA_103X.toModify(primaryVertexAssociation,particles = "cleanedParticleFlow")
13 primaryVertexAssociationCleaned = primaryVertexAssociation.clone(particles = "cleanedParticleFlow:removed")