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 preDuplicateMergingDisplacedTracks.trackProducers = [
7  "muonSeededTracksInOut",
8  "muonSeededTracksOutInDisplaced",
9  ]
10 preDuplicateMergingDisplacedTracks.inputClassifiers =[
11  "muonSeededTracksInOutClassifier",
12  "muonSeededTracksOutInDisplacedClassifier"
13  ]
14 
15 preDuplicateMergingDisplacedTracks.foundHitBonus = 100.0
16 preDuplicateMergingDisplacedTracks.lostHitPenalty = 1.0
17 
18 # For Phase2PU140 tracking, take out muonSeededTracksInOut because the
19 # cut-selector module is technically incompatible with this one. Since
20 # that configuration is indended only for tracking comparisons (not
21 # for production), it is not worth of the effort to try to fix the
22 # situation.
23 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
24 trackingPhase2PU140.toModify(preDuplicateMergingDisplacedTracks,
25  trackProducers = [x for x in preDuplicateMergingDisplacedTracks.trackProducers if x != "muonSeededTracksInOut"],
26  inputClassifiers = [x for x in preDuplicateMergingDisplacedTracks.inputClassifiers if x != "muonSeededTracksInOutClassifier"],
27 )
28