1 import FWCore.ParameterSet.Config
as cms
10 duplicateDisplaceTrackCandidatesChi2Est = _Chi2MeasurementEstimator.clone(
11 ComponentName =
"duplicateDisplacedTrackCandidatesChi2Est",
16 duplicateDisplacedTrackCandidates = DuplicateTrackMerger.clone(
17 source=cms.InputTag(
"preDuplicateMergingDisplacedTracks"),
18 useInnermostState = cms.bool(
True),
19 ttrhBuilderName = cms.string(
"WithAngleAndTemplate"),
20 chi2EstimatorName =
"duplicateDisplacedTrackCandidatesChi2Est"
23 mergedDuplicateDisplacedTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
24 src = cms.InputTag(
"duplicateDisplacedTrackCandidates",
"candidates"),
30 duplicateDisplacedTrackClassifier = TrackCutClassifier.clone()
31 duplicateDisplacedTrackClassifier.src=
'mergedDuplicateDisplacedTracks'
32 duplicateDisplacedTrackClassifier.mva.minPixelHits = [0,0,0]
33 duplicateDisplacedTrackClassifier.mva.maxChi2 = [9999.,9999.,9999.]
34 duplicateDisplacedTrackClassifier.mva.maxChi2n = [9999.,9999.,9999.]
35 duplicateDisplacedTrackClassifier.mva.minLayers = [0,0,0]
36 duplicateDisplacedTrackClassifier.mva.min3DLayers = [0,0,0]
37 duplicateDisplacedTrackClassifier.mva.maxLostLayers = [99,99,99]
41 displacedTracks = DuplicateListMerger.clone(
42 originalSource = cms.InputTag(
"preDuplicateMergingDisplacedTracks"),
43 originalMVAVals = cms.InputTag(
"preDuplicateMergingDisplacedTracks",
"MVAValues"),
44 mergedSource = cms.InputTag(
"mergedDuplicateDisplacedTracks"),
45 mergedMVAVals = cms.InputTag(
"duplicateDisplacedTrackClassifier",
"MVAValues"),
46 candidateSource = cms.InputTag(
"duplicateDisplacedTrackCandidates",
"candidates"),
47 candidateComponents = cms.InputTag(
"duplicateDisplacedTrackCandidates",
"candidateMap")
50 displacedTracksTask = cms.Task(
51 duplicateDisplacedTrackCandidates,
52 mergedDuplicateDisplacedTracks,
53 duplicateDisplacedTrackClassifier,
56 displacedTracksSequence = cms.Sequence(displacedTracksTask)