File indexing completed on 2024-08-27 22:59:04
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PrimaryVertexResolution(**kwargs):
0004 mod = cms.EDProducer('PrimaryVertexResolution',
0005 vertexSrc = cms.untracked.InputTag('trackingDQMgoodOfflinePrimaryVertices'),
0006 beamspotSrc = cms.untracked.InputTag('offlineBeamSpot'),
0007 lumiScalersSrc = cms.untracked.InputTag('scalersRawToDigi'),
0008 metaDataSrc = cms.untracked.InputTag('onlineMetaDataDigis'),
0009 forceSCAL = cms.untracked.bool(True),
0010 rootFolder = cms.untracked.string('OfflinePV/Resolution'),
0011 transientTrackBuilder = cms.untracked.string('TransientTrackBuilder'),
0012 maxResol = cms.untracked.double(0.02),
0013 binsResol = cms.untracked.int32(100),
0014 maxPull = cms.untracked.double(5),
0015 binsPull = cms.untracked.int32(100),
0016 minNtracks = cms.untracked.double(-0.5),
0017 maxNtracks = cms.untracked.double(119.5),
0018 binsNtracks = cms.untracked.int32(60),
0019 minNvertices = cms.untracked.double(-0.5),
0020 maxNvertices = cms.untracked.double(199.5),
0021 binsNvertices = cms.untracked.int32(100),
0022 maxXY = cms.untracked.double(0.15),
0023 binsXY = cms.untracked.int32(100),
0024 maxZ = cms.untracked.double(30),
0025 binsZ = cms.untracked.int32(100),
0026 minPt = cms.untracked.double(1),
0027 maxPt = cms.untracked.double(1000),
0028 minLumi = cms.untracked.double(200),
0029 maxLumi = cms.untracked.double(20000),
0030 mightGet = cms.optional.untracked.vstring
0031 )
0032 for k,v in kwargs.items():
0033 setattr(mod, k, v)
0034 return mod