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