1 import FWCore.ParameterSet.Config
as cms
9 hiRegitMuInitialStepTrackingRegions = HiTrackingRegionFactoryFromSTAMuonsEDProducer.clone(
10 MuonSrc =
"standAloneMuons:UpdatedAtVtx",
11 MuonTrackingRegionBuilder = dict(
12 vertexCollection =
"hiSelectedPixelVertex",
30 hiRegitMuInitialStepSeedLayers = RecoTracker.IterativeTracking.InitialStep_cff.initialStepSeedLayers.clone()
33 hiRegitMuInitialStepHitDoublets = RecoTracker.IterativeTracking.InitialStep_cff.initialStepHitDoublets.clone(
34 seedingLayers =
"hiRegitMuInitialStepSeedLayers",
35 trackingRegions =
"hiRegitMuInitialStepTrackingRegions",
36 clusterCheck =
"hiRegitMuClusterCheck"
38 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
39 trackingPhase1.toModify(hiRegitMuInitialStepHitDoublets, layerPairs = [0])
41 hiRegitMuInitialStepHitTriplets = RecoTracker.IterativeTracking.InitialStep_cff.initialStepHitTriplets.clone(
42 doublets =
"hiRegitMuInitialStepHitDoublets"
44 hiRegitMuInitialStepSeeds = RecoTracker.IterativeTracking.InitialStep_cff.initialStepSeeds.clone(
45 seedingHitSets =
"hiRegitMuInitialStepHitTriplets"
49 hiRegitMuInitialStepTrajectoryFilterBase = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrajectoryFilterBase.clone(
52 hiRegitMuInitialStepTrajectoryFilter = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrajectoryFilter.clone(
54 cms.PSet( refToPSet_ = cms.string(
'hiRegitMuInitialStepTrajectoryFilterBase')),
55 cms.PSet( refToPSet_ = cms.string(
'initialStepTrajectoryFilterShape')))
58 hiRegitMuInitialStepTrajectoryBuilder = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrajectoryBuilder.clone(
59 trajectoryFilter = cms.PSet(
60 refToPSet_ = cms.string(
'hiRegitMuInitialStepTrajectoryFilter')
65 hiRegitMuInitialStepTrackCandidates = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTrackCandidates.clone(
66 src =
'hiRegitMuInitialStepSeeds',
67 TrajectoryBuilderPSet = cms.PSet(
68 refToPSet_ = cms.string(
'hiRegitMuInitialStepTrajectoryBuilder')
74 hiRegitMuInitialStepTracks = RecoTracker.IterativeTracking.InitialStep_cff.initialStepTracks.clone(
75 AlgorithmName =
'hiRegitMuInitialStep',
76 src =
'hiRegitMuInitialStepTrackCandidates'
80 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
82 hiRegitMuInitialStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
83 src =
'hiRegitMuInitialStepTracks',
84 vertices =
"hiSelectedPixelVertex",
86 GBRForestLabel =
'HIMVASelectorIter4',
87 GBRForestVars = [
'chi2perdofperlayer',
'dxyperdxyerror',
'dzperdzerror',
'nhits',
'nlayers',
'eta'],
88 trackSelectors = cms.VPSet(
89 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
90 name =
'hiRegitMuInitialStepLoose',
93 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
94 name =
'hiRegitMuInitialStepTight',
95 preFilterName =
'hiRegitMuInitialStepLoose',
100 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
101 name =
'hiRegitMuInitialStep',
102 preFilterName =
'hiRegitMuInitialStepTight',
109 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
110 trackingPhase1.toModify(hiRegitMuInitialStepSelector,
112 trackSelectors= cms.VPSet(
113 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
114 name =
'hiRegitMuInitialStepLoose',
117 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
118 name =
'hiRegitMuInitialStepTight',
119 preFilterName =
'hiRegitMuInitialStepLoose',
124 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
125 name =
'hiRegitMuInitialStep',
126 preFilterName =
'hiRegitMuInitialStepTight',
134 hiRegitMuonInitialStepTask = cms.Task(hiRegitMuInitialStepSeedLayers,
135 hiRegitMuInitialStepTrackingRegions,
136 hiRegitMuInitialStepHitDoublets,
137 hiRegitMuInitialStepHitTriplets,
138 hiRegitMuInitialStepSeeds,
139 hiRegitMuInitialStepTrackCandidates,
140 hiRegitMuInitialStepTracks,
141 hiRegitMuInitialStepSelector)
142 hiRegitMuonInitialStep = cms.Sequence(hiRegitMuonInitialStepTask)