File indexing completed on 2025-06-25 05:15:47
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PixelCPEClusterRepairESProducer(*args, **kwargs):
0004 mod = cms.ESProducer('PixelCPEClusterRepairESProducer',
0005 ComponentName = cms.string('PixelCPEClusterRepair'),
0006 LoadTemplatesFromDB = cms.bool(True),
0007 Alpha2Order = cms.bool(True),
0008 ClusterProbComputationFlag = cms.int32(0),
0009 useLAWidthFromDB = cms.bool(True),
0010 lAOffset = cms.double(0),
0011 lAWidthBPix = cms.double(0),
0012 lAWidthFPix = cms.double(0),
0013 doLorentzFromAlignment = cms.bool(False),
0014 useLAFromDB = cms.bool(True),
0015 barrelTemplateID = cms.int32(0),
0016 forwardTemplateID = cms.int32(0),
0017 directoryWithTemplates = cms.int32(0),
0018 speed = cms.int32(-2),
0019 GoodEdgeAlgo = cms.bool(False),
0020 UseClusterSplitter = cms.bool(False),
0021 MaxSizeMismatchInY = cms.double(0.3),
0022 MinChargeRatio = cms.double(0.8),
0023 Recommend2D = cms.vstring(
0024 'PXB 2',
0025 'PXB 3',
0026 'PXB 4'
0027 ),
0028 RunDamagedClusters = cms.bool(False),
0029 appendToDataLabel = cms.string('')
0030 )
0031 for a in args:
0032 mod.update_(a)
0033 mod.update_(kwargs)
0034 return mod