1 import FWCore.ParameterSet.Config
as cms
11 primaryVertexAssociationJME = primaryVertexAssociation.clone(vertices =
'goodOfflinePrimaryVertices')
12 primaryVertexAssociationJME.assignment.maxDzSigForPrimaryAssignment = 1e10
13 primaryVertexAssociationJME.assignment.maxDzForPrimaryAssignment = 0.3
14 primaryVertexAssociationJME.assignment.maxDzErrorForPrimaryAssignment = 1e10
15 primaryVertexAssociationJME.assignment.NumOfPUVtxsForCharged = 2
16 primaryVertexAssociationJME.assignment.DzCutForChargedFromPUVtxs = 0.2
17 primaryVertexAssociationJME.assignment.PtMaxCharged = 20.
18 primaryVertexAssociationJME.assignment.EtaMinUseDz = 2.4
19 primaryVertexAssociationJME.assignment.OnlyUseFirstDz =
True 20 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
21 phase2_common.toModify(
22 primaryVertexAssociationJME.assignment,
23 maxDzForPrimaryAssignment=0.1,
27 pfPileUpJME = _pfPileUp.clone(PFCandidates=
'particleFlowPtrs',
28 Vertices =
'goodOfflinePrimaryVertices',
29 checkClosestZVertex =
False,
30 NumOfPUVtxsForCharged = primaryVertexAssociationJME.assignment.NumOfPUVtxsForCharged,
31 DzCutForChargedFromPUVtxs = primaryVertexAssociationJME.assignment.DzCutForChargedFromPUVtxs,
33 pfNoPileUpJME = _pfNoPileUp.clone(topCollection =
'pfPileUpJME',
34 bottomCollection =
'particleFlowPtrs' )
36 pfNoPileUpJMETask = cms.Task(
37 goodOfflinePrimaryVertices,
42 pfNoPileUpJMESequence = cms.Sequence(pfNoPileUpJMETask)