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' 17 import RecoTracker.TkSeedingLayers.PixelLayerQuadruplets_cfi
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 = RecoTracker.TkSeedingLayers.PixelLayerQuadruplets_cfi.PixelLayerQuadruplets.layerList.value()
27 from RecoTracker.TkTrackingRegions.globalTrackingRegionFromBeamSpot_cfi
import globalTrackingRegionFromBeamSpot
as _globalTrackingRegionFromBeamSpot
28 initialStepTrackingRegionsPreSplitting = _globalTrackingRegionFromBeamSpot.clone(RegionPSet =
dict(
33 trackingPhase1.toModify(initialStepTrackingRegionsPreSplitting, RegionPSet =
dict(ptMin = 0.5))
36 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
37 initialStepHitDoubletsPreSplitting = _hitPairEDProducer.clone(
38 seedingLayers =
"initialStepSeedLayersPreSplitting",
39 trackingRegions =
"initialStepTrackingRegionsPreSplitting",
40 clusterCheck =
"trackerClusterCheckPreSplitting",
42 produceIntermediateHitDoublets =
True,
44 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi
import pixelTripletHLTEDProducer
as _pixelTripletHLTEDProducer
46 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
47 initialStepHitTripletsPreSplitting = _pixelTripletHLTEDProducer.clone(
48 doublets =
"initialStepHitDoubletsPreSplitting",
49 produceSeedingHitSets =
True,
50 SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone(
51 clusterShapeCacheSrc =
'siPixelClusterShapeCachePreSplitting' 54 from RecoPixelVertexing.PixelTriplets.caHitQuadrupletEDProducer_cfi
import caHitQuadrupletEDProducer
as _caHitQuadrupletEDProducer
55 trackingPhase1.toModify(initialStepHitDoubletsPreSplitting, layerPairs = [0,1,2])
56 initialStepHitQuadrupletsPreSplitting = _caHitQuadrupletEDProducer.clone(
57 doublets =
"initialStepHitDoubletsPreSplitting",
58 extraHitRPhitolerance = initialStepHitTripletsPreSplitting.extraHitRPhitolerance,
59 SeedComparitorPSet = initialStepHitTripletsPreSplitting.SeedComparitorPSet,
62 value1 = 200, value2 = 50,
64 useBendingCorrection =
True,
66 fitFastCircleChi2Cut =
True,
70 from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsEDProducer_cff
import seedCreatorFromRegionConsecutiveHitsEDProducer
as _seedCreatorFromRegionConsecutiveHitsEDProducer
71 initialStepSeedsPreSplitting = _seedCreatorFromRegionConsecutiveHitsEDProducer.clone(
72 seedingHitSets =
"initialStepHitTripletsPreSplitting",
74 trackingPhase1.toModify(initialStepSeedsPreSplitting, seedingHitSets =
"initialStepHitQuadrupletsPreSplitting")
79 initialStepTrajectoryFilterBasePreSplitting = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
80 minimumNumberOfHits = 4,
83 minGoodStripCharge = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutLoose'))
85 from Configuration.Eras.Modifier_tracker_apv_vfp30_2016_cff
import tracker_apv_vfp30_2016
86 _tracker_apv_vfp30_2016.toModify(initialStepTrajectoryFilterBasePreSplitting, maxCCCLostHits = 2)
87 import RecoPixelVertexing.PixelLowPtUtilities.StripSubClusterShapeTrajectoryFilter_cfi
88 initialStepTrajectoryFilterShapePreSplitting = RecoPixelVertexing.PixelLowPtUtilities.StripSubClusterShapeTrajectoryFilter_cfi.StripSubClusterShapeTrajectoryFilterTIX12.clone()
89 initialStepTrajectoryFilterPreSplitting = cms.PSet(
90 ComponentType = cms.string(
'CompositeTrajectoryFilter'),
92 cms.PSet( refToPSet_ = cms.string(
'initialStepTrajectoryFilterBasePreSplitting')),
93 cms.PSet( refToPSet_ = cms.string(
'initialStepTrajectoryFilterShapePreSplitting'))),
96 import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
97 initialStepChi2EstPreSplitting = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
98 ComponentName = cms.string(
'initialStepChi2EstPreSplitting'),
99 nSigma = cms.double(3.0),
100 MaxChi2 = cms.double(16.0),
101 clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutLoose')),
103 _tracker_apv_vfp30_2016.toModify(initialStepChi2EstPreSplitting,
104 clusterChargeCut =
dict(refToPSet_ =
"SiStripClusterChargeCutTiny")
108 initialStepTrajectoryBuilderPreSplitting = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
109 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'initialStepTrajectoryFilterPreSplitting')),
110 alwaysUseInvalidHits =
True,
112 estimator = cms.string(
'initialStepChi2Est'),
116 initialStepTrackCandidatesPreSplitting = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
117 src = cms.InputTag(
'initialStepSeedsPreSplitting'),
119 numHitsForSeedCleaner = cms.int32(50),
120 onlyPixelHitsForSeedCleaner = cms.bool(
True),
121 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'initialStepTrajectoryBuilderPreSplitting')),
122 doSeedingRegionRebuilding =
True,
123 useHitsSplitting =
True 125 initialStepTrackCandidatesPreSplitting.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting' 129 initialStepTracksPreSplitting = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
130 src =
'initialStepTrackCandidatesPreSplitting',
131 AlgorithmName = cms.string(
'initialStep'),
132 Fitter = cms.string(
'FlexibleKFFittingSmoother'),
133 NavigationSchool =
'',
134 MeasurementTrackerEvent =
'' 136 initialStepTracksPreSplitting.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting' 140 firstStepPrimaryVerticesPreSplitting = _offlinePrimaryVertices.clone()
141 firstStepPrimaryVerticesPreSplitting.TrackLabel = cms.InputTag(
"initialStepTracksPreSplitting")
142 firstStepPrimaryVerticesPreSplitting.vertexCollections = [_offlinePrimaryVertices.vertexCollections[0].
clone()]
147 initialStepTrackRefsForJetsPreSplitting = initialStepTrackRefsForJets.clone(
148 src =
'initialStepTracksPreSplitting')
149 caloTowerForTrkPreSplitting = caloTowerForTrk.clone()
150 ak4CaloJetsForTrkPreSplitting = ak4CaloJetsForTrk.clone(
151 src =
'caloTowerForTrkPreSplitting',
152 srcPVs =
'firstStepPrimaryVerticesPreSplitting')
153 jetsForCoreTrackingPreSplitting = jetsForCoreTracking.clone(
154 src =
'ak4CaloJetsForTrkPreSplitting')
157 from RecoLocalTracker.SubCollectionProducers.jetCoreClusterSplitter_cfi
import jetCoreClusterSplitter
158 siPixelClusters = jetCoreClusterSplitter.clone(
159 pixelClusters = cms.InputTag(
'siPixelClustersPreSplitting'),
160 vertices =
'firstStepPrimaryVerticesPreSplitting',
161 cores =
'jetsForCoreTrackingPreSplitting' 168 InitialStepPreSplittingTask = cms.Task(trackerClusterCheckPreSplitting,
169 initialStepSeedLayersPreSplitting,
170 initialStepTrackingRegionsPreSplitting,
171 initialStepHitDoubletsPreSplitting,
172 initialStepHitTripletsPreSplitting,
173 initialStepSeedsPreSplitting,
174 initialStepTrackCandidatesPreSplitting,
175 initialStepTracksPreSplitting,
176 firstStepPrimaryVerticesPreSplitting,
177 initialStepTrackRefsForJetsPreSplitting,
178 caloTowerForTrkPreSplitting,
179 ak4CaloJetsForTrkPreSplitting,
180 jetsForCoreTrackingPreSplitting,
183 MeasurementTrackerEvent,
184 siPixelClusterShapeCache)
185 InitialStepPreSplitting = cms.Sequence(InitialStepPreSplittingTask)
186 _InitialStepPreSplittingTask_trackingPhase1 = InitialStepPreSplittingTask.copy()
187 _InitialStepPreSplittingTask_trackingPhase1.replace(initialStepHitTripletsPreSplitting, cms.Task(initialStepHitTripletsPreSplitting,initialStepHitQuadrupletsPreSplitting))
188 trackingPhase1.toReplaceWith(InitialStepPreSplittingTask, _InitialStepPreSplittingTask_trackingPhase1.copyAndExclude([initialStepHitTripletsPreSplitting]))
206 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
207 trackingLowPU.toReplaceWith(siPixelClusters, _siPixelClusters)
208 from Configuration.Eras.Modifier_trackingPhase2PU140_cff
import trackingPhase2PU140
209 trackingPhase2PU140.toReplaceWith(siPixelClusters, _siPixelClusters)
210 _InitialStepPreSplittingTask_LowPU_Phase2PU140 = cms.Task(
213 MeasurementTrackerEvent ,
214 siPixelClusterShapeCache
216 trackingLowPU.toReplaceWith(InitialStepPreSplittingTask, _InitialStepPreSplittingTask_LowPU_Phase2PU140)
217 trackingPhase2PU140.toReplaceWith(InitialStepPreSplittingTask, _InitialStepPreSplittingTask_LowPU_Phase2PU140)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)