CMS 3D CMS Logo

DefaultAlgorithms_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 DefaultAlgorithms = cms.PSet(
4  doAPVRestore = cms.bool(True),
5  useCMMeanMap= cms.bool(False),
6 
7  PedestalSubtractionFedMode = cms.bool(False),
8 
9 
11  CommonModeNoiseSubtractionMode = cms.string('IteratedMedian'),
12 
13  #CutToAvoidSignal = cms.double(3.0), ## for TT6
14 
15  #Percentile = cms.double(25.0), ## for Percentile
16 
17  CutToAvoidSignal = cms.double(2.0),
18  Iterations = cms.int32(3),
19 
20 
22  APVInspectMode = cms.string("BaselineFollower"),
23  ForceNoRestore = cms.bool(False),
24  useRealMeanCM = cms.bool(False),
25  DeltaCMThreshold = cms.uint32(20), # for BaselineFollower inspect
26  distortionThreshold = cms.uint32(20), # " "
27  Fraction = cms.double(0.2), # for AbnormalBaseline inspect
28  Deviation = cms.uint32(25), # " "
29  restoreThreshold = cms.double(0.5), # for Null inspect
30  nSaturatedStrip = cms.uint32(2), # for BaselineAndSaturation inspect
31 
32  # Supported restore modes: Flat, BaselineFollower, IterativeMedian
33  APVRestoreMode = cms.string("BaselineFollower"),
34  nSigmaNoiseDerTh = cms.uint32(4), # threshold for rejecting hit strips: nSigma * noise
35  consecThreshold = cms.uint32(5), # minimum length of flat region
36  hitStripThreshold = cms.uint32(40), # height above median when strip is definitely a hit
37  nSmooth = cms.uint32(9), # for smoothing and local minimum determination (odd number)
38  minStripsToFit = cms.uint32(4), # minimum strips to try spline algo (otherwise default to median)
39  ApplyBaselineCleaner = cms.bool(True),
40  CleaningSequence = cms.uint32(1),
41  slopeX=cms.int32(3),
42  slopeY=cms.int32(4),
43  ApplyBaselineRejection = cms.bool(True),
44  MeanCM = cms.int32(0),
45 
46  # Derivative follower parameters
47  discontinuityThreshold = cms.int32(12),
48  lastGradient = cms.int32(10),
49  sizeWindow = cms.int32(1),
50  widthCluster = cms.int32(64),
51 
52 
53  #Parameters for bad APV selector
54  filteredBaselineMax=cms.double(6),
55  filteredBaselineDerivativeSumSquare=cms.double(30),
56 
57 
58  SiStripFedZeroSuppressionMode = cms.uint32(4),
59  TruncateInSuppressor = cms.bool(True), #it truncates at 8 bits if Use10bitsTRuncation is off
60  Use10bitsTruncation = cms.bool(False) #it needs to be false in case of 8 bit ZS input or output
61 
62  )
63