1 import FWCore.ParameterSet.Config
as cms
2 from CommonTools.RecoAlgos.sortedPFPrimaryVertices_cfi
import sortedPFPrimaryVertices
4 primaryVertexAssociation = sortedPFPrimaryVertices.clone(
6 produceSortedVertices =
False,
7 producePileUpCollection =
False,
8 produceNoPileUpCollection =
False 11 primaryVertexWithBSAssociation = primaryVertexAssociation.clone(
12 vertices =
"offlinePrimaryVerticesWithBS" 15 from Configuration.ProcessModifiers.run2_miniAOD_pp_on_AA_103X_cff
import run2_miniAOD_pp_on_AA_103X
16 run2_miniAOD_pp_on_AA_103X.toModify(primaryVertexAssociation,particles =
"cleanedParticleFlow")
17 primaryVertexAssociationCleaned = primaryVertexAssociation.clone(particles =
"cleanedParticleFlow:removed")
19 run2_miniAOD_pp_on_AA_103X.toModify(primaryVertexWithBSAssociation,particles =
"cleanedParticleFlow")
20 primaryVertexWithBSAssociationCleaned = primaryVertexWithBSAssociation.clone(particles =
"cleanedParticleFlow:removed")