CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoLocalTracker/SiStripZeroSuppression/python/DefaultAlgorithms_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 DefaultAlgorithms = cms.PSet(
00004     doAPVRestore = cms.bool(True),
00005     useCMMeanMap= cms.bool(False),
00006     ## Pedestal subtraction ----------------
00007     PedestalSubtractionFedMode = cms.bool(False),
00008 
00009     ## Baseline finder ---------------------
00010     ## Supported CMN modes: Median, Percentile, IteratedMedian, TT6, FastLinear
00011     CommonModeNoiseSubtractionMode = cms.string('IteratedMedian'),     
00012 
00013     #CutToAvoidSignal = cms.double(3.0), ## for TT6
00014     
00015     #Percentile = cms.double(25.0),      ## for Percentile
00016 
00017     CutToAvoidSignal = cms.double(2.0),  ## for IteratedMedian (needed by APVRestorer)
00018     Iterations = cms.int32(3),           ##
00019 
00020     ## APV restoration ---------------------
00021     ## Supported inspect modes: BaselineFollower, AbnormalBaseline, Null, BaselineAndSaturation
00022     APVInspectMode = cms.string("BaselineFollower"),
00023     ForceNoRestore = cms.bool(False),
00024     SelfSelectRestoreAlgo = cms.bool(False),
00025     useRealMeanCM = cms.bool(False),
00026     DeltaCMThreshold = cms.uint32(20),       # for BaselineFollower inspect
00027     distortionThreshold = cms.uint32(20),    # " "
00028     Fraction = cms.double(0.2),              # for AbnormalBaseline inspect
00029     Deviation = cms.uint32(25),              # " "
00030     restoreThreshold = cms.double(0.5),      # for Null inspect
00031     nSaturatedStrip = cms.uint32(2),         # for BaselineAndSaturation inspect
00032 
00033     ## Supported restore modes: Flat, BaselineFollower, IterativeMedian
00034     APVRestoreMode = cms.string("BaselineFollower"),
00035     nSigmaNoiseDerTh = cms.uint32(4),        # threshold for rejecting hit strips: nSigma * noise
00036     consecThreshold = cms.uint32(5),         # minimum length of flat region
00037     hitStripThreshold = cms.uint32(40),      # height above median when strip is definitely a hit
00038     nSmooth = cms.uint32(9),                 # for smoothing and local minimum determination (odd number)
00039     minStripsToFit = cms.uint32(4),          # minimum strips to try spline algo (otherwise default to median)
00040     ApplyBaselineCleaner = cms.bool(True),
00041     CleaningSequence = cms.uint32(1),
00042     slopeX=cms.int32(3),
00043     slopeY=cms.int32(4),
00044     ApplyBaselineRejection = cms.bool(True),
00045     MeanCM = cms.int32(0),
00046 
00047     #Parameters for bad APV selector
00048     filteredBaselineMax=cms.double(6),
00049     filteredBaselineDerivativeSumSquare=cms.double(30),
00050     
00051     ## Zero suppression --------------------
00052     SiStripFedZeroSuppressionMode = cms.uint32(4),
00053     TruncateInSuppressor = cms.bool(True)
00054     
00055     
00056     )
00057