1 from __future__
import absolute_import
2 import FWCore.ParameterSet.Config
as cms
3 import RecoTracker.IterativeTracking.iterativeTkConfig
as _cfg
4 from RecoTracker.IterativeTracking.TobTecStep_cff import tobTecStepSeedLayersPair,tobTecStepSeedLayersTripl,tobTecStepHitDoubletsPair,tobTecStepHitDoubletsTripl,tobTecStepHitTripletsTripl,tobTecStepTracks,tobTecStepSeedsPair,tobTecStepSeedsTripl,tobTecStepSeeds,tobTecStepTrajectoryBuilder,tobTecStepInOutTrajectoryFilter,tobTecStepClusterShapeHitFilter,tobTecStepTrajectoryCleanerBySharedHits,tobTecStepChi2Est,tobTecFlexibleKFFittingSmoother,tobTecStepFitterSmoother,tobTecStepRKTrajectorySmoother,tobTecStepRKTrajectoryFitter,tobTecStepFitterSmootherForLoopers,tobTecStepRKTrajectorySmootherForLoopers,tobTecStepRKTrajectoryFitterForLoopers
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
56 tobTecStepTrackCandidates = _tobTecStepTrackCandidatesCkf.clone(clustersToSkip =
'hiTobTecStepClusters')
59 hiTobTecStepTracks = tobTecStepTracks.clone()
63 hiTobTecStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
64 src =
'hiTobTecStepTracks',
66 GBRForestLabel =
'HIMVASelectorIter13',
67 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
68 trackSelectors = cms.VPSet(
69 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
70 name =
'hiTobTecStepLoose',
71 applyAdaptedPVCuts =
False,
74 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
75 name =
'hiTobTecStepTight',
76 preFilterName =
'hiTobTecStepLoose',
77 applyAdaptedPVCuts =
False,
81 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
82 name =
'hiTobTecStep',
83 preFilterName =
'hiTobTecStepTight',
84 applyAdaptedPVCuts =
False,
92 hiTobTecStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
93 TrackProducers = [
'hiTobTecStepTracks'],
95 selectedTrackQuals = [
"hiTobTecStepSelector:hiTobTecStep"],
97 makeReKeyedSeeds = cms.untracked.bool(
False),
101 hiTobTecStepTask = cms.Task(hiTobTecStepClusters,
102 tobTecStepSeedLayersTripl,
103 hiTobTecStepTrackingRegionsTripl,
104 tobTecStepHitDoubletsTripl,
105 tobTecStepHitTripletsTripl,
106 tobTecStepSeedsTripl,
107 tobTecStepSeedLayersPair,
108 hiTobTecStepTrackingRegionsPair,
109 tobTecStepHitDoubletsPair,
112 tobTecStepTrackCandidates,
114 hiTobTecStepSelector,
117 hiTobTecStep = cms.Sequence(hiTobTecStepTask)