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 )
25 
26 # SEEDING LAYERS
27 hiRegitMuTobTecStepSeedLayers = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeedLayers.clone(
28  ComponentName = cms.string('hiRegitMuTobTecStepSeedLayers'),
29  )
30 hiRegitMuTobTecStepSeedLayers.TOB.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
31 hiRegitMuTobTecStepSeedLayers.TEC.skipClusters = cms.InputTag('hiRegitMuTobTecStepClusters')
32 
33 
34 # seeding
35 hiRegitMuTobTecStepSeeds = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSeeds.clone()
36 hiRegitMuTobTecStepSeeds.RegionFactoryPSet = HiTrackingRegionFactoryFromSTAMuonsBlock.clone()
37 hiRegitMuTobTecStepSeeds.ClusterCheckPSet.doClusterCheck = False # do not check for max number of clusters pixel or strips
38 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.EscapePt = 2.0
39 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaR = 0.2 # default = 0.2
40 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.DeltaZ_Region = 0.2 # this give you the length
41 hiRegitMuTobTecStepSeeds.RegionFactoryPSet.MuonTrackingRegionBuilder.Rescale_Dz = 4. # max(DeltaZ_Region,Rescale_Dz*vtx->zError())
42 hiRegitMuTobTecStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'hiRegitMuTobTecStepSeedLayers'
43 
44 
45 # building: feed the new-named seeds
46 hiRegitMuTobTecStepInOutTrajectoryFilter = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepInOutTrajectoryFilter.clone(
47  ComponentName = 'hiRegitMuTobTecStepInOutTrajectoryFilter',
48  )
49 hiRegitMuTobTecStepInOutTrajectoryFilter.filterPset.minPt = 1.7
50 hiRegitMuTobTecStepInOutTrajectoryFilter.filterPset.minimumNumberOfHits = 6
51 hiRegitMuTobTecStepInOutTrajectoryFilter.filterPset.minHitsMinPt = 4
52 
53 
54 hiRegitMuTobTecStepTrajectoryFilter = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrajectoryFilter.clone(
55  ComponentName = 'hiRegitMuTobTecStepTrajectoryFilter',
56  )
57 hiRegitMuTobTecStepTrajectoryFilter.filterPset.minPt = 1.7
58 hiRegitMuTobTecStepTrajectoryFilter.filterPset.minimumNumberOfHits = 6
59 hiRegitMuTobTecStepTrajectoryFilter.filterPset.minHitsMinPt = 4
60 
61 hiRegitMuTobTecStepTrajectoryBuilder = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrajectoryBuilder.clone(
62  ComponentName = 'hiRegitMuTobTecStepTrajectoryBuilder',
63  trajectoryFilterName = 'hiRegitMuTobTecStepTrajectoryFilter',
64  inOutTrajectoryFilterName = 'hiRegitMuTobTecStepInOutTrajectoryFilter',
65  clustersToSkip = cms.InputTag('hiRegitMuTobTecStepClusters'),
66 )
67 
68 hiRegitMuTobTecStepTrackCandidates = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTrackCandidates.clone(
69  src = cms.InputTag('hiRegitMuTobTecStepSeeds'),
70  TrajectoryBuilder = 'hiRegitMuTobTecStepTrajectoryBuilder',
71  maxNSeeds = cms.uint32(1000000)
72  )
73 
74 # fitting: feed new-names
75 hiRegitMuTobTecStepTracks = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepTracks.clone(
76  src = 'hiRegitMuTobTecStepTrackCandidates'
77 )
78 
79 import RecoHI.HiTracking.hiMultiTrackSelector_cfi
80 hiRegitMuTobTecStepSelector = RecoTracker.IterativeTracking.TobTecStep_cff.tobTecStepSelector.clone(
81  src ='hiRegitMuTobTecStepTracks',
82  vertices = cms.InputTag("hiSelectedVertex"),
83  trackSelectors= cms.VPSet(
84  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
85  name = 'hiRegitMuTobTecStepLoose',
86  ),
87  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
88  name = 'hiRegitMuTobTecStepTight',
89  preFilterName = 'hiRegitMuTobTecStepLoose',
90  ),
91  RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
92  name = 'hiRegitMuTobTecStep',
93  preFilterName = 'hiRegitMuTobTecStepTight',
94  ),
95  ) #end of vpset
96 
97 )
98 
99 hiRegitMuonTobTecStep = cms.Sequence(hiRegitMuTobTecStepClusters*
100  hiRegitMuTobTecStepSeeds*
101  hiRegitMuTobTecStepTrackCandidates*
102  hiRegitMuTobTecStepTracks*
103  hiRegitMuTobTecStepSelector)
104 
105 
106 
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...