File indexing completed on 2024-04-06 12:24:34
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from RecoBTag.SecondaryVertex.vertexTrackSelection_cff import *
0004 from RecoBTag.SecondaryVertex.vertexReco_cff import *
0005 from RecoBTag.SecondaryVertex.vertexCuts_cff import *
0006 from RecoBTag.SecondaryVertex.vertexSelection_cff import *
0007
0008 secondaryVertexTagInfos = cms.EDProducer("SecondaryVertexProducer",
0009 vertexTrackSelectionBlock,
0010 vertexSelectionBlock,
0011 vertexCutsBlock,
0012 vertexRecoBlock,
0013 constraint = cms.string("BeamSpot"),
0014 trackIPTagInfos = cms.InputTag("impactParameterTagInfos"),
0015 minimumTrackWeight = cms.double(0.5),
0016 usePVError = cms.bool(True),
0017 trackSort = cms.string('sip3dSig'),
0018 beamSpotTag = cms.InputTag('offlineBeamSpot'),
0019 useExternalSV = cms.bool(False),
0020 extSVCollection = cms.InputTag('secondaryVertices'),
0021 extSVDeltaRToJet = cms.double(0.3)
0022
0023 )
0024
0025 secondaryVertexTagInfos.trackSelection.pixelHitsMin = cms.uint32(2)
0026 secondaryVertexTagInfos.trackSelection.totalHitsMin = cms.uint32(8)