File indexing completed on 2024-08-27 22:59:34
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def GEMDigiProducer(**kwargs):
0004 mod = cms.EDProducer('GEMDigiProducer',
0005 inputCollection = cms.string('g4SimHitsMuonGEMHits'),
0006 mixLabel = cms.string('mix'),
0007 signalPropagationSpeed = cms.double(0.66),
0008 timeResolution = cms.double(18),
0009 timeJitter = cms.double(1),
0010 averageShapingTime = cms.double(50),
0011 averageEfficiency = cms.double(0.98),
0012 averageNoiseRate = cms.double(0.001),
0013 minBunch = cms.int32(-5),
0014 maxBunch = cms.int32(3),
0015 fixedRollRadius = cms.bool(True),
0016 digitizeOnlyMuons = cms.bool(False),
0017 simulateBkgNoise = cms.bool(False),
0018 simulateNoiseCLS = cms.bool(True),
0019 simulateElectronBkg = cms.bool(True),
0020 simulateIntrinsicNoise = cms.bool(False),
0021 instLumi = cms.double(7.5),
0022 rateFact = cms.double(1),
0023 bxWidth = cms.double(2.5e-08),
0024 referenceInstLumi = cms.double(5),
0025 resolutionX = cms.double(0.03),
0026 GE11ModNeuBkgParam0 = cms.double(5710.23),
0027 GE11ModNeuBkgParam1 = cms.double(-43.3928),
0028 GE11ModNeuBkgParam2 = cms.double(0.0863681),
0029 GE21ModNeuBkgParam0 = cms.double(1440.44),
0030 GE21ModNeuBkgParam1 = cms.double(-7.48607),
0031 GE21ModNeuBkgParam2 = cms.double(0.0103078),
0032 GE11ElecBkgParam0 = cms.double(406.249),
0033 GE11ElecBkgParam1 = cms.double(-2.90939),
0034 GE11ElecBkgParam2 = cms.double(0.00548191),
0035 GE21ElecBkgParam0 = cms.double(97.0505),
0036 GE21ElecBkgParam1 = cms.double(-43.3928),
0037 GE21ElecBkgParam2 = cms.double(0.000550599),
0038 mightGet = cms.optional.untracked.vstring
0039 )
0040 for k,v in kwargs.items():
0041 setattr(mod, k, v)
0042 return mod