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.UseFixedRegion = True
13 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Phi_fixed = 0.2
14 HiTrackingRegionFactoryFromSTAMuonsBlock.MuonTrackingRegionBuilder.Eta_fixed = 0.1
15 
16 ###################################
18 
19 # remove previously used clusters
20 hiRegitMuPixelLessStepClusters = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepClusters.clone(
21  oldClusterRemovalInfo = cms.InputTag("hiRegitMuMixedTripletStepClusters"),
22  trajectories = cms.InputTag("hiRegitMuMixedTripletStepTracks"),
23  overrideTrkQuals = cms.InputTag('hiRegitMuMixedTripletStepSelector','hiRegitMuMixedTripletStep'),
24 )
25 
26 # SEEDING LAYERS
27 hiRegitMuPixelLessStepSeedLayers = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSeedLayers.clone(
28  ComponentName = 'hiRegitMuPixelLessStepSeedLayers',
29  )
30 hiRegitMuPixelLessStepSeedLayers.TIB.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
31 hiRegitMuPixelLessStepSeedLayers.TID.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
32 hiRegitMuPixelLessStepSeedLayers.TEC.skipClusters = cms.InputTag('hiRegitMuPixelLessStepClusters')
33 
34 
35 # seeding
36 hiRegitMuPixelLessStepSeeds = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSeeds.clone()
37 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
38 hiRegitMuPixelLessStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
39 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 2.0
40 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 0.2 # default = 0.2
41 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 0.2 # this give you the length
42 hiRegitMuPixelLessStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
43 hiRegitMuPixelLessStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuPixelLessStepSeedLayers'
44 
45 
46 # building: feed the new-named seeds
47 hiRegitMuPixelLessStepTrajectoryFilter = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrajectoryFilter.clone(
48  ComponentName = 'hiRegitMuPixelLessStepTrajectoryFilter',
49  )
50 hiRegitMuPixelLessStepTrajectoryFilter.filterPset.minPt = 1.7
51 hiRegitMuPixelLessStepTrajectoryFilter.filterPset.minimumNumberOfHits = 6
52 hiRegitMuPixelLessStepTrajectoryFilter.filterPset.minHitsMinPt = 4
53 
54 hiRegitMuPixelLessStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrajectoryBuilder.clone(
55  ComponentName = 'hiRegitMuPixelLessStepTrajectoryBuilder',
56  trajectoryFilterName = 'hiRegitMuPixelLessStepTrajectoryFilter',
57  clustersToSkip = cms.InputTag('hiRegitMuPixelLessStepClusters'),
58  minNrOfHitsForRebuild = 6 #change from default 4
59 )
60 
61 hiRegitMuPixelLessStepTrackCandidates = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrackCandidates.clone(
62  src = cms.InputTag('hiRegitMuPixelLessStepSeeds'),
63  TrajectoryBuilder = 'hiRegitMuPixelLessStepTrajectoryBuilder',
64  maxNSeeds = cms.uint32(1000000)
65  )
66 
67 # fitting: feed new-names
68 hiRegitMuPixelLessStepTracks = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTracks.clone(
69  src = 'hiRegitMuPixelLessStepTrackCandidates'
70 )
71 
72 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
73 hiRegitMuPixelLessStepSelector = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSelector.clone(
74  src ='hiRegitMuPixelLessStepTracks',
75  vertices = cms.InputTag("hiSelectedVertex"),
76  trackSelectors = cms.VPSet(
77  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
78  name = 'hiRegitMuPixelLessStepLoose',
79  ),
80  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
81  name = 'hiRegitMuPixelLessStepTight',
82  preFilterName = 'hiRegitMuPixelLessStepLoose',
83  ),
84  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
85  name = 'hiRegitMuPixelLessStep',
86  preFilterName = 'hiRegitMuPixelLessStepTight',
87  ),
88  ) #end of vpset
89 )
90 
91 hiRegitMuonPixelLessStep = cms.Sequence(hiRegitMuPixelLessStepClusters*
92  hiRegitMuPixelLessStepSeeds*
93  hiRegitMuPixelLessStepTrackCandidates*
94  hiRegitMuPixelLessStepTracks*
95  hiRegitMuPixelLessStepSelector)
96 
97 
98 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...