1
2
3
4
5
6
7
8
9
|
import FWCore.ParameterSet.Config as cms
from CommonTools.ParticleFlow.pfNoPileUpJME_cff import primaryVertexAssociationJME
pfCHS = cms.EDFilter("CandPtrSelector",
src = cms.InputTag("packedPFCandidates"),
cut = cms.string("fromPV(0)>0 || (vertexRef().key<={} && abs(dz(0))<{})".format(
primaryVertexAssociationJME.assignment.NumOfPUVtxsForCharged.value(),
primaryVertexAssociationJME.assignment.DzCutForChargedFromPUVtxs.value()))
)
|