CMS 3D CMS Logo

reco_TLR_37X.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.offlinePrimaryVerticesWithBS.PVSelParameters.maxDistanceToBeam = 2
42  process.offlinePrimaryVerticesWithBS.TkFilterParameters.maxNormalizedChi2 = 20
43  process.offlinePrimaryVerticesWithBS.TkFilterParameters.maxD0Significance = 100
44  process.offlinePrimaryVerticesWithBS.TkFilterParameters.minPixelLayersWithHits = 2
45  process.offlinePrimaryVerticesWithBS.TkFilterParameters.minSiliconLayersWithHits = 5
46  process.offlinePrimaryVerticesWithBS.TkClusParameters.TkGapClusParameters.zSeparation = 1
47  process.offlinePrimaryVertices.PVSelParameters.maxDistanceToBeam = 2
48  process.offlinePrimaryVertices.TkFilterParameters.maxNormalizedChi2 = 20
49  process.offlinePrimaryVertices.TkFilterParameters.maxD0Significance = 100
50  process.offlinePrimaryVertices.TkFilterParameters.minPixelLayersWithHits = 2
51  process.offlinePrimaryVertices.TkFilterParameters.minSiliconLayersWithHits = 5
52  process.offlinePrimaryVertices.TkClusParameters.TkGapClusParameters.zSeparation = 1
53 
54 
55  process.ecalRecHit.ChannelStatusToBeExcluded = [ 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 78, 142 ]
56 
57 
58 
59  process.hfreco.samplesToAdd = 4
60 
61 
62  process.photons.minSCEtBarrel = 5.
63  process.photons.minSCEtEndcap =5.
64  process.photonCore.minSCEt = 5.
65  process.conversionTrackCandidates.minSCEt =5.
66  process.conversions.minSCEt =5.
67  process.trackerOnlyConversions.rCut = 2.
68  process.trackerOnlyConversions.vtxChi2 = 0.0005
69 
70 
74 
75  return (process)
76 
77 
78 
79 def customisePPData(process):
80  process= customiseCommon(process)
81  process.hfreco.firstSample=3
82 
83 
84  process.OutOfTime.TOBlateBP=0.071
85  process.OutOfTime.TIBlateBP=0.036
86 
87 
88  process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
89  process.particleFlowRecHitHCAL.ApplyPulseDPG = True
90 
91 
92  process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
93  process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
94 
95  return process
96 
97 
98 
99 def customisePPMC(process):
100  process=customiseCommon(process)
101  process.hfreco.firstSample=1
102  process.CSCHaloData.ExpectedBX = cms.int32(6)
103 
104  return process
105 
106 
107 def customiseCosmicData(process):
108 
109  return process
110 
111 
112 def customiseCosmicMC(process):
113 
114  return process
115 
116 
117 
118 def customiseExpress(process):
119  process= customisePPData(process)
120 
122  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
123 
124  return process
125 
126 
127 def customisePrompt(process):
128  process= customisePPData(process)
129 
131  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
132 
133  return process
reco_TLR_37X.customiseExpress
def customiseExpress(process)
Definition: reco_TLR_37X.py:118
reco_TLR_37X.customisePPData
def customisePPData(process)
Definition: reco_TLR_37X.py:79
reco_TLR_37X.customisePrompt
def customisePrompt(process)
Definition: reco_TLR_37X.py:127
BeamSpotOnline_cfi
reco_TLR_37X.customiseCosmicMC
def customiseCosmicMC(process)
Definition: reco_TLR_37X.py:112
reco_TLR_37X.customiseCosmicData
def customiseCosmicData(process)
Definition: reco_TLR_37X.py:107
reco_TLR_37X.customiseCommon
def customiseCommon(process)
Definition: reco_TLR_37X.py:3
reco_TLR_37X.customisePPMC
def customisePPMC(process)
Definition: reco_TLR_37X.py:99