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 ##########################################################################
9 # Large impact parameter tracking using TIB/TID/TEC stereo layer seeding #
10 ##########################################################################
11 
12 #HIClusterRemover
13 from RecoHI.HiTracking.hiMixedTripletStep_cff import hiMixedTripletStepClusters
14 hiPixelLessStepClusters = hiMixedTripletStepClusters.clone()
15 hiPixelLessStepClusters.trajectories = cms.InputTag("hiMixedTripletStepTracks")
16 hiPixelLessStepClusters.overrideTrkQuals = cms.InputTag('hiMixedTripletStepSelector','hiMixedTripletStep')
17 
18 # SEEDING LAYERS
19 pixelLessStepSeedLayers.TIB.skipClusters = cms.InputTag('hiPixelLessStepClusters')
20 pixelLessStepSeedLayers.MTIB.skipClusters = cms.InputTag('hiPixelLessStepClusters')
21 pixelLessStepSeedLayers.TID.skipClusters = cms.InputTag('hiPixelLessStepClusters')
22 pixelLessStepSeedLayers.MTID.skipClusters = cms.InputTag('hiPixelLessStepClusters')
23 pixelLessStepSeedLayers.TEC.skipClusters = cms.InputTag('hiPixelLessStepClusters')
24 pixelLessStepSeedLayers.MTEC.skipClusters = cms.InputTag('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 = cms.InputTag('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 = cms.bool(False),
55  GBRForestLabel = cms.string('HIMVASelectorIter12'),
56  GBRForestVars = cms.vstring(['chi2perdofperlayer', 'nhits', 'nlayers', 'eta']),
57  trackSelectors= cms.VPSet(
58  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
59  name = 'hiPixelLessStepLoose',
60  applyAdaptedPVCuts = cms.bool(False),
61  useMVA = cms.bool(False),
62  ), #end of pset
63  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
64  name = 'hiPixelLessStepTight',
65  preFilterName = 'hiPixelLessStepLoose',
66  applyAdaptedPVCuts = cms.bool(False),
67  useMVA = cms.bool(False),
68  minMVA = cms.double(-0.2)
69  ),
70  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
71  name = 'hiPixelLessStep',
72  preFilterName = 'hiPixelLessStepTight',
73  applyAdaptedPVCuts = cms.bool(False),
74  useMVA = cms.bool(False),
75  minMVA = cms.double(-0.09)
76  ),
77  ) #end of vpset
78  ) #end of clone
79 
81 hiPixelLessStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
82  TrackProducers=cms.VInputTag(cms.InputTag('hiPixelLessStepTracks')),
83  hasSelector=cms.vint32(1),
84  selectedTrackQuals = cms.VInputTag(cms.InputTag("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)