File indexing completed on 2024-09-26 05:06:24
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def VertexAssociatorByTracksProducer(*args, **kwargs):
0004 mod = cms.EDProducer('VertexAssociatorByTracksProducer',
0005 R2SMatchedSimRatio = cms.double(0.3),
0006 R2SMatchedRecoRatio = cms.double(0),
0007 S2RMatchedSimRatio = cms.double(0),
0008 S2RMatchedRecoRatio = cms.double(0.3),
0009 trackQuality = cms.string('highPurity'),
0010 trackingParticleSelector = cms.PSet(
0011 lipTP = cms.double(30),
0012 chargedOnlyTP = cms.bool(True),
0013 pdgIdTP = cms.vint32(),
0014 signalOnlyTP = cms.bool(True),
0015 minRapidityTP = cms.double(-2.4),
0016 minHitTP = cms.int32(0),
0017 ptMinTP = cms.double(0.9),
0018 ptMaxTP = cms.double(1e+100),
0019 maxRapidityTP = cms.double(2.4),
0020 tipTP = cms.double(3.5)
0021 ),
0022 trackAssociation = cms.InputTag('trackingParticleRecoTrackAsssociation'),
0023 mightGet = cms.optional.untracked.vstring
0024 )
0025 for a in args:
0026 mod.update_(a)
0027 mod.update_(kwargs)
0028 return mod