CMS 3D CMS Logo

primaryVertexAssociation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 primaryVertexAssociation = cms.EDProducer("PFCandidatePrimaryVertexSorter",
3  sorting = cms.PSet(),
4  assignment = cms.PSet(
5  #cuts to assign primary tracks not used in PV fit based on dZ compatibility
6  maxDzSigForPrimaryAssignment = cms.double(5.0), # in OR with next
7  maxDzForPrimaryAssignment = cms.double(0.03), # in OR with prev
8 
9  # cuts used to recover b-tracks if they are closed to jet axis
10  maxJetDeltaR = cms.double(0.5),
11  minJetPt = cms.double(25),
12  maxDistanceToJetAxis = cms.double(0.07), # std cut in b-tag is 700um
13  maxDzForJetAxisAssigment = cms.double(0.1), # 1mm, because b-track IP is boost invariant
14  maxDxyForJetAxisAssigment = cms.double(0.1), # 1mm, because b-track IP is boost invariant
15 
16  #cuts used to identify primary tracks compatible with beamspot
17  maxDxySigForNotReconstructedPrimary = cms.double(2), #in AND with next
18  maxDxyForNotReconstructedPrimary = cms.double(0.01), #in AND with prev
19  ),
20  particles = cms.InputTag("particleFlow"),
21  vertices= cms.InputTag("offlinePrimaryVertices"),
22  jets= cms.InputTag("ak4PFJets"),
23  qualityForPrimary = cms.int32(2),
24  usePVMET = cms.bool(True),
25  produceAssociationToOriginalVertices = cms.bool(True),
26  produceSortedVertices = cms.bool(False),
27  producePileUpCollection = cms.bool(False),
28  produceNoPileUpCollection = cms.bool(False),
29 
30 )
31