Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-26 05:05:49

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def RecoChargedRefCandidatePrimaryVertexSorter(*args, **kwargs):
0004   mod = cms.EDProducer('RecoChargedRefCandidatePrimaryVertexSorter',
0005     sorting = cms.PSet(),
0006     assignment = cms.PSet(
0007       maxDzSigForPrimaryAssignment = cms.double(5),
0008       maxDzForPrimaryAssignment = cms.double(0.1),
0009       maxDzErrorForPrimaryAssignment = cms.double(0.05),
0010       maxDtSigForPrimaryAssignment = cms.double(3),
0011       maxJetDeltaR = cms.double(0.5),
0012       minJetPt = cms.double(25),
0013       maxDistanceToJetAxis = cms.double(0.07),
0014       maxDzForJetAxisAssigment = cms.double(0.1),
0015       maxDxyForJetAxisAssigment = cms.double(0.1),
0016       maxDxySigForNotReconstructedPrimary = cms.double(2),
0017       maxDxyForNotReconstructedPrimary = cms.double(0.01),
0018       useTiming = cms.bool(False),
0019       useVertexFit = cms.bool(True),
0020       preferHighRanked = cms.bool(False),
0021       NumOfPUVtxsForCharged = cms.uint32(0),
0022       DzCutForChargedFromPUVtxs = cms.double(0.2),
0023       PtMaxCharged = cms.double(-1),
0024       EtaMinUseDz = cms.double(-1),
0025       OnlyUseFirstDz = cms.bool(False)
0026     ),
0027     qualityForPrimary = cms.int32(3),
0028     usePVMET = cms.bool(True),
0029     trackTimeTag = cms.InputTag(''),
0030     trackTimeResoTag = cms.InputTag(''),
0031     particles = cms.InputTag('trackRefsForJets'),
0032     vertices = cms.InputTag('offlinePrimaryVertices'),
0033     jets = cms.InputTag('ak4CaloJetsForTrk'),
0034     produceAssociationToOriginalVertices = cms.bool(False),
0035     produceSortedVertices = cms.bool(True),
0036     producePileUpCollection = cms.bool(False),
0037     produceNoPileUpCollection = cms.bool(False),
0038     mightGet = cms.optional.untracked.vstring
0039   )
0040   for a in args:
0041     mod.update_(a)
0042   mod.update_(kwargs)
0043   return mod