1 from __future__
import absolute_import
2 import FWCore.ParameterSet.Config
as cms
3 import RecoTracker.IterativeTracking.iterativeTkConfig
as _cfg
5 from .HIPixelTripletSeeds_cff
import *
6 from .HIPixel3PrimTracks_cfi
import *
14 hiPixelLessStepClusters = hiMixedTripletStepClusters.clone(
15 trajectories =
"hiMixedTripletStepTracks",
16 overrideTrkQuals =
'hiMixedTripletStepSelector:hiMixedTripletStep'
19 pixelLessStepSeedLayers.TIB.skipClusters =
'hiPixelLessStepClusters'
20 pixelLessStepSeedLayers.MTIB.skipClusters =
'hiPixelLessStepClusters'
21 pixelLessStepSeedLayers.TID.skipClusters =
'hiPixelLessStepClusters'
22 pixelLessStepSeedLayers.MTID.skipClusters =
'hiPixelLessStepClusters'
23 pixelLessStepSeedLayers.TEC.skipClusters =
'hiPixelLessStepClusters'
24 pixelLessStepSeedLayers.MTEC.skipClusters =
'hiPixelLessStepClusters'
28 hiPixelLessStepTrackingRegions = _hiMixedTripletStepTrackingRegionsA.clone(RegionPSet=dict(
36 pixelLessStepHitDoublets.clusterCheck =
""
37 pixelLessStepHitDoublets.trackingRegions =
"hiPixelLessStepTrackingRegions"
41 pixelLessStepTrajectoryFilter.minimumNumberOfHits = 5
42 pixelLessStepTrajectoryFilter.minPt = 0.7
45 pixelLessStepTrackCandidates.clustersToSkip =
'hiPixelLessStepClusters'
48 hiPixelLessStepTracks = pixelLessStepTracks.clone()
52 hiPixelLessStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
53 src =
'hiPixelLessStepTracks',
55 GBRForestLabel =
'HIMVASelectorIter12',
56 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
57 trackSelectors= cms.VPSet(
58 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
59 name =
'hiPixelLessStepLoose',
60 applyAdaptedPVCuts =
False,
63 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
64 name =
'hiPixelLessStepTight',
65 preFilterName =
'hiPixelLessStepLoose',
66 applyAdaptedPVCuts =
False,
70 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
71 name =
'hiPixelLessStep',
72 preFilterName =
'hiPixelLessStepTight',
73 applyAdaptedPVCuts =
False,
81 hiPixelLessStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
82 TrackProducers = [
'hiPixelLessStepTracks'],
84 selectedTrackQuals = [
"hiPixelLessStepSelector:hiPixelLessStep"],
86 makeReKeyedSeeds = cms.untracked.bool(
False),
89 hiPixelLessStepTask = cms.Task(hiPixelLessStepClusters,
90 pixelLessStepSeedLayers,
91 hiPixelLessStepTrackingRegions,
92 pixelLessStepHitDoublets,
93 pixelLessStepHitTriplets,
95 pixelLessStepTrackCandidates,
96 hiPixelLessStepTracks,
97 hiPixelLessStepSelector,
100 hiPixelLessStep = cms.Sequence(hiPixelLessStepTask)