Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-26 05:06:22

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def FastPrimaryVertexWithWeightsProducer(*args, **kwargs):
0004   mod = cms.EDProducer('FastPrimaryVertexWithWeightsProducer',
0005     clusters = cms.InputTag('hltSiPixelClusters'),
0006     beamSpot = cms.InputTag('hltOnlineBeamSpot'),
0007     jets = cms.InputTag('hltCaloJetL1FastJetCorrected'),
0008     pixelCPE = cms.string('hltESPPixelCPEGeneric'),
0009     maxZ = cms.double(19),
0010     njets = cms.int32(999),
0011     maxJetEta = cms.double(2.6),
0012     minJetPt = cms.double(40),
0013     barrel = cms.bool(True),
0014     maxSizeX = cms.double(2.1),
0015     maxDeltaPhi = cms.double(0.21),
0016     PixelCellHeightOverWidth = cms.double(1.8),
0017     weight_charge_down = cms.double(11000),
0018     weight_charge_up = cms.double(190000),
0019     maxSizeY_q = cms.double(2),
0020     minSizeY_q = cms.double(-0.6),
0021     weight_dPhi = cms.double(0.13888888),
0022     weight_SizeX1 = cms.double(0.88),
0023     weight_rho_up = cms.double(22),
0024     weight_charge_peak = cms.double(22000),
0025     peakSizeY_q = cms.double(1),
0026     endCap = cms.bool(True),
0027     minJetEta_EC = cms.double(1.3),
0028     maxJetEta_EC = cms.double(2.6),
0029     maxDeltaPhi_EC = cms.double(0.14),
0030     EC_weight = cms.double(0.008),
0031     weight_dPhi_EC = cms.double(0.064516129),
0032     zClusterWidth_step1 = cms.double(2),
0033     zClusterWidth_step2 = cms.double(0.65),
0034     zClusterSearchArea_step2 = cms.double(3),
0035     weightCut_step2 = cms.double(0.05),
0036     zClusterWidth_step3 = cms.double(0.3),
0037     zClusterSearchArea_step3 = cms.double(0.55),
0038     weightCut_step3 = cms.double(0.1),
0039     ptWeighting = cms.bool(False),
0040     ptWeighting_slope = cms.double(0.05),
0041     ptWeighting_offset = cms.double(-1),
0042     mightGet = cms.optional.untracked.vstring
0043   )
0044   for a in args:
0045     mod.update_(a)
0046   mod.update_(kwargs)
0047   return mod