test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DefaultAlgorithms_cff.py
Go to the documentation of this file.
2 
3 DefaultAlgorithms = cms.PSet(
4  doAPVRestore = cms.bool(True),
5  useCMMeanMap= cms.bool(False),
6  ## Pedestal subtraction ----------------
7  PedestalSubtractionFedMode = cms.bool(False),
8 
9  ## Baseline finder ---------------------
10  ## Supported CMN modes: Median, Percentile, IteratedMedian, TT6, FastLinear
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), ## for IteratedMedian (needed by APVRestorer)
18  Iterations = cms.int32(3), ##
19 
20  ## APV restoration ---------------------
21  ## Supported inspect modes: BaselineFollower, AbnormalBaseline, Null, BaselineAndSaturation
22  APVInspectMode = cms.string("BaselineFollower"),
23  ForceNoRestore = cms.bool(False),
24  SelfSelectRestoreAlgo = cms.bool(False),
25  useRealMeanCM = cms.bool(False),
26  DeltaCMThreshold = cms.uint32(20), # for BaselineFollower inspect
27  distortionThreshold = cms.uint32(20), # " "
28  Fraction = cms.double(0.2), # for AbnormalBaseline inspect
29  Deviation = cms.uint32(25), # " "
30  restoreThreshold = cms.double(0.5), # for Null inspect
31  nSaturatedStrip = cms.uint32(2), # for BaselineAndSaturation inspect
32 
33  ## Supported restore modes: Flat, BaselineFollower, IterativeMedian
34  APVRestoreMode = cms.string("BaselineFollower"),
35  nSigmaNoiseDerTh = cms.uint32(4), # threshold for rejecting hit strips: nSigma * noise
36  consecThreshold = cms.uint32(5), # minimum length of flat region
37  hitStripThreshold = cms.uint32(40), # height above median when strip is definitely a hit
38  nSmooth = cms.uint32(9), # for smoothing and local minimum determination (odd number)
39  minStripsToFit = cms.uint32(4), # minimum strips to try spline algo (otherwise default to median)
40  ApplyBaselineCleaner = cms.bool(True),
41  CleaningSequence = cms.uint32(1),
42  slopeX=cms.int32(3),
43  slopeY=cms.int32(4),
44  ApplyBaselineRejection = cms.bool(True),
45  MeanCM = cms.int32(0),
46 
47  #Parameters for bad APV selector
48  filteredBaselineMax=cms.double(6),
49  filteredBaselineDerivativeSumSquare=cms.double(30),
50 
51  ## Zero suppression --------------------
52  SiStripFedZeroSuppressionMode = cms.uint32(4),
53  TruncateInSuppressor = cms.bool(True)
54 
55 
56  )
57