CMS 3D CMS Logo

reco_TLR_38X.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def customiseCommon(process):
4 
5 
9 
10 
12  process.newSeedFromTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
13  process.newSeedFromPairs.ClusterCheckPSet.MaxNumberOfCosmicClusters=20000
14  process.secTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
15  process.fifthSeeds.ClusterCheckPSet.MaxNumberOfCosmicClusters = 20000
16  process.fourthPLSeeds.ClusterCheckPSet.MaxNumberOfCosmicClusters=20000
17  process.thTripletsA.ClusterCheckPSet.MaxNumberOfPixelClusters = 5000
18  process.thTripletsB.ClusterCheckPSet.MaxNumberOfPixelClusters = 5000
19 
20 
21 
22 
23  process.pixelVertices.useBeamConstraint = False
24 
25 
27  process.pixelTracks.RegionFactoryPSet.RegionPSet.nSigmaZ = 4.06
28  process.pixelTracks.RegionFactoryPSet.RegionPSet.originHalfLength = cms.double(40.6)
29 
30 
32  process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ = cms.double(4.06)
33  process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.originHalfLength = 40.6
34 
35 
37  process.secTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ = cms.double(4.47)
38  process.secTriplets.RegionFactoryPSet.RegionPSet.originHalfLength = 44.7
39 
40 
41  process.ecalRecHit.ChannelStatusToBeExcluded = [ 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 78, 142 ]
42 
43 
47 
48  return (process)
49 
50 
51 
52 def customisePPData(process):
53  process= customiseCommon(process)
54 
55 
56  process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
57  process.particleFlowRecHitHCAL.ApplyPulseDPG = True
58 
59 
60  process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
61  process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
62 
63 
64  process.CSCHaloData.ExpectedBX = cms.int32(3)
65 
66 
67  process.hfreco.PETstat.flagsToSkip = 2
68  process.hfreco.S8S1stat.flagsToSkip = 18
69  process.hfreco.S9S1stat.flagsToSkip = 26
70 
71  return process
72 
73 
74 
75 def customisePPMC(process):
76  process=customiseCommon(process)
77 
78  return process
79 
80 
81 def customiseCosmicData(process):
82 
83  return process
84 
85 
86 def customiseCosmicMC(process):
87 
88  return process
89 
90 
91 def customiseVALSKIM(process):
92  process= customisePPData(process)
93  process.reconstruction.remove(process.lumiProducer)
94  return process
95 
96 
97 def customiseExpress(process):
98  process= customisePPData(process)
99 
101  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
102 
103  return process
104 
105 
106 def customisePrompt(process):
107  process= customisePPData(process)
108 
110  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
111 
112  return process
reco_TLR_38X.customisePrompt
def customisePrompt(process)
Definition: reco_TLR_38X.py:106
reco_TLR_38X.customiseCosmicData
def customiseCosmicData(process)
Definition: reco_TLR_38X.py:81
reco_TLR_38X.customiseExpress
def customiseExpress(process)
Definition: reco_TLR_38X.py:97
reco_TLR_38X.customiseCommon
def customiseCommon(process)
Definition: reco_TLR_38X.py:3
reco_TLR_38X.customiseCosmicMC
def customiseCosmicMC(process)
Definition: reco_TLR_38X.py:86
BeamSpotOnline_cfi
reco_TLR_38X.customiseVALSKIM
def customiseVALSKIM(process)
Definition: reco_TLR_38X.py:91
reco_TLR_38X.customisePPData
def customisePPData(process)
Definition: reco_TLR_38X.py:52
reco_TLR_38X.customisePPMC
def customisePPMC(process)
Definition: reco_TLR_38X.py:75