Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-23 03:28:26

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PFDisplacedVertexCandidateProducer(*args, **kwargs):
0004   mod = cms.EDProducer('PFDisplacedVertexCandidateProducer',
0005     trackCollection = cms.InputTag('generalTracks'),
0006     verbose = cms.untracked.bool(False),
0007     debug = cms.untracked.bool(False),
0008     dcaCut = cms.double(0.5),
0009     primaryVertexCut = cms.double(1.8),
0010     dcaPInnerHitCut = cms.double(1000),
0011     mainVertexLabel = cms.InputTag('offlinePrimaryVertices'),
0012     offlineBeamSpotLabel = cms.InputTag('offlineBeamSpot'),
0013     tracksSelectorParameters = cms.PSet(
0014       nChi2_max = cms.double(5),
0015       pt_min = cms.double(0.2),
0016       pt_min_prim = cms.double(0.8),
0017       dxy = cms.double(0.2),
0018       qoverpError_max = cms.double(10000000)
0019     ),
0020     mightGet = cms.optional.untracked.vstring
0021   )
0022   for a in args:
0023     mod.update_(a)
0024   mod.update_(kwargs)
0025   return mod