Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-26 04:08:58

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 )