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 = ["earlyGeneralTracks:MVAVals",
28 # "muonSeededTracksInOutSelector:MVAVals",
29 # "muonSeededTracksOutInSelector:MVAVals"],
30  mvaValueTags = cms.VInputTag(
31  cms.InputTag("earlyGeneralTracks","MVAVals"),
32  cms.InputTag("muonSeededTracksInOutSelector","MVAVals"),
33  cms.InputTag("muonSeededTracksOutInSelector","MVAVals"),
34  ),
35  #setsToMerge = dict(pQual = False, tLists = [0, 1, 2]),
36  setsToMerge = cms.VPSet(cms.PSet(pQual = cms.bool(False), tLists = cms.vint32(0, 1, 2))),
37  FoundHitBonus = 100.0,
38  LostHitPenalty = 1.0,
39  indivShareFrac = [1.0, 0.16, 0.095, 0.09, 0.095,0.095, 0.095, 0.08],
40  copyExtras = True,
41  makeReKeyedSeeds = cms.untracked.bool(False)
42  )
43 )
TrackCollectionMerger_cfi
trackListMerger_cfi