CMS 3D CMS Logo

hiTobTecStep_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 # Very large impact parameter tracking using TOB + TEC ring 5 seeding #
9 #######################################################################
10 from RecoHI.HiTracking.hiPixelLessStep_cff import hiPixelLessStepClusters
11 hiTobTecStepClusters = hiPixelLessStepClusters.clone()
12 hiTobTecStepClusters.trajectories = cms.InputTag("hiPixelLessStepTracks")
13 hiTobTecStepClusters.overrideTrkQuals = cms.InputTag('hiPixelLessStepSelector','hiPixelLessStep')
14 
15 # TRIPLET SEEDING LAYERS
16 tobTecStepSeedLayersTripl.TOB.skipClusters = cms.InputTag('hiTobTecStepClusters')
17 tobTecStepSeedLayersTripl.MTOB.skipClusters = cms.InputTag('hiTobTecStepClusters')
18 tobTecStepSeedLayersTripl.MTEC.skipClusters = cms.InputTag('hiTobTecStepClusters')
19 
20 # Triplet TrackingRegion
21 from RecoHI.HiTracking.hiMixedTripletStep_cff import hiMixedTripletStepTrackingRegionsA as _hiMixedTripletStepTrackingRegionsA
22 hiTobTecStepTrackingRegionsTripl = _hiMixedTripletStepTrackingRegionsA.clone(RegionPSet=dict(
23  fixedError = 5.0,#20.0
24  ptMin = 0.9,#0.55
25  originRadius = 3.5,
26  maxPtMin = 1.2,#0.85
27 ))
28 
29 # Triplet seeding
30 tobTecStepHitDoubletsTripl.clusterCheck = ""
31 tobTecStepHitDoubletsTripl.trackingRegions = "hiTobTecStepTrackingRegionsTripl"
32 
33 tobTecStepSeedLayersPair.TOB.skipClusters = cms.InputTag('hiTobTecStepClusters')
34 tobTecStepSeedLayersPair.TEC.skipClusters = cms.InputTag('hiTobTecStepClusters')
35 
36 # Pair TrackingRegion
37 hiTobTecStepTrackingRegionsPair = hiTobTecStepTrackingRegionsTripl.clone(RegionPSet=dict(
38  fixedError = 7.5,#30.0
39  originRadius = 6.0,
40  maxPtMin = 1.5,#0.9
41 ))
42 
43 # Pair seeds
44 tobTecStepHitDoubletsPair.clusterCheck = ""
45 tobTecStepHitDoubletsPair.trackingRegions = "hiTobTecStepTrackingRegionsPair"
46 
47 
48 # QUALITY CUTS DURING TRACK BUILDING (for inwardss and outwards track building steps)
49 from RecoTracker.IterativeTracking.TobTecStep_cff import tobTecStepTrajectoryFilter
50 tobTecStepTrajectoryFilter.minimumNumberOfHits = 5
51 tobTecStepTrajectoryFilter.minPt = 0.85
52 
53 # MAKING OF TRACK CANDIDATES
54 tobTecStepTrackCandidates.clustersToSkip = cms.InputTag('hiTobTecStepClusters')
55 
56 # TRACK FITTING
57 hiTobTecStepTracks = tobTecStepTracks.clone()
58 
59 # Final selection
61 hiTobTecStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
62  src='hiTobTecStepTracks',
63  useAnyMVA = cms.bool(False),
64  GBRForestLabel = cms.string('HIMVASelectorIter13'),
65  GBRForestVars = cms.vstring(['chi2perdofperlayer', 'nhits', 'nlayers', 'eta']),
66  trackSelectors= cms.VPSet(
67  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
68  name = 'hiTobTecStepLoose',
69  applyAdaptedPVCuts = cms.bool(False),
70  useMVA = cms.bool(False),
71  ), #end of pset
72  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
73  name = 'hiTobTecStepTight',
74  preFilterName = 'hiTobTecStepLoose',
75  applyAdaptedPVCuts = cms.bool(False),
76  useMVA = cms.bool(False),
77  minMVA = cms.double(-0.2)
78  ),
79  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
80  name = 'hiTobTecStep',
81  preFilterName = 'hiTobTecStepTight',
82  applyAdaptedPVCuts = cms.bool(False),
83  useMVA = cms.bool(False),
84  minMVA = cms.double(-0.09)
85  ),
86  ) #end of vpset
87  ) #end of clone
88 
90 hiTobTecStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
91  TrackProducers=cms.VInputTag(cms.InputTag('hiTobTecStepTracks')),
92  hasSelector=cms.vint32(1),
93  selectedTrackQuals = cms.VInputTag(cms.InputTag("hiTobTecStepSelector","hiTobTecStep")),
94  copyExtras = True,
95  makeReKeyedSeeds = cms.untracked.bool(False),
96  )
97 
98 
99 hiTobTecStep = cms.Sequence(hiTobTecStepClusters*
100  tobTecStepSeedLayersTripl*
101  hiTobTecStepTrackingRegionsTripl*
102  tobTecStepHitDoubletsTripl*
103  tobTecStepHitTripletsTripl*
104  tobTecStepSeedsTripl*
105  tobTecStepSeedLayersPair*
106  hiTobTecStepTrackingRegionsPair*
107  tobTecStepHitDoubletsPair*
108  tobTecStepSeedsPair*
109  tobTecStepSeeds*
110  tobTecStepTrackCandidates*
111  hiTobTecStepTracks*
112  hiTobTecStepSelector*
113  hiTobTecStepQual
114  )
115