File indexing completed on 2024-08-27 22:59:01
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def SiPixelGainCalibScaler(**kwargs):
0004 mod = cms.EDAnalyzer('SiPixelGainCalibScaler',
0005 record = cms.string('SiPixelGainCalibrationForHLTRcd'),
0006 isForHLT = cms.bool(True),
0007 parameters = cms.VPSet(
0008 cms.PSet(
0009 conversionFactor = cms.double(65),
0010 conversionFactorL1 = cms.double(65),
0011 offset = cms.double(-414),
0012 offsetL1 = cms.double(-414),
0013 phase = cms.uint32(0)
0014 ),
0015 cms.PSet(
0016 conversionFactor = cms.double(47),
0017 conversionFactorL1 = cms.double(50),
0018 offset = cms.double(-60),
0019 offsetL1 = cms.double(-670),
0020 phase = cms.uint32(1)
0021 )
0022 ),
0023 verbose = cms.untracked.bool(False),
0024 mightGet = cms.optional.untracked.vstring
0025 )
0026 for k,v in kwargs.items():
0027 setattr(mod, k, v)
0028 return mod