1 import FWCore.ParameterSet.Config
as cms
6 duplicateTrackCandidates = DuplicateTrackMerger.clone()
7 duplicateTrackCandidates.source = cms.InputTag(
"preDuplicateMergingGeneralTracks")
8 duplicateTrackCandidates.useInnermostState =
True
9 duplicateTrackCandidates.ttrhBuilderName =
"WithAngleAndTemplate"
12 mergedDuplicateTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone()
13 mergedDuplicateTracks.src = cms.InputTag(
"duplicateTrackCandidates",
"candidates")
14 mergedDuplicateTracks.Fitter=
'RKFittingSmoother'
17 duplicateTrackClassifier = TrackCutClassifier.clone()
18 duplicateTrackClassifier.src=
'mergedDuplicateTracks'
19 duplicateTrackClassifier.mva.minPixelHits = [0,0,0]
20 duplicateTrackClassifier.mva.maxChi2 = [9999.,9999.,9999.]
21 duplicateTrackClassifier.mva.maxChi2n = [10.,1.0,0.4]
22 duplicateTrackClassifier.mva.minLayers = [0,0,0]
23 duplicateTrackClassifier.mva.min3DLayers = [0,0,0]
24 duplicateTrackClassifier.mva.maxLostLayers = [99,99,99]
27 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
28 phase1Pixel.toModify(duplicateTrackCandidates, ttrhBuilderName =
"WithTrackAngle")
32 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
33 phase2_tracker.toModify(duplicateTrackCandidates, ttrhBuilderName =
"WithTrackAngle")
35 generalTracks = DuplicateListMerger.clone()
36 generalTracks.originalSource = cms.InputTag(
"preDuplicateMergingGeneralTracks")
37 generalTracks.originalMVAVals = cms.InputTag(
"preDuplicateMergingGeneralTracks",
"MVAValues")
38 generalTracks.mergedSource = cms.InputTag(
"mergedDuplicateTracks")
39 generalTracks.mergedMVAVals = cms.InputTag(
"duplicateTrackClassifier",
"MVAValues")
40 generalTracks.candidateSource = cms.InputTag(
"duplicateTrackCandidates",
"candidates")
41 generalTracks.candidateComponents = cms.InputTag(
"duplicateTrackCandidates",
"candidateMap")
44 generalTracksSequence = cms.Sequence(
45 duplicateTrackCandidates*
46 mergedDuplicateTracks*
47 duplicateTrackClassifier*
52 conversionStepTracks = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
53 TrackProducers = cms.VInputTag(cms.InputTag(
'convStepTracks')),
54 hasSelector=cms.vint32(1),
55 selectedTrackQuals = cms.VInputTag(cms.InputTag(
"convStepSelector",
"convStep")
57 setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(1), pQual=cms.bool(
True) )
60 makeReKeyedSeeds = cms.untracked.bool(
False)