Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-06 02:54:19

0001 from __future__ import absolute_import
0002 import FWCore.ParameterSet.Config as cms
0003 import RecoTracker.IterativeTracking.iterativeTkConfig as _cfg
0004 from RecoTracker.IterativeTracking.PixelLessStep_cff import pixelLessStepSeedLayers,pixelLessStepHitDoublets,pixelLessStepTracks,pixelLessStepHitTriplets,pixelLessStepSeeds
0005 from .HIPixelTripletSeeds_cff import *
0006 from .HIPixel3PrimTracks_cfi import *
0007 
0008 ##########################################################################
0009 # Large impact parameter tracking using TIB/TID/TEC stereo layer seeding #
0010 ##########################################################################
0011 
0012 #HIClusterRemover
0013 from RecoHI.HiTracking.hiMixedTripletStep_cff import hiMixedTripletStepClusters
0014 hiPixelLessStepClusters = hiMixedTripletStepClusters.clone(
0015     trajectories     = "hiMixedTripletStepTracks",
0016     overrideTrkQuals = 'hiMixedTripletStepSelector:hiMixedTripletStep'
0017 )
0018 # SEEDING LAYERS
0019 pixelLessStepSeedLayers.TIB.skipClusters   = 'hiPixelLessStepClusters'
0020 pixelLessStepSeedLayers.MTIB.skipClusters   = 'hiPixelLessStepClusters'
0021 pixelLessStepSeedLayers.TID.skipClusters   = 'hiPixelLessStepClusters'
0022 pixelLessStepSeedLayers.MTID.skipClusters   = 'hiPixelLessStepClusters'
0023 pixelLessStepSeedLayers.TEC.skipClusters   = 'hiPixelLessStepClusters'
0024 pixelLessStepSeedLayers.MTEC.skipClusters   = 'hiPixelLessStepClusters'
0025 
0026 # TrackingRegion
0027 from RecoHI.HiTracking.hiMixedTripletStep_cff import hiMixedTripletStepTrackingRegionsA as _hiMixedTripletStepTrackingRegionsA
0028 hiPixelLessStepTrackingRegions = _hiMixedTripletStepTrackingRegionsA.clone(RegionPSet=dict(
0029      fixedError = 3.0,#12.0
0030      ptMin = 0.7, #0.4
0031      originRadius = 1.0,
0032      maxPtMin = 1.0,#0.7
0033 ))
0034 
0035 # seeding
0036 pixelLessStepHitDoublets.clusterCheck = ""
0037 pixelLessStepHitDoublets.trackingRegions = "hiPixelLessStepTrackingRegions"
0038 
0039 # QUALITY CUTS DURING TRACK BUILDING
0040 from RecoTracker.IterativeTracking.PixelLessStep_cff import pixelLessStepTrajectoryFilter
0041 pixelLessStepTrajectoryFilter.minimumNumberOfHits = 5
0042 pixelLessStepTrajectoryFilter.minPt = 0.7
0043 
0044 # MAKING OF TRACK CANDIDATES
0045 from RecoTracker.IterativeTracking.PixelLessStep_cff import _pixelLessStepTrackCandidatesCkf
0046 pixelLessStepTrackCandidates = _pixelLessStepTrackCandidatesCkf.clone(clustersToSkip = 'hiPixelLessStepClusters')
0047 
0048 # TRACK FITTING
0049 hiPixelLessStepTracks = pixelLessStepTracks.clone()
0050 
0051 # Final selection
0052 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
0053 hiPixelLessStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
0054     src = 'hiPixelLessStepTracks',
0055     useAnyMVA = False,
0056     GBRForestLabel = 'HIMVASelectorIter12',
0057     GBRForestVars = ['chi2perdofperlayer', 'nhits', 'nlayers', 'eta'],
0058     trackSelectors= cms.VPSet(
0059        RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
0060            name = 'hiPixelLessStepLoose',
0061            applyAdaptedPVCuts = False,
0062            useMVA = False,
0063        ), #end of pset
0064        RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
0065            name = 'hiPixelLessStepTight',
0066            preFilterName = 'hiPixelLessStepLoose',
0067            applyAdaptedPVCuts = False,
0068            useMVA = False,
0069            minMVA = -0.2
0070        ),
0071        RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
0072            name = 'hiPixelLessStep',
0073            preFilterName = 'hiPixelLessStepTight',
0074            applyAdaptedPVCuts = False,
0075            useMVA = False,
0076            minMVA = -0.09
0077        ),
0078     ) #end of vpset
0079 ) #end of clone
0080 
0081 import RecoTracker.FinalTrackSelectors.trackListMerger_cfi
0082 hiPixelLessStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
0083     TrackProducers = ['hiPixelLessStepTracks'],
0084     hasSelector = [1],
0085     selectedTrackQuals = ["hiPixelLessStepSelector:hiPixelLessStep"],
0086     copyExtras = True,
0087     makeReKeyedSeeds = cms.untracked.bool(False),
0088 )
0089 
0090 hiPixelLessStepTask = cms.Task(hiPixelLessStepClusters,
0091                              pixelLessStepSeedLayers,
0092                              hiPixelLessStepTrackingRegions,
0093                              pixelLessStepHitDoublets,
0094                              pixelLessStepHitTriplets,
0095                              pixelLessStepSeeds,
0096                              pixelLessStepTrackCandidates,
0097                              hiPixelLessStepTracks,
0098                              hiPixelLessStepSelector,
0099                              hiPixelLessStepQual
0100                              )
0101 hiPixelLessStep = cms.Sequence(hiPixelLessStepTask)