File indexing completed on 2025-02-07 14:23:43
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def DiMuonVertexMonitor(*args, **kwargs):
0004 mod = cms.EDProducer('DiMuonVertexMonitor',
0005 muonTracks = cms.InputTag('ALCARECOTkAlDiMuon'),
0006 vertices = cms.InputTag('offlinePrimaryVertices'),
0007 FolderName = cms.string('DiMuonVertexMonitor'),
0008 decayMotherName = cms.string('Z'),
0009 useClosestVertex = cms.bool(True),
0010 maxSVdist = cms.double(50),
0011 CosPhi3DConfig = cms.PSet(
0012 name = cms.string('CosPhi3D'),
0013 title = cms.string('cos(#phi_{3D})'),
0014 yUnits = cms.string(''),
0015 NxBins = cms.int32(24),
0016 NyBins = cms.int32(50),
0017 ymin = cms.double(-1),
0018 ymax = cms.double(1),
0019 maxDeltaEta = cms.double(3.7)
0020 ),
0021 SVDistConfig = cms.PSet(
0022 name = cms.string('SVDist'),
0023 title = cms.string('PV-SV distance'),
0024 yUnits = cms.string('[#mum]'),
0025 NxBins = cms.int32(24),
0026 NyBins = cms.int32(100),
0027 ymin = cms.double(0),
0028 ymax = cms.double(300),
0029 maxDeltaEta = cms.double(3.7)
0030 ),
0031 SVDistSigConfig = cms.PSet(
0032 name = cms.string('SVDistSig'),
0033 title = cms.string('PV-SV distance significance'),
0034 yUnits = cms.string('[#mum]'),
0035 NxBins = cms.int32(24),
0036 NyBins = cms.int32(100),
0037 ymin = cms.double(0),
0038 ymax = cms.double(5),
0039 maxDeltaEta = cms.double(3.7)
0040 ),
0041 SVDist3DConfig = cms.PSet(
0042 name = cms.string('SVDist3D'),
0043 title = cms.string('PV-SV 3D distance'),
0044 yUnits = cms.string('[#mum]'),
0045 NxBins = cms.int32(24),
0046 NyBins = cms.int32(100),
0047 ymin = cms.double(0),
0048 ymax = cms.double(300),
0049 maxDeltaEta = cms.double(3.7)
0050 ),
0051 SVDist3DSigConfig = cms.PSet(
0052 name = cms.string('SVDist3DSig'),
0053 title = cms.string('PV-SV 3D distance significance'),
0054 yUnits = cms.string('[#mum]'),
0055 NxBins = cms.int32(24),
0056 NyBins = cms.int32(100),
0057 ymin = cms.double(0),
0058 ymax = cms.double(5),
0059 maxDeltaEta = cms.double(3.7)
0060 ),
0061 mightGet = cms.optional.untracked.vstring
0062 )
0063 for a in args:
0064 mod.update_(a)
0065 mod.update_(kwargs)
0066 return mod