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(
"hiSelectedVertex")
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.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
81 ComponentName = cms.string(
'hiPixelPairChi2Est'),
82 nSigma = cms.double(3.0),
83 MaxChi2 = cms.double(9.0),
84 minGoodStripCharge = cms.double(2069),
85 pTChargeCutThreshold = cms.double(15.)
90 hiPixelPairTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
91 MeasurementTrackerName =
'',
92 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'hiPixelPairTrajectoryFilter')),
94 estimator = cms.string(
'hiPixelPairChi2Est'),
95 maxDPhiForLooperReconstruction = cms.double(2.0),
96 maxPtForLooperReconstruction = cms.double(0.7)
101 hiPixelPairTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
102 src = cms.InputTag(
'hiPixelPairSeeds'),
103 clustersToSkip = cms.InputTag(
'hiPixelPairClusters'),
104 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'hiPixelPairTrajectoryBuilder')),
106 numHitsForSeedCleaner = cms.int32(50),
107 onlyPixelHitsForSeedCleaner = cms.bool(
True),
114 hiPixelPairGlobalPrimTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
115 AlgorithmName = cms.string(
'pixelPairStep'),
116 src =
'hiPixelPairTrackCandidates',
117 Fitter = cms.string(
'FlexibleKFFittingSmoother')
124 hiPixelPairStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
125 src=
'hiPixelPairGlobalPrimTracks',
126 useAnyMVA = cms.bool(
True),
127 GBRForestLabel = cms.string(
'HIMVASelectorIter6'),
128 GBRForestVars = cms.vstring([
'chi2perdofperlayer',
'dxyperdxyerror',
'dzperdzerror',
'nhits',
'nlayers',
'eta']),
129 trackSelectors= cms.VPSet(
130 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
131 name =
'hiPixelPairStepLoose',
132 useMVA = cms.bool(
False)
134 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
135 name =
'hiPixelPairStepTight',
136 preFilterName =
'hiPixelPairStepLoose',
137 useMVA = cms.bool(
True),
138 minMVA = cms.double(-0.58)
140 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
141 name =
'hiPixelPairStep',
142 preFilterName =
'hiPixelPairStepTight',
143 useMVA = cms.bool(
True),
144 minMVA = cms.double(0.77)
153 hiPixelPairStep = cms.Sequence(hiPixelPairClusters*
154 hiPixelPairSeedLayers*
156 hiPixelPairTrackCandidates*
157 hiPixelPairGlobalPrimTracks*
158 hiPixelPairStepSelector)