CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRegitMuonTobTecStep_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 ################################### 6th step: very large impact parameter trackng using TOB+TEC ring 5 seeding --pair
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 hiRegitMuTobTecStepClusters = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepClusters.clone(
21  oldClusterRemovalInfo = cms.InputTag("hiRegitMuPixelLessStepClusters"),
22  trajectories = cms.InputTag("hiRegitMuPixelLessStepTracks"),
23  overrideTrkQuals = cms.InputTag('hiRegitMuPixelLessStepSelector','hiRegitMuPixelLessStep'),
24  TrackQuality = cms.string('tight')
25 )
26 
27 # SEEDING LAYERS
28 hiRegitMuTobTecStepSeedLayersPair = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeedLayersPair.clone()
29 hiRegitMuTobTecStepSeedLayersPair.TOB.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
30 hiRegitMuTobTecStepSeedLayersPair.TEC.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
31 
32 hiRegitMuTobTecStepSeedLayersTripl = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeedLayersTripl.clone()
33 hiRegitMuTobTecStepSeedLayersTripl.TOB.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
34 hiRegitMuTobTecStepSeedLayersTripl.MTOB.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
35 hiRegitMuTobTecStepSeedLayersTripl.MTEC.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
36 
37 # seeding
38 hiRegitMuTobTecStepSeeds = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeeds.clone(
39  seedCollections = cms.VInputTag(cms.InputTag("hiRegitMuTobTecStepSeedsTripl"), cms.InputTag("hiRegitMuTobTecStepSeedsPair"))
40  )
41 
42 # For now, keep the same parameters for triplets and pairs
43 hiRegitMuTobTecStepSeedsTripl = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeedsTripl.clone()
44 hiRegitMuTobTecStepSeedsTripl.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
45 hiRegitMuTobTecStepSeedsTripl.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
46 hiRegitMuTobTecStepSeedsTripl.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 2.0
47 hiRegitMuTobTecStepSeedsTripl.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 0.2 # default = 0.2
48 hiRegitMuTobTecStepSeedsTripl.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 0.2 # this give you the length
49 hiRegitMuTobTecStepSeedsTripl.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
50 hiRegitMuTobTecStepSeedsTripl.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuTobTecStepSeedLayersTripl'
51 
52 hiRegitMuTobTecStepSeedsPair = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeedsPair.clone()
53 hiRegitMuTobTecStepSeedsPair.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
54 hiRegitMuTobTecStepSeedsPair.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
55 hiRegitMuTobTecStepSeedsPair.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 2.0
56 hiRegitMuTobTecStepSeedsPair.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 0.2 # default = 0.2
57 hiRegitMuTobTecStepSeedsPair.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 0.2 # this give you the length
58 hiRegitMuTobTecStepSeedsPair.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
59 hiRegitMuTobTecStepSeedsPair.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuTobTecStepSeedLayersPair'
60 
61 # building: feed the new-named seeds
62 hiRegitMuTobTecStepInOutTrajectoryFilter = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepInOutTrajectoryFilter.clone()
63 hiRegitMuTobTecStepInOutTrajectoryFilter.minPt = 1.7
64 hiRegitMuTobTecStepInOutTrajectoryFilter.minimumNumberOfHits = 6
65 hiRegitMuTobTecStepInOutTrajectoryFilter.minHitsMinPt = 4
66 
67 
68 hiRegitMuTobTecStepTrajectoryFilter = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrajectoryFilter.clone()
69 hiRegitMuTobTecStepTrajectoryFilter.minPt = 1.7
70 hiRegitMuTobTecStepTrajectoryFilter.minimumNumberOfHits = 6
71 hiRegitMuTobTecStepTrajectoryFilter.minHitsMinPt = 4
72 
73 hiRegitMuTobTecStepTrajectoryBuilder = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrajectoryBuilder.clone(
74  trajectoryFilter = cms.PSet(
75  refToPSet_ = cms.string('hiRegitMuTobTecStepTrajectoryFilter')
76  ),
77  inOutTrajectoryFilter = cms.PSet(
78  refToPSet_ = cms.string('hiRegitMuTobTecStepInOutTrajectoryFilter')
79  ),
80 )
81 
82 hiRegitMuTobTecStepTrackCandidates = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrackCandidates.clone(
83  src = cms.InputTag('hiRegitMuTobTecStepSeeds'),
84  TrajectoryBuilderPSet = cms.PSet(
85  refToPSet_ = cms.string('hiRegitMuTobTecStepTrajectoryBuilder')
86  ),
87  clustersToSkip = cms.InputTag('hiRegitMuTobTecStepClusters'),
88  maxNSeeds = cms.uint32(1000000)
89  )
90 
91 # fitting: feed new-names
92 hiRegitMuTobTecStepTracks = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTracks.clone(
93  AlgorithmName = cms.string('iter9'),
94  src = 'hiRegitMuTobTecStepTrackCandidates'
95 )
96 
97 # import RecoHI.HiTracking.hiMultiTrackSelector_cfi
98 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
99 hiRegitMuTobTecStepSelector = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSelector.clone(
100  src ='hiRegitMuTobTecStepTracks',
101  vertices = cms.InputTag("hiSelectedVertex"),
102  trackSelectors= cms.VPSet(
103  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
104  name = 'hiRegitMuTobTecStepLoose',
105  qualityBit = cms.string('loose'),
106  ),
107  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
108  name = 'hiRegitMuTobTecStepTight',
109  preFilterName = 'hiRegitMuTobTecStepLoose',
110  qualityBit = cms.string('loose'),
111  ),
112  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
113  name = 'hiRegitMuTobTecStep',
114  preFilterName = 'hiRegitMuTobTecStepTight',
115  qualityBit = cms.string('tight'),
116  ),
117  ) #end of vpset
118 
119 )
120 
121 hiRegitMuonTobTecStep = cms.Sequence(hiRegitMuTobTecStepClusters*
122  hiRegitMuTobTecStepSeedLayersTripl*
123  hiRegitMuTobTecStepSeedsTripl*
124  hiRegitMuTobTecStepSeedLayersPair*
125  hiRegitMuTobTecStepSeedsPair*
126  hiRegitMuTobTecStepSeeds*
127  hiRegitMuTobTecStepTrackCandidates*
128  hiRegitMuTobTecStepTracks*
129  hiRegitMuTobTecStepSelector)
130 
131 
132 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...