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