File indexing completed on 2025-02-07 14:24:09
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def SiStripClusterizer(*args, **kwargs):
0004 mod = cms.EDProducer('SiStripClusterizer',
0005 DigiProducersList = cms.VInputTag(
0006 'siStripDigis:ZeroSuppressed',
0007 'siStripZeroSuppression:VirginRaw',
0008 'siStripZeroSuppression:ProcessedRaw',
0009 'siStripZeroSuppression:ScopeMode'
0010 ),
0011 Clusterizer = cms.PSet(
0012 Algorithm = cms.string('ThreeThresholdAlgorithm'),
0013 ConditionsLabel = cms.string(''),
0014 ChannelThreshold = cms.double(2),
0015 SeedThreshold = cms.double(3),
0016 ClusterThreshold = cms.double(5),
0017 MaxSequentialHoles = cms.uint32(0),
0018 MaxSequentialBad = cms.uint32(1),
0019 MaxAdjacentBad = cms.uint32(0),
0020 MaxClusterSize = cms.uint32(768),
0021 RemoveApvShots = cms.bool(True),
0022 setDetId = cms.bool(True),
0023 clusterChargeCut = cms.PSet(
0024 value = cms.double(-1)
0025 )
0026 ),
0027 mightGet = cms.optional.untracked.vstring
0028 )
0029 for a in args:
0030 mod.update_(a)
0031 mod.update_(kwargs)
0032 return mod