File indexing completed on 2025-02-07 14:24:12
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PFDisplacedVertexProducer(*args, **kwargs):
0004 mod = cms.EDProducer('PFDisplacedVertexProducer',
0005 vertexCandidatesLabel = cms.InputTag('particleFlowDisplacedVertexCandidate'),
0006 verbose = cms.untracked.bool(False),
0007 debug = cms.untracked.bool(False),
0008 transvSize = cms.double(1),
0009 longSize = cms.double(5),
0010 primaryVertexCut = cms.double(1.8),
0011 tobCut = cms.double(100),
0012 tecCut = cms.double(220),
0013 minAdaptWeight = cms.double(0.5),
0014 switchOff2TrackVertex = cms.untracked.bool(True),
0015 mainVertexLabel = cms.InputTag('offlinePrimaryVertices'),
0016 offlineBeamSpotLabel = cms.InputTag('offlineBeamSpot'),
0017 tracksSelectorParameters = cms.PSet(
0018 bSelectTracks = cms.bool(True),
0019 quality = cms.string('HighPurity'),
0020 nChi2_max = cms.double(5),
0021 pt_min = cms.double(0.2),
0022 nChi2_min = cms.double(0.5),
0023 dxy_min = cms.double(0.2),
0024 nHits_min = cms.int32(6),
0025 nOuterHits_max = cms.int32(9)
0026 ),
0027 vertexIdentifierParameters = cms.PSet(
0028 bIdentifyVertices = cms.bool(True),
0029 pt_min = cms.double(0.5),
0030 pt_kink_min = cms.double(3),
0031 logPrimSec_min = cms.double(0),
0032 looper_eta_max = cms.double(0.1),
0033 masses = cms.vdouble(
0034 0.05,
0035 0.485,
0036 0.515,
0037 0.48,
0038 0.52,
0039 1.107,
0040 1.125,
0041 0.2
0042 ),
0043 angles = cms.vdouble(
0044 15,
0045 15
0046 )
0047 ),
0048 avfParameters = cms.PSet(
0049 sigmacut = cms.double(6),
0050 Tini = cms.double(256),
0051 ratio = cms.double(0.25)
0052 ),
0053 mightGet = cms.optional.untracked.vstring
0054 )
0055 for a in args:
0056 mod.update_(a)
0057 mod.update_(kwargs)
0058 return mod