CMS 3D CMS Logo

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