Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:07

0001 import FWCore.ParameterSet.Config as cms
0002 from CommonTools.ParticleFlow.pfNoPileUpJME_cff import primaryVertexAssociationJME
0003 
0004 pfCHS = cms.EDFilter("CandPtrSelector",
0005               src = cms.InputTag("packedPFCandidates"),
0006               cut = cms.string("fromPV(0)>0 || (vertexRef().key<={} && abs(dz(0))<{})".format(
0007                   primaryVertexAssociationJME.assignment.NumOfPUVtxsForCharged.value(),
0008                   primaryVertexAssociationJME.assignment.DzCutForChargedFromPUVtxs.value()))
0009 )