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 *
12 hiTobTecStepClusters = hiPixelLessStepClusters.clone(
13 trajectories =
"hiPixelLessStepTracks",
14 overrideTrkQuals =
'hiPixelLessStepSelector:hiPixelLessStep'
17 tobTecStepSeedLayersTripl.TOB.skipClusters =
'hiTobTecStepClusters'
18 tobTecStepSeedLayersTripl.MTOB.skipClusters =
'hiTobTecStepClusters'
19 tobTecStepSeedLayersTripl.MTEC.skipClusters =
'hiTobTecStepClusters'
23 hiTobTecStepTrackingRegionsTripl = _hiMixedTripletStepTrackingRegionsA.clone(RegionPSet=dict(
31 tobTecStepHitDoubletsTripl.clusterCheck =
""
32 tobTecStepHitDoubletsTripl.trackingRegions =
"hiTobTecStepTrackingRegionsTripl"
34 tobTecStepSeedLayersPair.TOB.skipClusters =
'hiTobTecStepClusters'
35 tobTecStepSeedLayersPair.TEC.skipClusters =
'hiTobTecStepClusters'
38 hiTobTecStepTrackingRegionsPair = hiTobTecStepTrackingRegionsTripl.clone(RegionPSet=dict(
45 tobTecStepHitDoubletsPair.clusterCheck =
""
46 tobTecStepHitDoubletsPair.trackingRegions =
"hiTobTecStepTrackingRegionsPair"
51 tobTecStepTrajectoryFilter.minimumNumberOfHits = 5
52 tobTecStepTrajectoryFilter.minPt = 0.85
55 tobTecStepTrackCandidates.clustersToSkip =
'hiTobTecStepClusters'
58 hiTobTecStepTracks = tobTecStepTracks.clone()
62 hiTobTecStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
63 src =
'hiTobTecStepTracks',
65 GBRForestLabel =
'HIMVASelectorIter13',
66 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
67 trackSelectors = cms.VPSet(
68 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
69 name =
'hiTobTecStepLoose',
70 applyAdaptedPVCuts =
False,
73 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
74 name =
'hiTobTecStepTight',
75 preFilterName =
'hiTobTecStepLoose',
76 applyAdaptedPVCuts =
False,
80 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
81 name =
'hiTobTecStep',
82 preFilterName =
'hiTobTecStepTight',
83 applyAdaptedPVCuts =
False,
91 hiTobTecStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
92 TrackProducers = [
'hiTobTecStepTracks'],
94 selectedTrackQuals = [
"hiTobTecStepSelector:hiTobTecStep"],
96 makeReKeyedSeeds = cms.untracked.bool(
False),
100 hiTobTecStepTask = cms.Task(hiTobTecStepClusters,
101 tobTecStepSeedLayersTripl,
102 hiTobTecStepTrackingRegionsTripl,
103 tobTecStepHitDoubletsTripl,
104 tobTecStepHitTripletsTripl,
105 tobTecStepSeedsTripl,
106 tobTecStepSeedLayersPair,
107 hiTobTecStepTrackingRegionsPair,
108 tobTecStepHitDoubletsPair,
111 tobTecStepTrackCandidates,
113 hiTobTecStepSelector,
116 hiTobTecStep = cms.Sequence(hiTobTecStepTask)