CMS 3D CMS Logo

preDuplicateMergingGeneralTracks_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 preDuplicateMergingGeneralTracks = TrackCollectionMerger.clone(
6  trackProducers = ["earlyGeneralTracks",
7  "muonSeededTracksInOut",
8  "muonSeededTracksOutIn"],
9  inputClassifiers = ["earlyGeneralTracks",
10  "muonSeededTracksInOutClassifier",
11  "muonSeededTracksOutInClassifier"],
12  foundHitBonus = 100.0,
13  lostHitPenalty = 1.0
14 )
15 
16 # For Phase2PU140
17 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
18 from RecoTracker.FinalTrackSelectors.trackListMerger_cfi import trackListMerger as _trackListMerger
19 trackingPhase2PU140.toReplaceWith(preDuplicateMergingGeneralTracks, _trackListMerger.clone(
20  TrackProducers = ["earlyGeneralTracks",
21  "muonSeededTracksInOut",
22  "muonSeededTracksOutIn"],
23  hasSelector = [0,1,1],
24  selectedTrackQuals = ["muonSeededTracksInOutSelector:muonSeededTracksInOutHighPurity", # not used but needed
25  "muonSeededTracksInOutSelector:muonSeededTracksInOutHighPurity",
26  "muonSeededTracksOutInSelector:muonSeededTracksOutInHighPurity"],
27  mvaValueTags = cms.VInputTag(
28  cms.InputTag("earlyGeneralTracks","MVAVals"),
29  cms.InputTag("muonSeededTracksInOutSelector","MVAVals"),
30  cms.InputTag("muonSeededTracksOutInSelector","MVAVals"),
31  ),
32  setsToMerge = cms.VPSet(cms.PSet(pQual = cms.bool(False), tLists = cms.vint32(0, 1, 2))),
33  FoundHitBonus = 100.0,
34  LostHitPenalty = 1.0,
35  indivShareFrac = [1.0, 0.16, 0.095, 0.09, 0.095,0.095, 0.095, 0.08],
36  copyExtras = True,
37  makeReKeyedSeeds = cms.untracked.bool(False)
38  )
39 )