1 import FWCore.ParameterSet.Config
as cms
7 hiInitialStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
8 src=
'hiGlobalPrimTracks',
9 useAnyMVA = cms.bool(
True),
10 GBRForestLabel = cms.string(
'HIMVASelectorIter4'),
11 GBRForestVars = cms.vstring([
'chi2perdofperlayer',
'dxyperdxyerror',
'dzperdzerror',
'nhits',
'nlayers',
'eta']),
12 trackSelectors= cms.VPSet(
13 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
14 name =
'hiInitialStepLoose',
15 useMVA = cms.bool(
False)
17 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
18 name =
'hiInitialStepTight',
19 preFilterName =
'hiInitialStepLoose',
20 useMVA = cms.bool(
True),
21 minMVA = cms.double(-0.77)
23 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
24 name =
'hiInitialStep',
25 preFilterName =
'hiInitialStepTight',
26 useMVA = cms.bool(
True),
27 minMVA = cms.double(-0.77)
31 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
32 trackingPhase1.toModify(hiInitialStepSelector, useAnyMVA = cms.bool(
False))
33 trackingPhase1.toModify(hiInitialStepSelector, trackSelectors= cms.VPSet(
34 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
35 name =
'hiInitialStepLoose',
36 useMVA = cms.bool(
False)
38 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
39 name =
'hiInitialStepTight',
40 preFilterName =
'hiInitialStepLoose',
41 useMVA = cms.bool(
False),
42 minMVA = cms.double(-0.77)
44 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
45 name =
'hiInitialStep',
46 preFilterName =
'hiInitialStepTight',
47 useMVA = cms.bool(
False),
48 minMVA = cms.double(-0.77)
56 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi
import trackAlgoPriorityOrder
58 hiSelectedTracks = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
59 TrackProducers = cms.VInputTag(cms.InputTag(
'hiGlobalPrimTracks')),
60 hasSelector=cms.vint32(1),
61 selectedTrackQuals = cms.VInputTag(cms.InputTag(
"hiInitialStepSelector",
"hiInitialStep")),
63 copyMVA = cms.bool(
True),
64 makeReKeyedSeeds = cms.untracked.bool(
False)
68 hiTracksWithQualityTask = cms.Task(hiInitialStepSelector