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 hiRegitMuPixelLessStepTrajectoryFilter.minPt = 1.7
47 hiRegitMuPixelLessStepTrajectoryFilter.minimumNumberOfHits = 6
48 hiRegitMuPixelLessStepTrajectoryFilter.minHitsMinPt = 4
49 
50 hiRegitMuPixelLessStepTrajectoryBuilder = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrajectoryBuilder.clone(
51  trajectoryFilter = cms.PSet(refToPSet_ = cms.string('hiRegitMuPixelLessStepTrajectoryFilter')),
52  clustersToSkip = cms.InputTag('hiRegitMuPixelLessStepClusters'),
53  minNrOfHitsForRebuild = 6 #change from default 4
54 )
55 
56 hiRegitMuPixelLessStepTrackCandidates = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTrackCandidates.clone(
57  src = cms.InputTag('hiRegitMuPixelLessStepSeeds'),
58  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('hiRegitMuPixelLessStepTrajectoryBuilder')),
59  maxNSeeds = cms.uint32(1000000)
60  )
61 
62 # fitting: feed new-names
63 hiRegitMuPixelLessStepTracks = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepTracks.clone(
64  src = 'hiRegitMuPixelLessStepTrackCandidates'
65 )
66 
67 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
68 hiRegitMuPixelLessStepSelector = RecoTracker.IterativeTracking.PixelLessStep_cff.pixelLessStepSelector.clone(
69  src ='hiRegitMuPixelLessStepTracks',
70  vertices = cms.InputTag("hiSelectedVertex"),
71  trackSelectors = cms.VPSet(
72  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
73  name = 'hiRegitMuPixelLessStepLoose',
74  ),
75  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
76  name = 'hiRegitMuPixelLessStepTight',
77  preFilterName = 'hiRegitMuPixelLessStepLoose',
78  ),
79  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
80  name = 'hiRegitMuPixelLessStep',
81  preFilterName = 'hiRegitMuPixelLessStepTight',
82  ),
83  ) #end of vpset
84 )
85 
86 hiRegitMuonPixelLessStep = cms.Sequence(hiRegitMuPixelLessStepClusters*
87  hiRegitMuPixelLessStepSeedLayers*
88  hiRegitMuPixelLessStepSeeds*
89  hiRegitMuPixelLessStepTrackCandidates*
90  hiRegitMuPixelLessStepTracks*
91  hiRegitMuPixelLessStepSelector)
92 
93 
94 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...