Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:28:09

0001 import FWCore.ParameterSet.Config as cms
0002 from RecoTracker.FinalTrackSelectors.TrackCollectionMerger_cfi import *
0003 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi import trackAlgoPriorityOrder
0004 
0005 preDuplicateMergingGeneralTracks = TrackCollectionMerger.clone(
0006     trackProducers   = ["earlyGeneralTracks", 
0007                         "muonSeededTracksInOut",
0008                         "muonSeededTracksOutIn"],
0009     inputClassifiers = ["earlyGeneralTracks", 
0010                        "muonSeededTracksInOutClassifier",
0011                        "muonSeededTracksOutInClassifier"],
0012     foundHitBonus    = 100.0,
0013     lostHitPenalty   = 1.0
0014 )
0015 
0016 from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1
0017 from Configuration.ProcessModifiers.displacedRegionalTracking_cff import displacedRegionalTracking
0018 def _extend_displacedRegional(x):
0019      x.trackProducers += ['displacedRegionalStepTracks']
0020      x.inputClassifiers += ['displacedRegionalStep']
0021 (trackingPhase1 & displacedRegionalTracking).toModify(preDuplicateMergingGeneralTracks, _extend_displacedRegional)
0022 
0023 # For Phase2PU140
0024 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
0025 from RecoTracker.FinalTrackSelectors.trackListMerger_cfi import trackListMerger as _trackListMerger
0026 trackingPhase2PU140.toReplaceWith(preDuplicateMergingGeneralTracks, _trackListMerger.clone(
0027     TrackProducers     = ["earlyGeneralTracks", 
0028                           "muonSeededTracksInOut", 
0029                           "muonSeededTracksOutIn"],
0030     hasSelector        = [0,1,1],
0031     selectedTrackQuals = ["muonSeededTracksInOutSelector:muonSeededTracksInOutHighPurity", # not used but needed
0032                           "muonSeededTracksInOutSelector:muonSeededTracksInOutHighPurity",
0033                           "muonSeededTracksOutInSelector:muonSeededTracksOutInHighPurity"],
0034     mvaValueTags = cms.VInputTag(
0035         cms.InputTag("earlyGeneralTracks","MVAVals"),
0036         cms.InputTag("muonSeededTracksInOutSelector","MVAVals"),
0037         cms.InputTag("muonSeededTracksOutInSelector","MVAVals"),
0038     ),
0039     setsToMerge = cms.VPSet(cms.PSet(pQual = cms.bool(False), tLists = cms.vint32(0, 1, 2))),
0040     FoundHitBonus    = 100.0,
0041     LostHitPenalty   = 1.0,
0042     indivShareFrac   = [1.0, 0.16, 0.095, 0.09, 0.095,0.095, 0.095, 0.08],
0043     copyExtras       = True,
0044     makeReKeyedSeeds = cms.untracked.bool(False)
0045     )
0046 )