File indexing completed on 2025-02-07 14:24:09
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def SiStripClusterizerFromRaw(*args, **kwargs):
0004 mod = cms.EDProducer('SiStripClusterizerFromRaw',
0005 ProductLabel = cms.InputTag('rawDataCollector'),
0006 ConditionsLabel = cms.string(''),
0007 onDemand = cms.bool(True),
0008 DoAPVEmulatorCheck = cms.bool(True),
0009 LegacyUnpacker = cms.bool(False),
0010 HybridZeroSuppressed = cms.bool(False),
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 Algorithms = cms.PSet(
0028 CommonModeNoiseSubtractionMode = cms.string('Median'),
0029 useCMMeanMap = cms.bool(False),
0030 TruncateInSuppressor = cms.bool(True),
0031 doAPVRestore = cms.bool(False),
0032 SiStripFedZeroSuppressionMode = cms.uint32(4),
0033 PedestalSubtractionFedMode = cms.bool(True),
0034 Use10bitsTruncation = cms.bool(False),
0035 Percentile = cms.double(25),
0036 CutToAvoidSignal = cms.double(2),
0037 Iterations = cms.int32(3),
0038 ForceNoRestore = cms.bool(False),
0039 APVInspectMode = cms.string('BaselineFollower'),
0040 APVRestoreMode = cms.string(''),
0041 useRealMeanCM = cms.bool(False),
0042 MeanCM = cms.int32(0),
0043 DeltaCMThreshold = cms.uint32(20),
0044 Fraction = cms.double(0.2),
0045 Deviation = cms.uint32(25),
0046 restoreThreshold = cms.double(0.5),
0047 nSaturatedStrip = cms.uint32(2),
0048 nSigmaNoiseDerTh = cms.uint32(4),
0049 consecThreshold = cms.uint32(5),
0050 nSmooth = cms.uint32(9),
0051 distortionThreshold = cms.uint32(20),
0052 ApplyBaselineCleaner = cms.bool(True),
0053 CleaningSequence = cms.uint32(1),
0054 slopeX = cms.int32(3),
0055 slopeY = cms.int32(4),
0056 hitStripThreshold = cms.uint32(40),
0057 minStripsToFit = cms.uint32(4),
0058 ApplyBaselineRejection = cms.bool(True),
0059 filteredBaselineMax = cms.double(6),
0060 filteredBaselineDerivativeSumSquare = cms.double(30),
0061 discontinuityThreshold = cms.int32(12),
0062 lastGradient = cms.int32(10),
0063 sizeWindow = cms.int32(1),
0064 widthCluster = cms.int32(64)
0065 ),
0066 mightGet = cms.optional.untracked.vstring
0067 )
0068 for a in args:
0069 mod.update_(a)
0070 mod.update_(kwargs)
0071 return mod