1 import FWCore.ParameterSet.Config
as cms
11 hiRegitMuPixelPairStepTrackingRegions = HiTrackingRegionFactoryFromSTAMuonsEDProducer.clone(
12 MuonSrc =
"standAloneMuons:UpdatedAtVtx",
13 MuonTrackingRegionBuilder =
dict(
14 vertexCollection =
"hiSelectedPixelVertex",
32 hiRegitMuPixelPairStepClusters = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepClusters.clone(
33 trajectories = cms.InputTag(
"hiRegitMuInitialStepTracks"),
34 overrideTrkQuals = cms.InputTag(
'hiRegitMuInitialStepSelector',
'hiRegitMuInitialStep'),
35 trackClassifier = cms.InputTag(
''),
36 oldClusterRemovalInfo = cms.InputTag(
""),
37 TrackQuality = cms.string(
'tight')
42 hiRegitMuPixelPairStepSeedLayers = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeedLayers.clone()
43 hiRegitMuPixelPairStepSeedLayers.BPix.skipClusters = cms.InputTag(
'hiRegitMuPixelPairStepClusters')
44 hiRegitMuPixelPairStepSeedLayers.FPix.skipClusters = cms.InputTag(
'hiRegitMuPixelPairStepClusters')
49 hiRegitMuPixelPairStepHitDoublets = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepHitDoublets.clone(
50 seedingLayers =
"hiRegitMuPixelPairStepSeedLayers",
51 trackingRegions =
"hiRegitMuPixelPairStepTrackingRegions",
52 clusterCheck =
"hiRegitMuClusterCheck",
55 hiRegitMuPixelPairStepSeeds = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeedsA.clone(
56 seedingHitSets =
"hiRegitMuPixelPairStepHitDoublets" 61 hiRegitMuPixelPairStepTrajectoryFilterBase = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryFilterBase.clone()
62 hiRegitMuPixelPairStepTrajectoryFilterBase.minPt = 0.8
63 hiRegitMuPixelPairStepTrajectoryFilterBase.minimumNumberOfHits = 6
64 hiRegitMuPixelPairStepTrajectoryFilterBase.minHitsMinPt = 4
66 hiRegitMuPixelPairStepTrajectoryFilter = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryFilter.clone()
67 hiRegitMuPixelPairStepTrajectoryFilter.filters = cms.VPSet(
68 cms.PSet( refToPSet_ = cms.string(
'hiRegitMuPixelPairStepTrajectoryFilterBase')),
69 cms.PSet( refToPSet_ = cms.string(
'pixelPairStepTrajectoryFilterShape')))
72 hiRegitMuPixelPairStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryBuilder.clone(
73 trajectoryFilter = cms.PSet(
74 refToPSet_ = cms.string(
'hiRegitMuPixelPairStepTrajectoryFilter')
76 minNrOfHitsForRebuild = 6
80 hiRegitMuPixelPairStepTrackCandidates = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrackCandidates.clone(
81 src = cms.InputTag(
'hiRegitMuPixelPairStepSeeds'),
82 TrajectoryBuilder =
'hiRegitMuPixelPairStepTrajectoryBuilder',
83 clustersToSkip = cms.InputTag(
"hiRegitMuPixelPairStepClusters"),
84 maxNSeeds = cms.uint32(1000000)
88 hiRegitMuPixelPairStepTracks = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTracks.clone(
89 AlgorithmName = cms.string(
'hiRegitMuPixelPairStep'),
90 src =
'hiRegitMuPixelPairStepTrackCandidates',
91 clustersToSkip = cms.InputTag(
'hiRegitMuPixelPairStepClusters'),
95 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
97 hiRegitMuPixelPairStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
98 src =
'hiRegitMuPixelPairStepTracks',
99 vertices = cms.InputTag(
"hiSelectedPixelVertex"),
100 useAnyMVA = cms.bool(
True),
101 GBRForestLabel = cms.string(
'HIMVASelectorIter6'),
102 GBRForestVars = cms.vstring([
'chi2perdofperlayer',
'dxyperdxyerror',
'dzperdzerror',
'nhits',
'nlayers',
'eta']),
103 trackSelectors= cms.VPSet(
104 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
105 name =
'hiRegitMuPixelPairStepLoose',
106 min_nhits = cms.uint32(8)
108 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
109 name =
'hiRegitMuPixelPairStepTight',
110 preFilterName =
'hiRegitMuPixelPairStepLoose',
111 min_nhits = cms.uint32(8),
112 useMVA = cms.bool(
True),
113 minMVA = cms.double(-0.58)
115 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
116 name =
'hiRegitMuPixelPairStep',
117 preFilterName =
'hiRegitMuPixelPairStepTight',
118 min_nhits = cms.uint32(8),
119 useMVA = cms.bool(
True),
120 minMVA = cms.double(0.77)
124 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
125 trackingPhase1.toModify(hiRegitMuPixelPairStepSelector, useAnyMVA = cms.bool(
False))
126 trackingPhase1.toModify(hiRegitMuPixelPairStepSelector, trackSelectors= cms.VPSet(
127 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
128 name =
'hiRegitMuPixelPairStepLoose',
129 min_nhits = cms.uint32(8)
131 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
132 name =
'hiRegitMuPixelPairStepTight',
133 preFilterName =
'hiRegitMuPixelPairStepLoose',
134 min_nhits = cms.uint32(8),
135 useMVA = cms.bool(
False),
136 minMVA = cms.double(-0.58)
138 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
139 name =
'hiRegitMuPixelPairStep',
140 preFilterName =
'hiRegitMuPixelPairStepTight',
141 min_nhits = cms.uint32(8),
142 useMVA = cms.bool(
False),
143 minMVA = cms.double(0.77)
148 hiRegitMuonPixelPairStep = cms.Sequence(hiRegitMuPixelPairStepClusters*
149 hiRegitMuPixelPairStepSeedLayers*
150 hiRegitMuPixelPairStepTrackingRegions*
151 hiRegitMuPixelPairStepHitDoublets*
152 hiRegitMuPixelPairStepSeeds*
153 hiRegitMuPixelPairStepTrackCandidates*
154 hiRegitMuPixelPairStepTracks*
155 hiRegitMuPixelPairStepSelector)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...