Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def SecondaryVertexProducer(*args, **kwargs):
0004   mod = cms.EDProducer('SecondaryVertexProducer',
0005     extSVDeltaRToJet = cms.double(0.3),
0006     beamSpotTag = cms.InputTag('offlineBeamSpot'),
0007     vertexReco = cms.PSet(
0008       primcut = cms.double(1.8),
0009       seccut = cms.double(6),
0010       finder = cms.string('avr'),
0011       minweight = cms.double(0.5),
0012       weightthreshold = cms.double(0.001),
0013       smoothing = cms.bool(False),
0014       maxFitChi2 = cms.double(10),
0015       mergeThreshold = cms.double(3),
0016       fitType = cms.string('RefitGhostTrackWithVertices')
0017     ),
0018     vertexSelection = cms.PSet(
0019       sortCriterium = cms.string('dist3dError')
0020     ),
0021     constraint = cms.string('BeamSpot'),
0022     trackIPTagInfos = cms.InputTag('impactParameterTagInfos'),
0023     vertexCuts = cms.PSet(
0024       distSig3dMax = cms.double(99999.9),
0025       fracPV = cms.double(0.65),
0026       distVal2dMax = cms.double(2.5),
0027       useTrackWeights = cms.bool(True),
0028       maxDeltaRToJetAxis = cms.double(0.4),
0029       v0Filter = cms.PSet(
0030         k0sMassWindow = cms.double(0.05)
0031       ),
0032       distSig2dMin = cms.double(3),
0033       multiplicityMin = cms.uint32(2),
0034       distVal2dMin = cms.double(0.01),
0035       distSig2dMax = cms.double(99999.9),
0036       distVal3dMax = cms.double(99999.9),
0037       minimumTrackWeight = cms.double(0.5),
0038       distVal3dMin = cms.double(-99999.9),
0039       massMax = cms.double(6.5),
0040       distSig3dMin = cms.double(-99999.9)
0041     ),
0042     useExternalSV = cms.bool(False),
0043     minimumTrackWeight = cms.double(0.5),
0044     usePVError = cms.bool(True),
0045     trackSelection = cms.PSet(
0046       b_pT = cms.double(0.3684),
0047       max_pT = cms.double(500),
0048       useVariableJTA = cms.bool(False),
0049       maxDecayLen = cms.double(99999.9),
0050       sip3dValMin = cms.double(-99999.9),
0051       max_pT_dRcut = cms.double(0.1),
0052       a_pT = cms.double(0.005263),
0053       totalHitsMin = cms.uint32(8),
0054       jetDeltaRMax = cms.double(0.3),
0055       a_dR = cms.double(-0.001053),
0056       maxDistToAxis = cms.double(0.2),
0057       ptMin = cms.double(1),
0058       qualityClass = cms.string('any'),
0059       pixelHitsMin = cms.uint32(2),
0060       sip2dValMax = cms.double(99999.9),
0061       max_pT_trackPTcut = cms.double(3),
0062       sip2dValMin = cms.double(-99999.9),
0063       normChi2Max = cms.double(99999.9),
0064       sip3dValMax = cms.double(99999.9),
0065       sip3dSigMin = cms.double(-99999.9),
0066       min_pT = cms.double(120),
0067       min_pT_dRcut = cms.double(0.5),
0068       sip2dSigMax = cms.double(99999.9),
0069       sip3dSigMax = cms.double(99999.9),
0070       sip2dSigMin = cms.double(-99999.9),
0071       b_dR = cms.double(0.6263)
0072     ),
0073     trackSort = cms.string('sip3dSig'),
0074     extSVCollection = cms.InputTag('secondaryVertices'),
0075     useSVClustering = cms.bool(False),
0076     jetAlgorithm = cms.optional.string,
0077     rParam = cms.optional.double,
0078     useSVMomentum = cms.bool(False),
0079     ghostRescaling = cms.double(1e-18),
0080     relPtTolerance = cms.double(0.001),
0081     fatJets = cms.optional.InputTag,
0082     groomedFatJets = cms.optional.InputTag,
0083     weights = cms.InputTag(''),
0084     mightGet = cms.optional.untracked.vstring
0085   )
0086   for a in args:
0087     mod.update_(a)
0088   mod.update_(kwargs)
0089   return mod