File indexing completed on 2024-08-27 22:59:27
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def SiPixelClusterProducer(**kwargs):
0004 mod = cms.EDProducer('SiPixelClusterProducer',
0005 src = cms.InputTag('siPixelDigis'),
0006 ClusterMode = cms.string('PixelThresholdClusterizer'),
0007 maxNumberOfClusters = cms.int32(-1),
0008 payloadType = cms.string('Offline'),
0009 ChannelThreshold = cms.int32(1000),
0010 MissCalibrate = cms.bool(True),
0011 SplitClusters = cms.bool(False),
0012 VCaltoElectronGain = cms.int32(65),
0013 VCaltoElectronGain_L1 = cms.int32(65),
0014 VCaltoElectronOffset = cms.int32(-414),
0015 VCaltoElectronOffset_L1 = cms.int32(-414),
0016 SeedThreshold = cms.int32(1000),
0017 ClusterThreshold_L1 = cms.int32(4000),
0018 ClusterThreshold = cms.int32(4000),
0019 ElectronPerADCGain = cms.double(135),
0020 DropDuplicates = cms.bool(True),
0021 Phase2Calibration = cms.bool(False),
0022 Phase2ReadoutMode = cms.int32(-1),
0023 Phase2DigiBaseline = cms.double(1200),
0024 Phase2KinkADC = cms.int32(8),
0025 mightGet = cms.optional.untracked.vstring
0026 )
0027 for k,v in kwargs.items():
0028 setattr(mod, k, v)
0029 return mod