CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.

32 
33 def customiseFlatAPVRestore(process):
34 
35  process.siStripZeroSuppression.doAPVRestore = cms.bool(True)
36 
37  process.siStripZeroSuppression.Algorithms.APVInspectMode = cms.string("NullFraction")
38  process.siStripZeroSuppression.Algorithms.APVRestoreMode = cms.string("Flat")
39  process.siStripZeroSuppression.Algorithms.restoreThreshold = cms.double(0.5)
40 
41  return process
def customiseFlatAPVRestore
Definition: customiseCMN.py:32
def customiseCMN.customiseIteratedMedian (   process)

Definition at line 13 of file customiseCMN.py.

Referenced by customiseTier0().

13 
14 def customiseIteratedMedian(process):
15 
16  process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("IteratedMedian")
17  process.siStripZeroSuppression.Algorithms.CutToAvoidSignal = cms.double(2.0)
18  process.siStripZeroSuppression.Algorithms.Iterations = cms.int32(3)
19  process.siStripZeroSuppression.storeCM = cms.bool(True)
20 
21  return process
def customiseIteratedMedian
Definition: customiseCMN.py:13
def customiseCMN.customiseMedian (   process)

Definition at line 4 of file customiseCMN.py.

4 
5 def customiseMedian(process):
6 
7  process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("Median")
8  process.siStripZeroSuppression.storeCM = cms.bool(True)
9 
10  return process
11 
def customiseMedian
Definition: customiseCMN.py:4
def customiseCMN.customiseMergeCollections (   process)

Definition at line 82 of file customiseCMN.py.

82 
83 def customiseMergeCollections(process):
84 
85  process.siStripZeroSuppression.RawDigiProducersList = cms.VInputTag(
86  cms.InputTag('siStripVRDigis','VirginRaw'),
87  cms.InputTag('siStripVRDigis','ProcessedRaw'),
88  cms.InputTag('siStripVRDigis','ScopeMode')
89  )
90 
91  return process
def customiseMergeCollections
Definition: customiseCMN.py:82
def customiseCMN.customisePartialSuppress (   process)

Definition at line 43 of file customiseCMN.py.

43 
44 def customisePartialSuppress(process):
45 
46  process.siStripZeroSuppression.doAPVRestore = cms.bool(True)
47  process.siStripZeroSuppression.produceRawDigis = cms.bool(True)
48  process.siStripZeroSuppression.storeInZScollBadAPV = cms.bool(False)
49 
50  process.siStripZeroSuppression.Algorithms.APVInspectMode = cms.string("AbnormalBaseline")
51  process.siStripZeroSuppression.Algorithms.APVRestoreMode = cms.string("PartialSuppress")
52  process.siStripZeroSuppression.Algorithms.Fraction = cms.double(0.2)
53  process.siStripZeroSuppression.Algorithms.Deviation = cms.uint32(25)
54 
55 
56  return process
def customisePartialSuppress
Definition: customiseCMN.py:43
def customiseCMN.customisePercentile (   process)

Definition at line 23 of file customiseCMN.py.

23 
24 def customisePercentile(process):
25 
26  process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("Percentile")
27  process.siStripZeroSuppression.Algorithms.Percentile = cms.double(25.0)
28  process.siStripZeroSuppression.storeCM = cms.bool(True)
29 
30  return process
def customisePercentile
Definition: customiseCMN.py:23
def customiseCMN.customiseTier0 (   process)

Definition at line 58 of file customiseCMN.py.

References customiseIteratedMedian().

58 
59 def customiseTier0(process):
60 
61  process.siStripZeroSuppression.Algorithms.PedestalSubtractionFedMode = cms.bool(False)
62 
64 
65  process.siStripZeroSuppression.doAPVRestore = cms.bool(True)
66  process.siStripZeroSuppression.produceRawDigis = cms.bool(True)
67  process.siStripZeroSuppression.produceCalculatedBaseline = cms.bool(True)
68 
69  # these are the current defaults.
70  process.siStripZeroSuppression.Algorithms.APVInspectMode = cms.string("BaselineFollower")
71  process.siStripZeroSuppression.Algorithms.APVRestoreMode = cms.string("BaselineFollower")
72  process.siStripZeroSuppression.Algorithms.DeltaCMThreshold = cms.uint32(20)
73  process.siStripZeroSuppression.Algorithms.distortionThreshold = cms.uint32(40)
74  process.siStripZeroSuppression.Algorithms.nSigmaNoiseDerTh = cms.uint32(4)
75  process.siStripZeroSuppression.Algorithms.consecThreshold = cms.uint32(5)
76  process.siStripZeroSuppression.Algorithms.hitStripThreshold = cms.uint32(40)
77  process.siStripZeroSuppression.Algorithms.nSmooth = cms.uint32(9)
78  process.siStripZeroSuppression.Algorithms.minStripsToFit = cms.uint32(4)
79 
80  return process
def customiseIteratedMedian
Definition: customiseCMN.py:13
def customiseTier0
Definition: customiseCMN.py:58