1 import FWCore.ParameterSet.Config
as cms
6 hiPixelPairClusters = cms.EDProducer(
"HITrackClusterRemover",
7 clusterLessSolution= cms.bool(
True),
8 oldClusterRemovalInfo = cms.InputTag(
"hiLowPtTripletStepClusters"),
9 trajectories = cms.InputTag(
"hiLowPtTripletStepTracks"),
10 overrideTrkQuals = cms.InputTag(
'hiLowPtTripletStepSelector',
'hiLowPtTripletStep'),
11 TrackQuality = cms.string(
'highPurity'),
12 minNumberOfLayersWithMeasBeforeFiltering = cms.int32(0),
13 pixelClusters = cms.InputTag(
"siPixelClusters"),
14 stripClusters = cms.InputTag(
"siStripClusters"),
16 maxChi2 = cms.double(9.0),
19 maxChi2 = cms.double(9.0),
21 maxSize = cms.uint32(2)
28 hiPixelPairSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerPairs_cfi.PixelLayerPairs.clone(
29 layerList = cms.vstring(
'BPix1+BPix2',
'BPix1+BPix3',
'BPix2+BPix3',
30 'BPix1+FPix1_pos',
'BPix1+FPix1_neg',
31 'BPix2+FPix1_pos',
'BPix2+FPix1_neg',
32 'FPix1_pos+FPix2_pos',
'FPix1_neg+FPix2_neg'),
34 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
35 HitProducer = cms.string(
'siPixelRecHits'),
36 skipClusters = cms.InputTag(
'hiPixelPairClusters')
39 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
40 HitProducer = cms.string(
'siPixelRecHits'),
41 skipClusters = cms.InputTag(
'hiPixelPairClusters')
47 hiPixelPairSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromPairsWithVertices_cff.globalSeedsFromPairsWithVertices.clone()
48 hiPixelPairSeeds.RegionFactoryPSet.RegionPSet.VertexCollection=cms.InputTag(
"hiSelectedPixelVertex")
49 hiPixelPairSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.0
50 hiPixelPairSeeds.RegionFactoryPSet.RegionPSet.originRadius = 0.005
51 hiPixelPairSeeds.RegionFactoryPSet.RegionPSet.nSigmaZ = 4.0
53 hiPixelPairSeeds.RegionFactoryPSet.RegionPSet.sigmaZVertex = 4.0
54 hiPixelPairSeeds.RegionFactoryPSet.RegionPSet.useFixedError = cms.bool(
False)
55 hiPixelPairSeeds.OrderedHitsFactoryPSet.SeedingLayers = cms.InputTag(
'hiPixelPairSeedLayers')
56 hiPixelPairSeeds.OrderedHitsFactoryPSet.maxElement = 5000000
57 hiPixelPairSeeds.ClusterCheckPSet.MaxNumberOfPixelClusters = 5000000
58 hiPixelPairSeeds.ClusterCheckPSet.MaxNumberOfCosmicClusters = 50000000
59 hiPixelPairSeeds.ClusterCheckPSet.MaxNumberOfCosmicClusters = 50000000
60 del hiPixelPairSeeds.ClusterCheckPSet.cut
62 hiPixelPairSeeds.SeedComparitorPSet = cms.PSet(
63 ComponentName = cms.string(
'PixelClusterShapeSeedComparitor'),
64 FilterAtHelixStage = cms.bool(
True),
65 FilterPixelHits = cms.bool(
True),
66 FilterStripHits = cms.bool(
False),
67 ClusterShapeHitFilterName = cms.string(
'ClusterShapeHitFilter'),
68 ClusterShapeCacheSrc = cms.InputTag(
"siPixelClusterShapeCache")
73 hiPixelPairTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
75 minimumNumberOfHits = 6,
80 hiPixelPairChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
81 ComponentName = cms.string(
'hiPixelPairChi2Est'),
82 nSigma = cms.double(3.0),
83 MaxChi2 = cms.double(9.0)
88 hiPixelPairTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
89 MeasurementTrackerName =
'',
90 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'hiPixelPairTrajectoryFilter')),
92 estimator = cms.string(
'hiPixelPairChi2Est'),
93 maxDPhiForLooperReconstruction = cms.double(2.0),
94 maxPtForLooperReconstruction = cms.double(0.7)
99 hiPixelPairTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
100 src = cms.InputTag(
'hiPixelPairSeeds'),
101 clustersToSkip = cms.InputTag(
'hiPixelPairClusters'),
102 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'hiPixelPairTrajectoryBuilder')),
104 numHitsForSeedCleaner = cms.int32(50),
105 onlyPixelHitsForSeedCleaner = cms.bool(
True),
112 hiPixelPairGlobalPrimTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
113 AlgorithmName = cms.string(
'pixelPairStep'),
114 src =
'hiPixelPairTrackCandidates',
115 Fitter = cms.string(
'FlexibleKFFittingSmoother')
122 hiPixelPairStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
123 src=
'hiPixelPairGlobalPrimTracks',
124 useAnyMVA = cms.bool(
True),
125 GBRForestLabel = cms.string(
'HIMVASelectorIter6'),
126 GBRForestVars = cms.vstring([
'chi2perdofperlayer',
'dxyperdxyerror',
'dzperdzerror',
'nhits',
'nlayers',
'eta']),
127 trackSelectors= cms.VPSet(
128 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
129 name =
'hiPixelPairStepLoose',
130 useMVA = cms.bool(
False)
132 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
133 name =
'hiPixelPairStepTight',
134 preFilterName =
'hiPixelPairStepLoose',
135 useMVA = cms.bool(
True),
136 minMVA = cms.double(-0.58)
138 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
139 name =
'hiPixelPairStep',
140 preFilterName =
'hiPixelPairStepTight',
141 useMVA = cms.bool(
True),
142 minMVA = cms.double(0.77)
146 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
147 trackingPhase1.toModify(hiPixelPairStepSelector, useAnyMVA = cms.bool(
False))
148 trackingPhase1.toModify(hiPixelPairStepSelector, trackSelectors= cms.VPSet(
149 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
150 name =
'hiPixelPairStepLoose',
151 useMVA = cms.bool(
False)
153 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
154 name =
'hiPixelPairStepTight',
155 preFilterName =
'hiPixelPairStepLoose',
156 useMVA = cms.bool(
False),
157 minMVA = cms.double(-0.58)
159 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
160 name =
'hiPixelPairStep',
161 preFilterName =
'hiPixelPairStepTight',
162 useMVA = cms.bool(
False),
163 minMVA = cms.double(0.77)
172 hiPixelPairStep = cms.Sequence(hiPixelPairClusters*
173 hiPixelPairSeedLayers*
175 hiPixelPairTrackCandidates*
176 hiPixelPairGlobalPrimTracks*
177 hiPixelPairStepSelector)