CMS 3D CMS Logo

preDuplicateMergingDisplacedTracks_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi import trackAlgoPriorityOrder
4 
5 preDuplicateMergingDisplacedTracks = TrackCollectionMerger.clone(
6  trackProducers = ['muonSeededTracksInOut',
7  'muonSeededTracksOutInDisplaced'],
8  inputClassifiers = ['muonSeededTracksInOutClassifier',
9  'muonSeededTracksOutInDisplacedClassifier'],
10  foundHitBonus = 100.0,
11  lostHitPenalty = 1.0
12 )
13 
14 # For Phase2PU140 tracking, take out muonSeededTracksInOut because the
15 # cut-selector module is technically incompatible with this one. Since
16 # that configuration is indended only for tracking comparisons (not
17 # for production), it is not worth of the effort to try to fix the
18 # situation.
19 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
20 trackingPhase2PU140.toModify(preDuplicateMergingDisplacedTracks,
21  trackProducers = [x for x in preDuplicateMergingDisplacedTracks.trackProducers if x != 'muonSeededTracksInOut'],
22  inputClassifiers = [x for x in preDuplicateMergingDisplacedTracks.inputClassifiers if x != 'muonSeededTracksInOutClassifier'],
23 )
TrackCollectionMerger_cfi