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 hiTobTecStepClusters.trajectories = cms.InputTag(
"hiPixelLessStepTracks")
14 hiTobTecStepClusters.overrideTrkQuals = cms.InputTag(
'hiPixelLessStepSelector',
'hiPixelLessStep')
17 tobTecStepSeedLayersTripl.TOB.skipClusters = cms.InputTag(
'hiTobTecStepClusters')
18 tobTecStepSeedLayersTripl.MTOB.skipClusters = cms.InputTag(
'hiTobTecStepClusters')
19 tobTecStepSeedLayersTripl.MTEC.skipClusters = cms.InputTag(
'hiTobTecStepClusters')
23 hiTobTecStepTrackingRegionsTripl = _hiMixedTripletStepTrackingRegionsA.clone(RegionPSet=dict(
31 tobTecStepHitDoubletsTripl.clusterCheck =
""
32 tobTecStepHitDoubletsTripl.trackingRegions =
"hiTobTecStepTrackingRegionsTripl"
34 tobTecStepSeedLayersPair.TOB.skipClusters = cms.InputTag(
'hiTobTecStepClusters')
35 tobTecStepSeedLayersPair.TEC.skipClusters = cms.InputTag(
'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 = cms.InputTag(
'hiTobTecStepClusters')
58 hiTobTecStepTracks = tobTecStepTracks.clone()
62 hiTobTecStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
63 src=
'hiTobTecStepTracks',
64 useAnyMVA = cms.bool(
False),
65 GBRForestLabel = cms.string(
'HIMVASelectorIter13'),
66 GBRForestVars = cms.vstring([
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta']),
67 trackSelectors= cms.VPSet(
68 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
69 name =
'hiTobTecStepLoose',
70 applyAdaptedPVCuts = cms.bool(
False),
71 useMVA = cms.bool(
False),
73 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
74 name =
'hiTobTecStepTight',
75 preFilterName =
'hiTobTecStepLoose',
76 applyAdaptedPVCuts = cms.bool(
False),
77 useMVA = cms.bool(
False),
78 minMVA = cms.double(-0.2)
80 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
81 name =
'hiTobTecStep',
82 preFilterName =
'hiTobTecStepTight',
83 applyAdaptedPVCuts = cms.bool(
False),
84 useMVA = cms.bool(
False),
85 minMVA = cms.double(-0.09)
91 hiTobTecStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
92 TrackProducers=cms.VInputTag(cms.InputTag(
'hiTobTecStepTracks')),
93 hasSelector=cms.vint32(1),
94 selectedTrackQuals = cms.VInputTag(cms.InputTag(
"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)