CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRegitMuonPixelLessStep_cff.py
Go to the documentation of this file.
2 
3 # pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI)
4 ################################### 5th step: large impact parameter tracking using TIB/TID/TEC stereo layer seeding
5 
7 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.vertexCollection = cms.InputTag("hiSelectedVertex")
8 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonSrc= cms.InputTag("standAloneMuons","UpdatedAtVtx")
9 
10 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.UseVertex = True
11 
12 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Phi_fixed = True
13 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Eta_fixed = True
14 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.DeltaPhi = 0.2
15 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.DeltaEta = 0.1
16 
17 ###################################
19 
20 # remove previously used clusters
21 hiRegitMuPixelLessStepClusters = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepClusters.clone(
22  oldClusterRemovalInfo = cms.InputTag("hiRegitMuMixedTripletStepClusters"),
23  trajectories = cms.InputTag("hiRegitMuMixedTripletStepTracks"),
24  overrideTrkQuals = cms.InputTag('hiRegitMuMixedTripletStepSelector','hiRegitMuMixedTripletStep'),
25  TrackQuality = cms.string('tight')
26 )
27 
28 # SEEDING LAYERS
29 hiRegitMuPixelLessStepSeedLayers = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSeedLayers.clone()
30 hiRegitMuPixelLessStepSeedLayers.TIB.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
31 hiRegitMuPixelLessStepSeedLayers.TID.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
32 hiRegitMuPixelLessStepSeedLayers.TEC.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
33 hiRegitMuPixelLessStepSeedLayers.MTIB.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
34 hiRegitMuPixelLessStepSeedLayers.MTID.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
35 hiRegitMuPixelLessStepSeedLayers.MTEC.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
36 
37 
38 # seeding
39 hiRegitMuPixelLessStepSeeds = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSeeds.clone()
40 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
41 hiRegitMuPixelLessStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
42 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Pt_min = 2.0
43 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 0.2 # default = 0.2
44 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ = 0.2 # this give you the length
45 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
46 hiRegitMuPixelLessStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuPixelLessStepSeedLayers'
47 
48 
49 # building: feed the new-named seeds
50 hiRegitMuPixelLessStepTrajectoryFilter = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrajectoryFilter.clone()
51 hiRegitMuPixelLessStepTrajectoryFilter.minPt = 1.7
52 hiRegitMuPixelLessStepTrajectoryFilter.minimumNumberOfHits = 6
53 hiRegitMuPixelLessStepTrajectoryFilter.minHitsMinPt = 4
54 
55 hiRegitMuPixelLessStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrajectoryBuilder.clone(
56  trajectoryFilter = cms.PSet(
57  refToPSet_ = cms.string('hiRegitMuPixelLessStepTrajectoryFilter')
58  ),
59  minNrOfHitsForRebuild = 6 #change from default 4
60 )
61 
62 hiRegitMuPixelLessStepTrackCandidates = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrackCandidates.clone(
63  src = cms.InputTag('hiRegitMuPixelLessStepSeeds'),
64  TrajectoryBuilderPSet = cms.PSet(
65  refToPSet_ = cms.string('hiRegitMuPixelLessStepTrajectoryBuilder')
66  ),
67  clustersToSkip = cms.InputTag('hiRegitMuPixelLessStepClusters'),
68  maxNSeeds = cms.uint32(1000000)
69  )
70 
71 # fitting: feed new-names
72 hiRegitMuPixelLessStepTracks = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTracks.clone(
73  AlgorithmName = cms.string('hiRegitMuPixelLessStep'),
74  src = 'hiRegitMuPixelLessStepTrackCandidates'
75 )
76 
77 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
79 hiRegitMuPixelLessStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
80  src ='hiRegitMuPixelLessStepTracks',
81  vertices = cms.InputTag("hiSelectedVertex"),
82  useAnyMVA = cms.bool(True),
83  GBRForestLabel = cms.string('HIMVASelectorIter7'),
84  GBRForestVars = cms.vstring(['chi2perdofperlayer', 'nhits', 'nlayers', 'eta']),
85  trackSelectors = cms.VPSet(
86  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
87  name = 'hiRegitMuPixelLessStepLoose',
88  min_nhits = cms.uint32(8)
89  ),
90  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
91  name = 'hiRegitMuPixelLessStepTight',
92  preFilterName = 'hiRegitMuPixelLessStepLoose',
93  min_nhits = cms.uint32(8),
94  useMVA = cms.bool(True),
95  minMVA = cms.double(-0.2)
96  ),
97  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
98  name = 'hiRegitMuPixelLessStep',
99  preFilterName = 'hiRegitMuPixelLessStepTight',
100  min_nhits = cms.uint32(8),
101  useMVA = cms.bool(True),
102  minMVA = cms.double(-0.09)
103  ),
104  ) #end of vpset
105 )
106 
107 hiRegitMuonPixelLessStep = cms.Sequence(hiRegitMuPixelLessStepClusters*
108  hiRegitMuPixelLessStepSeedLayers*
109  hiRegitMuPixelLessStepSeeds*
110  hiRegitMuPixelLessStepTrackCandidates*
111  hiRegitMuPixelLessStepTracks*
112  hiRegitMuPixelLessStepSelector)
113 
114 
115 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...