CMS 3D CMS Logo

reco_TLR_310X.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def customiseCommon(process):
4 
5 
9 
10 
11  process.newSeedFromTriplets.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
12  process.newSeedFromPairs.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
13  process.secTriplets.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
14  process.thTripletsA.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
15  process.thTripletsB.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
16  process.fourthPLSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
17  process.fifthSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
18 
19 
20 
21 
22  process.pixelVertices.useBeamConstraint = False
23 
24 
28 
29  return (process)
30 
31 
32 
33 def customisePPData(process):
34  process= customiseCommon(process)
35 
36 
37  process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
38  process.particleFlowRecHitHCAL.ApplyPulseDPG = True
39 
40 
41  process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
42  process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
43 
44 
45  process.CSCHaloData.ExpectedBX = cms.int32(3)
46 
47 
48  process.hfreco.PETstat.flagsToSkip = 2
49  process.hfreco.S8S1stat.flagsToSkip = 18
50  process.hfreco.S9S1stat.flagsToSkip = 26
51 
52  return process
53 
54 
55 
56 def customisePPMC(process):
57  process=customiseCommon(process)
58 
59  return process
60 
61 
62 def customiseCosmicData(process):
63 
64  return process
65 
66 
67 def customiseCosmicMC(process):
68 
69  return process
70 
71 
72 def customiseVALSKIM(process):
73  process= customisePPData(process)
74  process.reconstruction.remove(process.lumiProducer)
75  return process
76 
77 
78 def customiseExpress(process):
79  process= customisePPData(process)
80 
82  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
83 
84  return process
85 
86 
87 def customisePrompt(process):
88  process= customisePPData(process)
89 
91  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
92 
93  return process
94 
95 
97 
98 def customiseCommonHI(process):
99 
100 
104 
105 
106  process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("IteratedMedian")
107  process.siStripZeroSuppression.Algorithms.CutToAvoidSignal = cms.double(2.0)
108  process.siStripZeroSuppression.Algorithms.Iterations = cms.int32(3)
109  process.siStripZeroSuppression.storeCM = cms.bool(True)
110 
111 
112 
116 
117  return process
118 
119 
120 def customiseExpressHI(process):
121  process= customiseCommonHI(process)
122 
124  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
125 
126  return process
127 
128 
129 def customisePromptHI(process):
130  process= customiseCommonHI(process)
131 
133  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
134 
135  return process
136 
137 
reco_TLR_310X.customiseExpressHI
def customiseExpressHI(process)
Definition: reco_TLR_310X.py:120
reco_TLR_310X.customisePPData
def customisePPData(process)
Definition: reco_TLR_310X.py:33
reco_TLR_310X.customiseCosmicMC
def customiseCosmicMC(process)
Definition: reco_TLR_310X.py:67
reco_TLR_310X.customiseVALSKIM
def customiseVALSKIM(process)
Definition: reco_TLR_310X.py:72
reco_TLR_310X.customisePromptHI
def customisePromptHI(process)
Definition: reco_TLR_310X.py:129
reco_TLR_310X.customiseExpress
def customiseExpress(process)
Definition: reco_TLR_310X.py:78
reco_TLR_310X.customisePPMC
def customisePPMC(process)
Definition: reco_TLR_310X.py:56
BeamSpotOnline_cfi
reco_TLR_310X.customiseCosmicData
def customiseCosmicData(process)
Definition: reco_TLR_310X.py:62
reco_TLR_310X.customiseCommonHI
def customiseCommonHI(process)
Definition: reco_TLR_310X.py:98
reco_TLR_310X.customisePrompt
def customisePrompt(process)
Definition: reco_TLR_310X.py:87
reco_TLR_310X.customiseCommon
def customiseCommon(process)
Definition: reco_TLR_310X.py:3