File indexing completed on 2024-04-06 12:00:47
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def EcalUncalibRecHitPhase2WeightsProducer(**kwargs):
0004 mod = cms.EDProducer('EcalUncalibRecHitPhase2WeightsProducer',
0005 EBhitCollection = cms.string('EcalUncalibRecHitsEB'),
0006 tRise = cms.double(0.2),
0007 tFall = cms.double(2),
0008 ampWeights = cms.vdouble(
0009 -0.121016,
0010 -0.119899,
0011 -0.120923,
0012 -0.0848959,
0013 0.261041,
0014 0.509881,
0015 0.373591,
0016 0.134899,
0017 -0.0233605,
0018 -0.0913195,
0019 -0.112452,
0020 -0.118596,
0021 -0.121737,
0022 -0.121737,
0023 -0.121737,
0024 -0.121737
0025 ),
0026 timeWeights = cms.vdouble(
0027 0.429452,
0028 0.442762,
0029 0.413327,
0030 0.858327,
0031 4.42324,
0032 2.04369,
0033 -3.42426,
0034 -4.16258,
0035 -2.36061,
0036 -0.725371,
0037 0.0727267,
0038 0.326005,
0039 0.402035,
0040 0.404287,
0041 0.434207,
0042 0.422775
0043 ),
0044 BarrelDigis = cms.InputTag('simEcalUnsuppressedDigis'),
0045 mightGet = cms.optional.untracked.vstring
0046 )
0047 for k,v in kwargs.items():
0048 setattr(mod, k, v)
0049 return mod