CMS 3D CMS Logo

reco_TLR_36X.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  process.ecalPreshowerRecHit.ESBaseline = 0
84 
85 
86  process.OutOfTime.TOBlateBP=0.071
87  process.OutOfTime.TIBlateBP=0.036
88 
89  return process
90 
91 
92 
93 def customisePPMC(process):
94  process=customiseCommon(process)
95  process.hfreco.firstSample=1
96 
97  return process
98 
99 
100 def customiseCosmicData(process):
101  process.ecalPreshowerRecHit.ESBaseline = 0
102 
103  return process
104 
105 
106 def customiseCosmicMC(process):
107 
108  return process
109 
110 
111 
112 def customiseExpress(process):
113  process= customisePPData(process)
114 
116  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
117 
118  return process
119 
120 
121 def customisePrompt(process):
122  process= customisePPData(process)
123 
125  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
126 
127  return process
def customiseExpress(process)
def customiseCosmicMC(process)
def customiseCosmicData(process)
def customiseCommon(process)
Definition: reco_TLR_36X.py:3
def customisePPMC(process)
Definition: reco_TLR_36X.py:93
def customisePrompt(process)
def customisePPData(process)
Definition: reco_TLR_36X.py:79