1 from __future__
import absolute_import
2 import FWCore.ParameterSet.Config
as cms
3 from RecoTracker.IterativeTracking.MixedTripletStep_cff import mixedTripletStepSeedLayersA,mixedTripletStepSeedLayersB,mixedTripletStepHitDoubletsA,mixedTripletStepHitDoubletsB,mixedTripletStepPropagator,mixedTripletStepPropagatorOpposite,mixedTripletStepTracks,mixedTripletStepHitTripletsA,mixedTripletStepSeedsA,mixedTripletStepHitTripletsB,mixedTripletStepSeedsB,mixedTripletStepSeeds
4 from .HIPixelTripletSeeds_cff
import *
5 from .HIPixel3PrimTracks_cfi
import *
8 hiMixedTripletStepClusters = cms.EDProducer(
"HITrackClusterRemover",
9 clusterLessSolution = cms.bool(
True),
10 trajectories = cms.InputTag(
"hiPixelPairGlobalPrimTracks"),
11 overrideTrkQuals = cms.InputTag(
'hiPixelPairStepSelector',
'hiPixelPairStep'),
12 TrackQuality = cms.string(
'highPurity'),
13 minNumberOfLayersWithMeasBeforeFiltering = cms.int32(0),
14 pixelClusters = cms.InputTag(
"siPixelClusters"),
15 stripClusters = cms.InputTag(
"siStripClusters"),
17 maxChi2 = cms.double(9.0),
21 maxSize = cms.uint32(2),
22 maxChi2 = cms.double(9.0)
27 mixedTripletStepSeedLayersA.layerList = [
'BPix1+BPix2+BPix3',
'BPix1+BPix2+FPix1_pos',
'BPix1+BPix2+FPix1_neg',
28 'BPix1+FPix1_pos+FPix2_pos',
'BPix1+FPix1_neg+FPix2_neg',
29 'BPix2+FPix1_pos+FPix2_pos',
'BPix2+FPix1_neg+FPix2_neg']
30 mixedTripletStepSeedLayersA.BPix.skipClusters =
'hiMixedTripletStepClusters'
31 mixedTripletStepSeedLayersA.FPix.skipClusters =
'hiMixedTripletStepClusters'
32 mixedTripletStepSeedLayersA.TEC.skipClusters =
'hiMixedTripletStepClusters'
36 hiMixedTripletStepTrackingRegionsA = _globalTrackingRegionWithVertices.clone(RegionPSet=dict(
37 VertexCollection =
"hiSelectedPixelVertex",
41 originRScaling4BigEvts = cms.bool(
True),
42 halfLengthScaling4BigEvts = cms.bool(
False),
43 ptMinScaling4BigEvts = cms.bool(
True),
47 scalingStartNPix = 20000,
48 scalingEndNPix = 35000
52 mixedTripletStepHitDoubletsA.clusterCheck =
""
53 mixedTripletStepHitDoubletsA.trackingRegions =
"hiMixedTripletStepTrackingRegionsA"
56 mixedTripletStepSeedLayersB.BPix.skipClusters =
'hiMixedTripletStepClusters'
57 mixedTripletStepSeedLayersB.TIB.skipClusters =
'hiMixedTripletStepClusters'
59 hiMixedTripletStepTrackingRegionsB = hiMixedTripletStepTrackingRegionsA.clone(RegionPSet=dict(
65 mixedTripletStepHitDoubletsB.clusterCheck =
""
66 mixedTripletStepHitDoubletsB.trackingRegions =
"hiMixedTripletStepTrackingRegionsB"
70 mixedTripletStepTrajectoryFilter.minimumNumberOfHits = 5
71 mixedTripletStepTrajectoryFilter.minPt = 0.4
72 mixedTripletStepPropagator.ptMin = 0.4
73 mixedTripletStepPropagatorOpposite.ptMin = 0.4
77 mixedTripletStepTrackCandidates = _mixedTripletStepTrackCandidatesCkf.clone(clustersToSkip =
'hiMixedTripletStepClusters')
80 hiMixedTripletStepTracks = mixedTripletStepTracks.clone()
84 hiMixedTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
85 src =
'hiMixedTripletStepTracks',
87 GBRForestLabel =
'HIMVASelectorIter11',
88 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
89 trackSelectors = cms.VPSet(
90 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
91 name =
'hiMixedTripletStepLoose',
92 applyAdaptedPVCuts =
False,
95 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
96 name =
'hiMixedTripletStepTight',
97 preFilterName =
'hiMixedTripletStepLoose',
98 applyAdaptedPVCuts =
False,
102 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
103 name =
'hiMixedTripletStep',
104 preFilterName =
'hiMixedTripletStepTight',
105 applyAdaptedPVCuts =
False,
113 hiMixedTripletStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
114 TrackProducers = [
'hiMixedTripletStepTracks'],
116 selectedTrackQuals = [
"hiMixedTripletStepSelector:hiMixedTripletStep"],
118 makeReKeyedSeeds = cms.untracked.bool(
False),
121 hiMixedTripletStepTask = cms.Task(
122 hiMixedTripletStepClusters,
123 mixedTripletStepSeedLayersA,
124 hiMixedTripletStepTrackingRegionsA,
125 mixedTripletStepHitDoubletsA,
126 mixedTripletStepHitTripletsA,
127 mixedTripletStepSeedsA,
128 mixedTripletStepSeedLayersB,
129 hiMixedTripletStepTrackingRegionsB,
130 mixedTripletStepHitDoubletsB,
131 mixedTripletStepHitTripletsB,
132 mixedTripletStepSeedsB,
133 mixedTripletStepSeeds,
134 mixedTripletStepTrackCandidates,
135 hiMixedTripletStepTracks,
136 hiMixedTripletStepSelector,
137 hiMixedTripletStepQual)
138 hiMixedTripletStep = cms.Sequence(hiMixedTripletStepTask)