1 import FWCore.ParameterSet.Config
as cms
2 from Configuration.Eras.Modifier_tracker_apv_vfp30_2016_cff
import tracker_apv_vfp30_2016
as _tracker_apv_vfp30_2016
11 trackerClusterCheckPreSplitting = _trackerClusterCheck.clone(
12 PixelClusterCollectionLabel =
'siPixelClustersPreSplitting' 18 initialStepSeedLayersPreSplitting = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.PixelLayerTriplets.clone()
19 initialStepSeedLayersPreSplitting.FPix.HitProducer =
'siPixelRecHitsPreSplitting' 20 initialStepSeedLayersPreSplitting.BPix.HitProducer =
'siPixelRecHitsPreSplitting' 21 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
22 trackingPhase1.toModify(initialStepSeedLayersPreSplitting,
23 layerList = RecoPixelVertexing.PixelTriplets.quadrupletseedmerging_cff.PixelSeedMergerQuadruplets.layerList.value()
25 from Configuration.Eras.Modifier_trackingPhase1QuadProp_cff
import trackingPhase1QuadProp
26 trackingPhase1QuadProp.toModify(initialStepSeedLayersPreSplitting,
27 layerList = RecoPixelVertexing.PixelTriplets.quadrupletseedmerging_cff.PixelSeedMergerQuadruplets.layerList.value()
31 from RecoTracker.TkTrackingRegions.globalTrackingRegionFromBeamSpot_cfi
import globalTrackingRegionFromBeamSpot
as _globalTrackingRegionFromBeamSpot
32 initialStepTrackingRegionsPreSplitting = _globalTrackingRegionFromBeamSpot.clone(RegionPSet =
dict(
37 trackingPhase1.toModify(initialStepTrackingRegionsPreSplitting, RegionPSet =
dict(ptMin = 0.5))
40 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
41 initialStepHitDoubletsPreSplitting = _hitPairEDProducer.clone(
42 seedingLayers =
"initialStepSeedLayersPreSplitting",
43 trackingRegions =
"initialStepTrackingRegionsPreSplitting",
44 clusterCheck =
"trackerClusterCheckPreSplitting",
46 produceIntermediateHitDoublets =
True,
48 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi
import pixelTripletHLTEDProducer
as _pixelTripletHLTEDProducer
50 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
51 initialStepHitTripletsPreSplitting = _pixelTripletHLTEDProducer.clone(
52 doublets =
"initialStepHitDoubletsPreSplitting",
53 produceSeedingHitSets =
True,
54 SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone(
55 clusterShapeCacheSrc =
'siPixelClusterShapeCachePreSplitting' 58 from RecoPixelVertexing.PixelTriplets.pixelQuadrupletEDProducer_cfi
import pixelQuadrupletEDProducer
as _pixelQuadrupletEDProducer
59 trackingPhase1.toModify(initialStepHitDoubletsPreSplitting, layerPairs = [0,1,2])
60 initialStepHitQuadrupletsPreSplitting = _pixelQuadrupletEDProducer.clone(
61 triplets =
"initialStepHitTripletsPreSplitting",
62 extraHitRZtolerance = initialStepHitTripletsPreSplitting.extraHitRZtolerance,
63 extraHitRPhitolerance = initialStepHitTripletsPreSplitting.extraHitRPhitolerance,
66 value1 = 200, value2 = 100,
71 value1 = 0.15, value2 = 0.1,
74 useBendingCorrection =
True,
76 fitFastCircleChi2Cut =
True,
77 SeedComparitorPSet = initialStepHitTripletsPreSplitting.SeedComparitorPSet
79 from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsEDProducer_cff
import seedCreatorFromRegionConsecutiveHitsEDProducer
as _seedCreatorFromRegionConsecutiveHitsEDProducer
80 initialStepSeedsPreSplitting = _seedCreatorFromRegionConsecutiveHitsEDProducer.clone(
81 seedingHitSets =
"initialStepHitTripletsPreSplitting",
84 from RecoPixelVertexing.PixelTriplets.caHitQuadrupletEDProducer_cfi
import caHitQuadrupletEDProducer
as _caHitQuadrupletEDProducer
85 trackingPhase1.toReplaceWith(initialStepHitQuadrupletsPreSplitting, _caHitQuadrupletEDProducer.clone(
86 doublets =
"initialStepHitDoubletsPreSplitting",
87 extraHitRPhitolerance = initialStepHitTripletsPreSplitting.extraHitRPhitolerance,
88 SeedComparitorPSet = initialStepHitTripletsPreSplitting.SeedComparitorPSet,
91 value1 = 200, value2 = 50,
93 useBendingCorrection =
True,
95 fitFastCircleChi2Cut =
True,
100 trackingPhase1QuadProp.toModify(initialStepHitTripletsPreSplitting,
101 produceSeedingHitSets =
False,
102 produceIntermediateHitTriplets =
True,
104 trackingPhase1.toModify(initialStepSeedsPreSplitting, seedingHitSets =
"initialStepHitQuadrupletsPreSplitting")
105 trackingPhase1QuadProp.toModify(initialStepSeedsPreSplitting, seedingHitSets =
"initialStepHitQuadrupletsPreSplitting")
110 initialStepTrajectoryFilterBasePreSplitting = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
111 minimumNumberOfHits = 3,
114 minGoodStripCharge = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutLoose'))
116 from Configuration.Eras.Modifier_tracker_apv_vfp30_2016_cff
import tracker_apv_vfp30_2016
117 _tracker_apv_vfp30_2016.toModify(initialStepTrajectoryFilterBasePreSplitting, maxCCCLostHits = 2)
118 import RecoPixelVertexing.PixelLowPtUtilities.StripSubClusterShapeTrajectoryFilter_cfi
119 initialStepTrajectoryFilterShapePreSplitting = RecoPixelVertexing.PixelLowPtUtilities.StripSubClusterShapeTrajectoryFilter_cfi.StripSubClusterShapeTrajectoryFilterTIX12.clone()
120 initialStepTrajectoryFilterPreSplitting = cms.PSet(
121 ComponentType = cms.string(
'CompositeTrajectoryFilter'),
123 cms.PSet( refToPSet_ = cms.string(
'initialStepTrajectoryFilterBasePreSplitting')),
124 cms.PSet( refToPSet_ = cms.string(
'initialStepTrajectoryFilterShapePreSplitting'))),
127 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
128 initialStepChi2EstPreSplitting = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
129 ComponentName = cms.string(
'initialStepChi2EstPreSplitting'),
130 nSigma = cms.double(3.0),
131 MaxChi2 = cms.double(30.0),
132 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutLoose')),
133 pTChargeCutThreshold = cms.double(15.)
135 _tracker_apv_vfp30_2016.toModify(initialStepChi2EstPreSplitting,
136 clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutTiny")
140 initialStepTrajectoryBuilderPreSplitting = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
141 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'initialStepTrajectoryFilterPreSplitting')),
142 alwaysUseInvalidHits =
True,
144 estimator = cms.string(
'initialStepChi2Est'),
145 maxDPhiForLooperReconstruction = cms.double(2.0),
146 maxPtForLooperReconstruction = cms.double(0.7)
150 initialStepTrackCandidatesPreSplitting = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
151 src = cms.InputTag(
'initialStepSeedsPreSplitting'),
153 numHitsForSeedCleaner = cms.int32(50),
154 onlyPixelHitsForSeedCleaner = cms.bool(
True),
155 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'initialStepTrajectoryBuilderPreSplitting')),
156 doSeedingRegionRebuilding =
True,
157 useHitsSplitting =
True 159 initialStepTrackCandidatesPreSplitting.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting' 163 initialStepTracksPreSplitting = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
164 src =
'initialStepTrackCandidatesPreSplitting',
165 AlgorithmName = cms.string(
'initialStep'),
166 Fitter = cms.string(
'FlexibleKFFittingSmoother')
168 initialStepTracksPreSplitting.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting' 172 firstStepPrimaryVerticesPreSplitting = _offlinePrimaryVertices.clone()
173 firstStepPrimaryVerticesPreSplitting.TrackLabel = cms.InputTag(
"initialStepTracksPreSplitting")
174 firstStepPrimaryVerticesPreSplitting.vertexCollections = [_offlinePrimaryVertices.vertexCollections[0].
clone()]
178 initialStepTrackRefsForJetsPreSplitting = initialStepTrackRefsForJets.clone(
179 src =
'initialStepTracksPreSplitting')
180 caloTowerForTrkPreSplitting = caloTowerForTrk.clone()
181 ak4CaloJetsForTrkPreSplitting = ak4CaloJetsForTrk.clone(
182 src =
'caloTowerForTrkPreSplitting',
183 srcPVs =
'firstStepPrimaryVerticesPreSplitting')
184 jetsForCoreTrackingPreSplitting = jetsForCoreTracking.clone(
185 src =
'ak4CaloJetsForTrkPreSplitting')
188 from RecoLocalTracker.SubCollectionProducers.jetCoreClusterSplitter_cfi
import jetCoreClusterSplitter
189 siPixelClusters = jetCoreClusterSplitter.clone(
190 pixelClusters = cms.InputTag(
'siPixelClustersPreSplitting'),
191 vertices =
'firstStepPrimaryVerticesPreSplitting',
192 cores =
'jetsForCoreTrackingPreSplitting' 199 InitialStepPreSplitting = cms.Sequence(trackerClusterCheckPreSplitting*
200 initialStepSeedLayersPreSplitting*
201 initialStepTrackingRegionsPreSplitting*
202 initialStepHitDoubletsPreSplitting*
203 initialStepHitTripletsPreSplitting*
204 initialStepSeedsPreSplitting*
205 initialStepTrackCandidatesPreSplitting*
206 initialStepTracksPreSplitting*
207 firstStepPrimaryVerticesPreSplitting*
208 initialStepTrackRefsForJetsPreSplitting*
209 caloTowerForTrkPreSplitting*
210 ak4CaloJetsForTrkPreSplitting*
211 jetsForCoreTrackingPreSplitting*
214 MeasurementTrackerEvent*
215 siPixelClusterShapeCache)
217 _InitialStepPreSplitting_trackingPhase1 = InitialStepPreSplitting.copy()
218 _InitialStepPreSplitting_trackingPhase1.replace(initialStepHitTripletsPreSplitting, initialStepHitTripletsPreSplitting*initialStepHitQuadrupletsPreSplitting)
219 trackingPhase1.toReplaceWith(InitialStepPreSplitting, _InitialStepPreSplitting_trackingPhase1.copyAndExclude([initialStepHitTripletsPreSplitting]))
220 trackingPhase1QuadProp.toReplaceWith(InitialStepPreSplitting, _InitialStepPreSplitting_trackingPhase1)
237 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
238 trackingLowPU.toReplaceWith(siPixelClusters, _siPixelClusters)
239 from Configuration.Eras.Modifier_trackingPhase1PU70_cff
import trackingPhase1PU70
240 trackingPhase1PU70.toReplaceWith(siPixelClusters, _siPixelClusters)
241 from Configuration.Eras.Modifier_trackingPhase2PU140_cff
import trackingPhase2PU140
242 trackingPhase2PU140.toReplaceWith(siPixelClusters, _siPixelClusters)
243 _InitialStepPreSplitting_LowPU_Phase1PU70 = cms.Sequence(
246 MeasurementTrackerEvent +
247 siPixelClusterShapeCache
249 trackingLowPU.toReplaceWith(InitialStepPreSplitting, _InitialStepPreSplitting_LowPU_Phase1PU70)
250 trackingPhase1PU70.toReplaceWith(InitialStepPreSplitting, _InitialStepPreSplitting_LowPU_Phase1PU70)
251 trackingPhase2PU140.toReplaceWith(InitialStepPreSplitting, _InitialStepPreSplitting_LowPU_Phase1PU70)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)