CMS 3D CMS Logo

Functions

customiseCMN Namespace Reference

Functions

def customiseFlatAPVRestore
def customiseIteratedMedian
def customiseMedian
def customiseMergeCollections
def customisePartialSuppress
def customisePercentile
def customiseTier0

Function Documentation

def customiseCMN::customiseFlatAPVRestore (   process)

Definition at line 32 of file customiseCMN.py.

00033                                     :
00034 
00035     process.siStripZeroSuppression.doAPVRestore = cms.bool(True)
00036     
00037     process.siStripZeroSuppression.Algorithms.APVInspectMode = cms.string("NullFraction")
00038     process.siStripZeroSuppression.Algorithms.APVRestoreMode = cms.string("Flat")
00039     process.siStripZeroSuppression.Algorithms.restoreThreshold = cms.double(0.5)
00040 
00041     return process

def customiseCMN::customiseIteratedMedian (   process)

Definition at line 13 of file customiseCMN.py.

00014                                     :
00015 
00016     process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("IteratedMedian")
00017     process.siStripZeroSuppression.Algorithms.CutToAvoidSignal = cms.double(2.0)
00018     process.siStripZeroSuppression.Algorithms.Iterations = cms.int32(3)
00019     process.siStripZeroSuppression.storeCM = cms.bool(True)
00020 
00021     return process

def customiseCMN::customiseMedian (   process)

Definition at line 4 of file customiseCMN.py.

00005                             :
00006 
00007     process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("Median")
00008     process.siStripZeroSuppression.storeCM = cms.bool(True)
00009 
00010     return process
00011 

def customiseCMN::customiseMergeCollections (   process)

Definition at line 82 of file customiseCMN.py.

00083                                       :
00084 
00085     process.siStripZeroSuppression.RawDigiProducersList = cms.VInputTag(
00086         cms.InputTag('siStripVRDigis','VirginRaw'),
00087         cms.InputTag('siStripVRDigis','ProcessedRaw'),
00088         cms.InputTag('siStripVRDigis','ScopeMode')
00089         )
00090 
00091     return process
def customiseCMN::customisePartialSuppress (   process)

Definition at line 43 of file customiseCMN.py.

00044                                      :
00045 
00046     process.siStripZeroSuppression.doAPVRestore = cms.bool(True)
00047     process.siStripZeroSuppression.produceRawDigis = cms.bool(True)
00048     process.siStripZeroSuppression.storeInZScollBadAPV = cms.bool(False)
00049 
00050     process.siStripZeroSuppression.Algorithms.APVInspectMode = cms.string("AbnormalBaseline")
00051     process.siStripZeroSuppression.Algorithms.APVRestoreMode = cms.string("PartialSuppress")
00052     process.siStripZeroSuppression.Algorithms.Fraction = cms.double(0.2)
00053     process.siStripZeroSuppression.Algorithms.Deviation = cms.uint32(25)
00054 
00055 
00056     return process

def customiseCMN::customisePercentile (   process)

Definition at line 23 of file customiseCMN.py.

00024                                 :
00025 
00026     process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("Percentile")
00027     process.siStripZeroSuppression.Algorithms.Percentile = cms.double(25.0)
00028     process.siStripZeroSuppression.storeCM = cms.bool(True)
00029 
00030     return process

def customiseCMN::customiseTier0 (   process)

Definition at line 58 of file customiseCMN.py.

00059                            :
00060 
00061     process.siStripZeroSuppression.Algorithms.PedestalSubtractionFedMode = cms.bool(False)
00062     
00063     customiseIteratedMedian(process)
00064     
00065     process.siStripZeroSuppression.doAPVRestore = cms.bool(True)
00066     process.siStripZeroSuppression.produceRawDigis = cms.bool(True)
00067     process.siStripZeroSuppression.produceCalculatedBaseline = cms.bool(True)
00068 
00069     # these are the current defaults.
00070     process.siStripZeroSuppression.Algorithms.APVInspectMode = cms.string("BaselineFollower")
00071     process.siStripZeroSuppression.Algorithms.APVRestoreMode = cms.string("BaselineFollower")
00072     process.siStripZeroSuppression.Algorithms.DeltaCMThreshold = cms.uint32(20)
00073     process.siStripZeroSuppression.Algorithms.distortionThreshold = cms.uint32(40)
00074     process.siStripZeroSuppression.Algorithms.nSigmaNoiseDerTh = cms.uint32(4)
00075     process.siStripZeroSuppression.Algorithms.consecThreshold = cms.uint32(5)
00076     process.siStripZeroSuppression.Algorithms.hitStripThreshold = cms.uint32(40)    
00077     process.siStripZeroSuppression.Algorithms.nSmooth = cms.uint32(9)      
00078     process.siStripZeroSuppression.Algorithms.minStripsToFit = cms.uint32(4)     
00079 
00080     return process