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
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 pixelLessStepTrackCandidates.clustersToSkip = 'hiPixelLessStepClusters'
46 
47 # TRACK FITTING
48 hiPixelLessStepTracks = pixelLessStepTracks.clone()
49 
50 # Final selection
52 hiPixelLessStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
53  src = 'hiPixelLessStepTracks',
54  useAnyMVA = False,
55  GBRForestLabel = 'HIMVASelectorIter12',
56  GBRForestVars = ['chi2perdofperlayer', 'nhits', 'nlayers', 'eta'],
57  trackSelectors= cms.VPSet(
58  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
59  name = 'hiPixelLessStepLoose',
60  applyAdaptedPVCuts = False,
61  useMVA = False,
62  ), #end of pset
63  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
64  name = 'hiPixelLessStepTight',
65  preFilterName = 'hiPixelLessStepLoose',
66  applyAdaptedPVCuts = False,
67  useMVA = False,
68  minMVA = -0.2
69  ),
70  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
71  name = 'hiPixelLessStep',
72  preFilterName = 'hiPixelLessStepTight',
73  applyAdaptedPVCuts = False,
74  useMVA = False,
75  minMVA = -0.09
76  ),
77  ) #end of vpset
78 ) #end of clone
79 
81 hiPixelLessStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
82  TrackProducers = ['hiPixelLessStepTracks'],
83  hasSelector = [1],
84  selectedTrackQuals = ["hiPixelLessStepSelector:hiPixelLessStep"],
85  copyExtras = True,
86  makeReKeyedSeeds = cms.untracked.bool(False),
87 )
88 
89 hiPixelLessStepTask = cms.Task(hiPixelLessStepClusters,
90  pixelLessStepSeedLayers,
91  hiPixelLessStepTrackingRegions,
92  pixelLessStepHitDoublets,
93  pixelLessStepHitTriplets,
94  pixelLessStepSeeds,
95  pixelLessStepTrackCandidates,
96  hiPixelLessStepTracks,
97  hiPixelLessStepSelector,
98  hiPixelLessStepQual
99  )
100 hiPixelLessStep = cms.Sequence(hiPixelLessStepTask)
hiMultiTrackSelector_cfi
PixelLessStep_cff
trackListMerger_cfi
hiMixedTripletStep_cff