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