CMS 3D CMS Logo

hiPixelLessStep_cff.py
Go to the documentation of this file.
1 from __future__ import absolute_import
2 import FWCore.ParameterSet.Config as cms
3 import RecoTracker.IterativeTracking.iterativeTkConfig as _cfg
4 from RecoTracker.IterativeTracking.PixelLessStep_cff import pixelLessStepSeedLayers,pixelLessStepHitDoublets,pixelLessStepTracks,pixelLessStepHitTriplets,pixelLessStepSeeds
5 from .HIPixelTripletSeeds_cff import *
6 from .HIPixel3PrimTracks_cfi import *
7 
8 
11 
12 #HIClusterRemover
13 from RecoHI.HiTracking.hiMixedTripletStep_cff import hiMixedTripletStepClusters
14 hiPixelLessStepClusters = hiMixedTripletStepClusters.clone(
15  trajectories = "hiMixedTripletStepTracks",
16  overrideTrkQuals = 'hiMixedTripletStepSelector:hiMixedTripletStep'
17 )
18 # SEEDING LAYERS
19 pixelLessStepSeedLayers.TIB.skipClusters = 'hiPixelLessStepClusters'
20 pixelLessStepSeedLayers.MTIB.skipClusters = 'hiPixelLessStepClusters'
21 pixelLessStepSeedLayers.TID.skipClusters = 'hiPixelLessStepClusters'
22 pixelLessStepSeedLayers.MTID.skipClusters = 'hiPixelLessStepClusters'
23 pixelLessStepSeedLayers.TEC.skipClusters = 'hiPixelLessStepClusters'
24 pixelLessStepSeedLayers.MTEC.skipClusters = 'hiPixelLessStepClusters'
25 
26 # TrackingRegion
27 from RecoHI.HiTracking.hiMixedTripletStep_cff import hiMixedTripletStepTrackingRegionsA as _hiMixedTripletStepTrackingRegionsA
28 hiPixelLessStepTrackingRegions = _hiMixedTripletStepTrackingRegionsA.clone(RegionPSet=dict(
29  fixedError = 3.0,#12.0
30  ptMin = 0.7, #0.4
31  originRadius = 1.0,
32  maxPtMin = 1.0,#0.7
33 ))
34 
35 # seeding
36 pixelLessStepHitDoublets.clusterCheck = ""
37 pixelLessStepHitDoublets.trackingRegions = "hiPixelLessStepTrackingRegions"
38 
39 # QUALITY CUTS DURING TRACK BUILDING
40 from RecoTracker.IterativeTracking.PixelLessStep_cff import pixelLessStepTrajectoryFilter
41 pixelLessStepTrajectoryFilter.minimumNumberOfHits = 5
42 pixelLessStepTrajectoryFilter.minPt = 0.7
43 
44 # MAKING OF TRACK CANDIDATES
45 from RecoTracker.IterativeTracking.PixelLessStep_cff import _pixelLessStepTrackCandidatesCkf
46 pixelLessStepTrackCandidates = _pixelLessStepTrackCandidatesCkf.clone(clustersToSkip = 'hiPixelLessStepClusters')
47 
48 # TRACK FITTING
49 hiPixelLessStepTracks = pixelLessStepTracks.clone()
50 
51 # Final selection
53 hiPixelLessStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
54  src = 'hiPixelLessStepTracks',
55  useAnyMVA = False,
56  GBRForestLabel = 'HIMVASelectorIter12',
57  GBRForestVars = ['chi2perdofperlayer', 'nhits', 'nlayers', 'eta'],
58  trackSelectors= cms.VPSet(
59  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
60  name = 'hiPixelLessStepLoose',
61  applyAdaptedPVCuts = False,
62  useMVA = False,
63  ), #end of pset
64  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
65  name = 'hiPixelLessStepTight',
66  preFilterName = 'hiPixelLessStepLoose',
67  applyAdaptedPVCuts = False,
68  useMVA = False,
69  minMVA = -0.2
70  ),
71  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
72  name = 'hiPixelLessStep',
73  preFilterName = 'hiPixelLessStepTight',
74  applyAdaptedPVCuts = False,
75  useMVA = False,
76  minMVA = -0.09
77  ),
78  ) #end of vpset
79 ) #end of clone
80 
82 hiPixelLessStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
83  TrackProducers = ['hiPixelLessStepTracks'],
84  hasSelector = [1],
85  selectedTrackQuals = ["hiPixelLessStepSelector:hiPixelLessStep"],
86  copyExtras = True,
87  makeReKeyedSeeds = cms.untracked.bool(False),
88 )
89 
90 hiPixelLessStepTask = cms.Task(hiPixelLessStepClusters,
91  pixelLessStepSeedLayers,
92  hiPixelLessStepTrackingRegions,
93  pixelLessStepHitDoublets,
94  pixelLessStepHitTriplets,
95  pixelLessStepSeeds,
96  pixelLessStepTrackCandidates,
97  hiPixelLessStepTracks,
98  hiPixelLessStepSelector,
99  hiPixelLessStepQual
100  )
101 hiPixelLessStep = cms.Sequence(hiPixelLessStepTask)