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",
54 hiRegitMuPixelPairStepSeeds = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepSeeds.clone(
55 seedingHitSets =
"hiRegitMuPixelPairStepHitDoublets" 60 hiRegitMuPixelPairStepTrajectoryFilterBase = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryFilterBase.clone()
61 hiRegitMuPixelPairStepTrajectoryFilterBase.minPt = 0.8
62 hiRegitMuPixelPairStepTrajectoryFilterBase.minimumNumberOfHits = 6
63 hiRegitMuPixelPairStepTrajectoryFilterBase.minHitsMinPt = 4
65 hiRegitMuPixelPairStepTrajectoryFilter = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryFilter.clone()
66 hiRegitMuPixelPairStepTrajectoryFilter.filters = cms.VPSet(
67 cms.PSet( refToPSet_ = cms.string(
'hiRegitMuPixelPairStepTrajectoryFilterBase')),
68 cms.PSet( refToPSet_ = cms.string(
'pixelPairStepTrajectoryFilterShape')))
71 hiRegitMuPixelPairStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrajectoryBuilder.clone(
72 trajectoryFilter = cms.PSet(
73 refToPSet_ = cms.string(
'hiRegitMuPixelPairStepTrajectoryFilter')
75 minNrOfHitsForRebuild = 6
79 hiRegitMuPixelPairStepTrackCandidates = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTrackCandidates.clone(
80 src = cms.InputTag(
'hiRegitMuPixelPairStepSeeds'),
81 TrajectoryBuilder =
'hiRegitMuPixelPairStepTrajectoryBuilder',
82 clustersToSkip = cms.InputTag(
"hiRegitMuPixelPairStepClusters"),
83 maxNSeeds = cms.uint32(1000000)
87 hiRegitMuPixelPairStepTracks = RecoTracker.IterativeTracking.PixelPairStep_cff.pixelPairStepTracks.clone(
88 AlgorithmName = cms.string(
'hiRegitMuPixelPairStep'),
89 src =
'hiRegitMuPixelPairStepTrackCandidates',
90 clustersToSkip = cms.InputTag(
'hiRegitMuPixelPairStepClusters'),
94 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
96 hiRegitMuPixelPairStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
97 src =
'hiRegitMuPixelPairStepTracks',
98 vertices = cms.InputTag(
"hiSelectedPixelVertex"),
99 useAnyMVA = cms.bool(
True),
100 GBRForestLabel = cms.string(
'HIMVASelectorIter6'),
101 GBRForestVars = cms.vstring([
'chi2perdofperlayer',
'dxyperdxyerror',
'dzperdzerror',
'nhits',
'nlayers',
'eta']),
102 trackSelectors= cms.VPSet(
103 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
104 name =
'hiRegitMuPixelPairStepLoose',
105 min_nhits = cms.uint32(8)
107 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
108 name =
'hiRegitMuPixelPairStepTight',
109 preFilterName =
'hiRegitMuPixelPairStepLoose',
110 min_nhits = cms.uint32(8),
111 useMVA = cms.bool(
True),
112 minMVA = cms.double(-0.58)
114 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
115 name =
'hiRegitMuPixelPairStep',
116 preFilterName =
'hiRegitMuPixelPairStepTight',
117 min_nhits = cms.uint32(8),
118 useMVA = cms.bool(
True),
119 minMVA = cms.double(0.77)
123 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
124 trackingPhase1.toModify(hiRegitMuPixelPairStepSelector, useAnyMVA = cms.bool(
False))
125 trackingPhase1.toModify(hiRegitMuPixelPairStepSelector, trackSelectors= cms.VPSet(
126 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
127 name =
'hiRegitMuPixelPairStepLoose',
128 min_nhits = cms.uint32(8)
130 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
131 name =
'hiRegitMuPixelPairStepTight',
132 preFilterName =
'hiRegitMuPixelPairStepLoose',
133 min_nhits = cms.uint32(8),
134 useMVA = cms.bool(
False),
135 minMVA = cms.double(-0.58)
137 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
138 name =
'hiRegitMuPixelPairStep',
139 preFilterName =
'hiRegitMuPixelPairStepTight',
140 min_nhits = cms.uint32(8),
141 useMVA = cms.bool(
False),
142 minMVA = cms.double(0.77)
147 hiRegitMuonPixelPairStep = cms.Sequence(hiRegitMuPixelPairStepClusters*
148 hiRegitMuPixelPairStepSeedLayers*
149 hiRegitMuPixelPairStepTrackingRegions*
150 hiRegitMuPixelPairStepHitDoublets*
151 hiRegitMuPixelPairStepSeeds*
152 hiRegitMuPixelPairStepTrackCandidates*
153 hiRegitMuPixelPairStepTracks*
154 hiRegitMuPixelPairStepSelector)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...